To release updates to packages in this monorepo, follow this manual process:
-
Create a Changeset: Run the interactive tool to generate a changeset file describing your changes.
pnpm changeset
-
Commit Changeset: Commit the changeset file generated in the previous step.
git add . git commit -m "docs(<package-name>): add changeset for <package-name>"
-
Bump Versions: Update package versions and changelogs based on the changeset.
pnpm version
-
Commit Version Bumps: Commit the updated
package.jsonandCHANGELOG.mdfiles.git add . git commit -m "chore(<package-name>): release <package-name>@<version>"
-
Publish: Build and publish the packages to the registry.
pnpm release
-
Tag Release: Create a signed git tag for the release.
git tag --sign <package-name>@<version> -m "<package-name>@<version>" git push origin --tags