Publishing
Deploying Gravis to the NPM registry via Changesets.
Instructions
- In the Gravis-OS project root, do
yarn buildto ensure that all builds pass. - If you are a first-time publisher, ensure that you have setup
.envfile with yourGITHUB_TOKEN=token_herein the project root. You’ll need to get a new Github Personal Access token. Setup your Github Personal Token with permissions:repoanduser. - Now do
yarn changeset version, notice that the CHANGELOGs throughout the updated packages have been automatically updated. - If you are a first-time publisher, ensure that your shell contains the npm info by doing
npm whoami. The expected result is1xt. If you do not get this result, donpm login. You can find our npm login details from 1Password. - Now do
yarn changeset publishto deploy the changes to the npm registry. - Finally, commit your changes with the template commit message:
build(web, api): published changesetand you’re done.