You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: switch from yarn to pnpm with a 9-day package-age gate
Migrate the package manager from yarn@1 to pnpm@10, and enable pnpm's
minimumReleaseAge so newly published dependency versions are not
installed until they are at least 9 days (12960 minutes) old. This adds
a buffer between a version being published and us pulling it in, giving
the ecosystem more time to flag a bad release before it reaches the SDK.
pnpm 10 is used rather than 11 because pnpm 11 requires Node.js 22+,
while CI still tests against Node 20; minimumReleaseAge has been
available since pnpm 10.16.
- pnpm-workspace.yaml: minimumReleaseAge 12960; @swc/core build skipped
- replace yarn.lock with a policy-compliant pnpm-lock.yaml
- pin pnpm via the packageManager field (corepack)
- scripts/bootstrap, bin/publish-npm: use pnpm
- CI: add pnpm/action-setup before setup-node, cache: pnpm
- CONTRIBUTING.md, Brewfile, .gitignore: pnpm
0 commit comments