You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mehdi Raza Jaffery edited this page Feb 23, 2021
·
1 revision
Note: To release a new version of the package, you will need an NPM account with "publish" access to the APIMatic NPM organization. You will need to be logged in via this account on your npm CLI on your computer. You can request access to the APIMatic NPM organization by sending your NPM ID to mehdi@apimatic.io.
Follow these steps when you want to release a new version of the package to NPM:
Make sure you have your work merged into the master branch. Ensure that your pull-request has been merged in and the automatic tests have finished running.
Run lerna version in the root directory of the project. This will prompt for the version; select the appropriate bump according to Semantic Versioning rules.
If the lerna version command is not found, run ./node_modules/.bin/lerna version.
Run lerna publish from-git in the root directory of the project. It will prompt for confirmation to publish the package(s). Once it is done, the new versions of the packages can be found on NPM.
If the command is not found, run ./node_modules/.bin/lerna publish from-git.