Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 911 Bytes

HOW_TO_PUBLISH.md

File metadata and controls

43 lines (24 loc) · 911 Bytes

How to publish

nvm use

git checkout main

git pull

npm i

npm run test:all

npm run build

npm run test:standalone
  • Create a branch with the name of the new version number, e.g.: git checkout -b 1.1.0

  • 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