diff --git a/CLAUDE.md b/CLAUDE.md index 4b591b464..73e865e97 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -186,7 +186,7 @@ npm run release:push # pushes HEAD and current version tag (triggers deskt ``` Notes: -- `version:all:*` uses `npm version` with workspace support and runs the root `version` lifecycle script to sync internal `@getpaseo/*` dependency versions before the release commit/tag is created. +- `version:all:*` bumps the root package version and runs the root `version` lifecycle script to sync workspace versions and internal `@getpaseo/*` dependency versions before the release commit/tag is created. - `release:prepare` refreshes workspace `node_modules` links to prevent stale local package types during release checks. - If `release:publish` fails after a successful publish of one workspace, re-run `npm run release:publish`; npm will skip already-published versions and continue where possible. - If a user asks to "release paseo" (without specifying major/minor), treat it as a patch release and run `npm run release:patch`. diff --git a/package.json b/package.json index cfbbde1e9..2f08bf76d 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "version": "npm run version:sync-internal && npm run release:prepare && git add -A", "version:sync-internal": "node scripts/sync-workspace-versions.mjs", "release:prepare": "npm install --workspaces --include-workspace-root", - "version:all:patch": "npm version patch --workspaces --include-workspace-root --message \"chore(release): cut %s\"", - "version:all:minor": "npm version minor --workspaces --include-workspace-root --message \"chore(release): cut %s\"", - "version:all:major": "npm version major --workspaces --include-workspace-root --message \"chore(release): cut %s\"", + "version:all:patch": "npm version patch --include-workspace-root --message \"chore(release): cut %s\"", + "version:all:minor": "npm version minor --include-workspace-root --message \"chore(release): cut %s\"", + "version:all:major": "npm version major --include-workspace-root --message \"chore(release): cut %s\"", "release:check": "npm run release:prepare && npm run typecheck --workspace=@getpaseo/relay && npm run typecheck --workspace=@getpaseo/server && npm run typecheck --workspace=@getpaseo/cli && npm run build --workspace=@getpaseo/relay && npm run build --workspace=@getpaseo/server && npm run build --workspace=@getpaseo/cli && npm pack --dry-run --workspace=@getpaseo/relay && npm pack --dry-run --workspace=@getpaseo/server && npm pack --dry-run --workspace=@getpaseo/cli", "release:publish:dry-run": "npm publish --dry-run --workspace=@getpaseo/relay --access public && npm publish --dry-run --workspace=@getpaseo/server --access public && npm publish --dry-run --workspace=@getpaseo/cli --access public", "release:publish": "npm publish --workspace=@getpaseo/relay --access public && npm publish --workspace=@getpaseo/server --access public && npm publish --workspace=@getpaseo/cli --access public",