pnpm install
pnpm test
pnpm bootstrap
pnpm build
To perform a dry run of the publishing process without actually publishing the packages, use the following command:
pnpm publish -r --dry-run
To publish a beta release of the packages with a "beta" tag, use the following command:
pnpm publish -r --tag beta
To publish a production release of the packages with a "latest" tag, use the following command:
pnpm publish -r
If you accidentally published a beta package with the "latest" tag, don't panic! You can fix this by following the instructions in the npm documentation.
For example, to change the "latest" tag back to a stable version and move the beta version to the "beta" tag, you can run the following commands:
npm dist-tag add <package-name>@<stable-version> latest
npm dist-tag add <package-name>@<beta-version> beta
Replace package-name
, stable-version
, and beta-version
with the appropriate values for your packages.