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
chore: migrate from yarn 1 to pnpm with supply chain hardening (#182)
* chore: migrate from yarn 1 to pnpm with supply chain hardening
- Pin packageManager to pnpm@10.23.0
- Migrate resolutions -> pnpm.overrides
- Add pnpm-workspace.yaml with minimumReleaseAge (7d) and trustPolicy=no-downgrade
- Record husky in ignoredBuiltDependencies (git-hooks only; safe to block in CI)
- Add explicit tslib devDep (previously phantom via yarn hoisting)
- Update CircleCI: bump to cimg/node:22.14.0, corepack bootstrap, cache pnpm store
- Update publish workflow: pnpm/action-setup + pnpm install/build
- Update CONTRIBUTING (pnpm) and README (npm install for consumers)
- Delete yarn.lock; commit pnpm-lock.yaml (versions preserved via pnpm import)
Published package: intentionally no preinstall guard.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ci: raise Node heap for jest --coverage test step
The Node 22 container exposes a jest-worker OOM on render.test.ts —
that suite instantiates every renderer, and --coverage adds ts-jest
instrumentation on top, blowing past Node's default old-space around
2 GB. Bumping to 4 GB fits the worker; scoped to the CI step so it
does not affect local runs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(readme): list npm, yarn, and pnpm install commands
Avoid constraining consumers to a single package manager. The library
is installable identically under any of them; documenting all three
removes the mental translation step for yarn/pnpm consumers.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore: pin pnpm binary integrity hash in packageManager
Corepack accepts a "<manager>@<version>+<algo>.<hash>" form. Without
the hash, corepack downloads whatever the registry serves for
pnpm@10.23.0; with it, any tarball that does not hash-match is
refused. Zero-cost tightening of the supply-chain surface — same
version, now cryptographically pinned. Frozen install verified.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments