- 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.json
andCHANGELOG.md
files that were changed by the previous command. -
Run
pnpm build
in root -
Run
pnpm build
in./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 publish
If you're running in prerelease mode, make sure you're also pushing the release tags to GitHub with:
git push --follow-tags
-
Run
pnpm build
again -
Commit lockfile