- https://github.com/changesets/changesets/blob/main/docs/intro-to-using-changesets.md
- https://github.com/changesets/changesets/blob/main/docs/prereleases.md
- Run the following command to select the package to be released:
pnpm changeset- Consume the changeset by running:
pnpm changeset version-
Verify all the
package.jsonandCHANGELOG.mdfiles that were changed by the previous command. -
Run
pnpm buildin root -
Run
pnpm buildin./release/ -
Commit changes
-
Publish the packages by running:
# You might have to run this command twice if it fails to publish the `@synthetixio/synpress` package on the first run.
pnpm changeset publishIf you're running in prerelease mode, make sure you're also pushing the release tags to GitHub with:
git push --follow-tags-
Run
pnpm iagain -
Commit lockfile