chore: add npm install gate via .npmrc (PLA-2135)#2
Open
skonefal wants to merge 2 commits into
Open
Conversation
Add .npmrc with min-release-age=3 (3-day publish-recency cooldown) and ignore-scripts=true (block install lifecycle scripts). Requires npm >= 11.10.0 for min-release-age to take effect. Towards PLA-2135 Co-authored-by: Cursor <cursoragent@cursor.com>
PR SummaryLow Risk Overview
Part of the PLA-2135 npm install gate rollout; no application code changes. Reviewed by Cursor Bugbot for commit d606836. Configure here. |
Generate the lockfile via npm install honoring the repo .npmrc (min-release-age=3, ignore-scripts=true) and stop gitignoring it so dependency versions are pinned for the install gate. Towards PLA-2135 Co-authored-by: Cursor <cursoragent@cursor.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.
What
Add
.npmrcwith:min-release-age=3(3-day publish-recency cooldown)ignore-scripts=true(block arbitrary install lifecycle scripts)Why
Part of the PLA-2135 npm install gate rollout. Adds a native supply-chain cooldown + lifecycle-script blocking for this npm-managed repo.
Notes
min-release-agerequires npm >= 11.10.0 to take effect (otherwise silently inert). Verified locally with npm 11.16.0:npm config get min-release-age→3andnpm config get ignore-scripts→true.