feat(scripts): add pnpm release for local end-to-end publish
Wraps the changesets flow into one command: preflight (branch/clean/up-to-date), apply changesets (version bump + CHANGELOG), build, commit, publish to npm, push tag. The tag push triggers release.yml for platform binary builds. Trade-off vs the version.yml CI workflow: no npm provenance (OIDC is CI-only). Use the CI workflow when provenance matters. Flags: --dry-run (no publish/push), --yes (skip confirmation). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"typecheck": "pnpm -r typecheck",
|
||||
"changeset": "changeset",
|
||||
"version": "changeset version",
|
||||
"release": "node scripts/release.mjs",
|
||||
"release:version": "changeset version",
|
||||
"mobile:build": "pnpm --filter @fusion/dashboard build && pnpm --filter @fusion/mobile cap sync",
|
||||
"mobile:ios": "pnpm mobile:build && pnpm --filter @fusion/mobile cap open ios",
|
||||
|
||||
Reference in New Issue
Block a user