Workspace
tip
First check out workspace
option for how it works
This project allows you publish workspace packages easier but automatized Git tagging, npm publish, GitHub release and/or Generate changelog for each package without headaches
You can check workspace
example from here
Step-by-step guide
info
You should follow and read these pages before read this page
Add release
script
package.json
{
"release": "pnpm -r --workspace-concurrency=1 exec ../../.release-me/release.sh -w --use-version --plugins=npm,npm-post,git,github-release --preset=workspace"
}
Modyify plugins as you wish and for your project needs
Add or set env
Add required Environment variables
to file .env
or set into your environment
Another option could be set your Environment variables
on CI and run on CI for testing purposes. See example
Run release
script
Bash (Terminal)
pnpm run release
# or
env $(cat .env) pnpm run release