Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 885 Bytes

HOW_TO_PUBLISH.md

File metadata and controls

39 lines (22 loc) · 885 Bytes

How to publish

nvm use

git checkout main

git pull

npm i

npm run test:all
  • Create a branch with the name of the new version number, e.g.: git checkout -b 1.0.0-beta.4

  • Bump the version in the package.json file

  • npm i

git add .

git commit -m 'bump version'

git push
  • Once the PR is merged, then git checkout main and git pull

  • Uncomment the first line of the .npmrc file and comment the second line

  • Then publish the package using the following command: NPM_TOKEN=${NPM_TOKEN} npm publish

N.B.: you need to replace ${NPM_TOKEN} with a valid npm token