collection of multiple utility function like lodash
, also includes HTTP request library voxios
based on axios
.
docs website click here
- [x] cloneDeep
- [x] isEmpty
- [x] isPlainObject
- [x] throttle
- [x] debounce
- [x] groupBy
- [x] uuid
- [x] Enum
- [x] storage
- [x] Session
- [x] copyToClipboard
- [x] Voxios
- Install
yarn add voxelcloud-utils
- Usage
import { cloneDeep } from 'voxelcloud-utils';
console.log(cloneDeep({ name: 'voxelcloud' }));
- Dev
yarn install
npm run dev
- Code Commit
npm run commit
- Create Standard Version
# 注意以下命令需选择:
npm run release # 默认补丁版本 增加0.0.1
npm run release -- --first-release # 首次发布
npm run release -- --prerelease # 预发布 This will tag your version as: 1.0.1-0
npm run release -- --prerelease alpha # This will tag the version as: 1.0.1-alpha.0
npm run release -- --release-as major # 主版本变更
npm run release -- --release-as minor # 次级版本变更
npm run release -- --release-as patch # 补丁版本变更
npm run release -- --release-as 1.1.0 # 变更指定版本
- Build
npm run build
- Npm Publish
git push --follow-tags origin [branchName] # branchName 分支名
npm publish