@twang43/npm-versioning
v3.0.1
Published
NPM Package Publish Test
Downloads
3
Readme
npm-versioning
Steps
- Add
preid
tonpm version
commandnpm version [premajor | preminor | prepatch | prerelease] --preid=pre
- Publish the prerelease package
npm publish --tag pre
Github
- Push the code to GitHub with tags
git push --follow-tags
Reference
- (Best practice for creating modern npm package)[https://snyk.io/blog/best-practices-create-modern-npm-package/]
- (Stackoverflow: How to publish a package on npm)[https://stackoverflow.com/questions/50846170/how-to-generate-npm-release-candidate-version]
- (npm version)[https://docs.npmjs.com/cli/version]
- (npm publish)[https://docs.npmjs.com/cli/publish]
- (GitHub - Working with the npm registry )[https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry]