Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 945 Bytes

File metadata and controls

47 lines (26 loc) · 945 Bytes

How to publish

nvm use

git checkout main

git pull

npm i

npm run lint

npm run test:all

npm run build

npm run build:test

npm run test:standalone
  • Create a branch with the name of the new version number, e.g.: git checkout -b 2.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