简体   繁体   中英

npm how do I patch/bump my node package up to version 1.0.0

I have some node packages and I keep patching each version and then publishing

npm version patch

=> 0.0.1

npm publish

**now do some **

npm version patch

=> 0.0.2

npm publish

Assume I now want to jump up to version 1.0.0, how do I do this?

From version 's docs :

npm version major

Or you could always just edit package.json.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM