A lean development tool.
This repository uses Changesets to version and publish packages in the monorepo.
-
Create a changeset locally:
pnpm changeset
Select the package to release, choose the version bump type, and write the release note. To release only one package, select only that package.
-
Commit and push the generated
.changeset/*.mdfile tomain. -
Open the Release workflow in GitHub Actions and click Run workflow. Changesets creates or updates a release pull request containing the version and changelog updates.
-
Merge the release pull request, then run the Release workflow again. Changesets publishes the packages whose versions are newer than the versions currently published to npm and creates the corresponding GitHub Releases.
The workflow requires the repository NPM_TOKEN secret. GITHUB_TOKEN is provided by GitHub Actions automatically.