0.0.5 • Published 3 years ago
voxelcloud-utils v0.0.5
voxelcloud-utils
collection of multiple utility function like lodash
, also includes HTTP request library voxios
based on axios
.
docs website click here
Features
util
- cloneDeep
- isEmpty
- isPlainObject
- throttle
- debounce
- groupBy
- uuid
data
- Enum
- storage
- Session
browser
- copyToClipboard
request
- Voxios
Usage
- Install
yarn add voxelcloud-utils
- Usage
import { cloneDeep } from 'voxelcloud-utils';
console.log(cloneDeep({ name: 'voxelcloud' }));
Development
- Dev
yarn install
npm run dev
- Code Commit
npm run commit
Release
- 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