chore(deps): enforce dependency-safety policy via .npmrc - #148
Merged
Conversation
andrew-polk
force-pushed
the
supplyChainHardening
branch
from
July 7, 2026 16:10
4725d67 to
1187919
Compare
Pin all dependencies to exact versions and constrain installs to reduce supply-chain risk. Requires npm >= 11.17.0 (volta + engines bumped from 11.5.1, which predates these config keys). .npmrc policy: - engine-strict + engines.npm so an old npm cannot silently bypass this - save-exact: never write ^/~ ranges - min-release-age=7: only install versions published >7 days ago - strict-allow-scripts: default-deny install scripts (allowScripts field in package.json lists @swc/core, @tailwindcss/oxide, esbuild, fsevents, nx, svelte-preprocess) - allow-git/remote/file=none, allow-directory=root: registry-only installs Pinned 91 caret/tilde ranges across all workspace manifests to their currently-locked versions (resolution unchanged). peerDependencies left as ranges so published packages stay compatible across consumer versions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
andrew-polk
force-pushed
the
supplyChainHardening
branch
from
July 7, 2026 18:04
1187919 to
a8c4c7d
Compare
andrew-polk
marked this pull request as ready for review
July 7, 2026 23:54
hatton
approved these changes
Jul 8, 2026
hatton
left a comment
Member
There was a problem hiding this comment.
@hatton reviewed 11 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on andrew-polk).
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.
Pin all dependencies to exact versions and constrain installs to reduce
supply-chain risk. Requires npm >= 11.17.0 (volta + engines bumped from
11.5.1, which predates these config keys).
.npmrc policy:
in package.json lists @swc/core, @tailwindcss/oxide, esbuild, fsevents,
nx, svelte-preprocess)
Pinned 91 caret/tilde ranges across all workspace manifests to their
currently-locked versions (resolution unchanged). peerDependencies left
as ranges so published packages stay compatible across consumer versions.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
This change is
Devin review