chore: pin all dependencies to exact versions - #12
Closed
John-David Dalton (jdalton) wants to merge 1 commit into
Closed
chore: pin all dependencies to exact versions#12John-David Dalton (jdalton) wants to merge 1 commit into
John-David Dalton (jdalton) wants to merge 1 commit into
Conversation
- Pin all dependencies and devDependencies to exact versions (removes `^` ranges) - Add .npmrc with a 7 day min-release-age cooldown and disabled post-install scripts - Require node >=24.14.1 for npm v11 min-release-age support Dependabot continues to open PRs to bump versions.
John-David Dalton (jdalton)
force-pushed
the
chore/pin-dependencies
branch
from
July 24, 2026 21:59
2165ea5 to
e4b1b33
Compare
Collaborator
Author
|
Already satisfied on main. #14 pinned every dependency to an exact version as part of fleet onboarding — all 44 entries in |
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.
This action installs a security control, so what ships inside its bundled
dist/should only change when someone decides to change it. With^ranges on every dependency, that was not true: any freshnpm installin this repo could pull a newer transitive tree into the next build, and the difference would land in a release without anyone having chosen it.Pinning every dependency and devDependency to an exact version makes that deliberate. Dependabot still opens PRs to bump versions, so this does not mean going stale — it means every version change arrives as a reviewable commit rather than as a side effect of when the build happened to run.
What else is in here — three supply-chain settings that came along with the pin
.npmrcwithignore-scripts=true.npmrcwithmin-release-age=7engines.nodetightened from>=24to>=24.14.1rollupalso moves from^4.52.2to exactly4.52.3, so the pin captures the version currently resolving rather than freezing an older one. The rest of thepackage-lock.jsonchurn is npm re-recordingpeermarkers after the re-resolve.The test plan — unchecked; two things to confirm before merge
npm installresolves correctly with pinned versionsnpm run buildstill works