build: migrate to pnpm, Node 24, supply-chain hardening & npm trusted publishing#211
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major build/CI modernization:
packageManager: pnpm@11.7.0;yarn.lockremoved,pnpm-lock.yamladded; husky hook now runspnpm exec lint-staged.engines.node: ">=24",.nvmrc= 24, all workflows on Node 24 viaactions/setup-node@v4+pnpm/action-setup@v4(withcache: 'pnpm').lodash, moderate@octokit/*&js-yaml, low@tootallnate/once) resolved via transitiveoverrides:inpnpm-workspace.yaml. No major dev-tool bumps (jest 27, eslint 8, prettier 2, etc. unchanged).pnpm auditis clean.pnpm-workspace.yaml):minimumReleaseAge: 2880— only install dependency releases older than 2 days.allowBuilds: {}— dependency build/postinstall scripts blocked by default (pnpm 11), whitelist as needed.deploy.yml) —permissions: id-token: write(+contents: write);NPM_TOKEN/NODE_AUTH_TOKENremoved;pnpm publish(via the retainedautorelease flow) uses OIDC and publishes provenance. Also fixed the leftover$CIRCLE_BRANCHpush target →$GITHUB_REF_NAME.Verified locally on pnpm 11.7.0 / Node 24: clean
--frozen-lockfileinstall,pnpm run build, 125/125 tests,pnpm run lint, andpnpm auditall pass.Test Plan
main,deploy.ymlpublishes to npm via OIDC — requires the npmjs trusted publisher to point at this repo +.github/workflows/deploy.yml(workflow namedeploy).🤖 Generated with Claude Code