Blog Alchemy Shared Library
Versioning
Use following command to bump the version. This will update package.json
and package-lock.json
. It will create a commit and a tag you can push to remote repository.
npm version patch
Publishing
Firstly, make sure you are logged in to NPM CLI.
npm login
Use following command to publish the library. This will automatically build and publish the package to NPM.
npm publish