1. 创建测试分支
2. 先提交代码,保证没有未提交的代码
3. npm version 1.1.87-test.1
# 1.1.87-test.1 为版本号,test 后面保证版本号是递增的
4. npm publish --tag zzhk_test_20230909 # 创建npm 的 tag
# 不能直接 npm publish 因为会覆盖 latest, 这样的话,其他人安装的时候,会安装到最新的版本是你的是的版本
5. 给测试的升级代码 `npm install @zscreate/form-component@zzhk_test_20230909 --registry=http://registry.npmjs.org --only=production`
6. 结束测试记得同步到正式的版本
npm version patch # 会自动升级版本号 1.1.87-test.1 => 1.1.87
test_24_1_10_sjj
@zscreate/form-component
1.1.316 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @zscreate/form-component
Weekly Downloads
382
Version
1.1.316
License
ISC
Unpacked Size
6.38 MB
Total Files
6