Repository navigation
Conversation
- Bump packageManager to pnpm 10.34.7 so the .npmrc settings
minimum-release-age (>=10.16) and block-exotic-subdeps (>=10.26)
actually take effect; 10.10.0 silently ignored them.
- Pin GitHub Actions to commit SHAs, default workflow permissions to {}
and grant per-job least privilege, disable persisted checkout
credentials, add job timeouts and a prod audit gate.
- Upgrade vite to ^6.4.4 and override vulnerable transitive deps;
pnpm audit goes from 34 advisories (19 high) to 0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
.npmrcprotections were inert.minimum-release-agerequires pnpm ≥10.16 andblock-exotic-subdepsrequires ≥10.26, butpackageManagerpinned 10.10.0, which ignores both silently. Bumped topnpm@10.34.7(which itself clears the 7-day release-age window).ci.yml){}.buildgetscontents: readonly;pages: writeandid-token: writeare scoped todeploy. Previously the PR build job held them too.persist-credentials: falseon checkout, job timeouts, and apnpm audit --prod --audit-level highgate.^5.4.12→^6.4.4, pluspnpm.overridesfor brace-expansion, js-yaml, nanoid, postcss, postcss-selector-parser and source-map-js.pnpm audit: 34 advisories (19 high) → 0. Build-script blocks fordocsify/esbuildmade explicit viaignoredBuiltDependencies.Testing
pnpm install --frozen-lockfile,tscandvite buildpass under pnpm 10.34.7.prefer-const). The same 9 appear onmain, so this PR doesn't introduce them.Local installs now need pnpm ≥10.34.7 to match CI.
🤖 Generated with Claude Code