chore: enforce 14-day package cooldown via tooling#32
Open
wamonroe wants to merge 1 commit into
Open
Conversation
Replaces the proxy-registry approach with tooling-layer enforcement: - Rewrites .npmrc to min-release-age=14 so npm refuses packages newer than 14 days during local installs (requires npm 11+). - Removes NPM_REGISTRY workflow env block from deploy.yml. - Bumps Node to 24 (ships npm 11) so min-release-age is respected in CI. - Switches npm install to npm ci for a true frozen install in CI. - Adds .github/dependabot.yml with cooldown: default-days: 14 on the npm ecosystem so Dependabot never proposes packages younger than 14d. Co-Authored-By: Claude Opus 4.8 <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
Replaces the proxy-registry CI approach with tooling-layer enforcement of the 14-day package age rule. Also hardens the deploy workflow.
Details
.npmrc— replacedregistry=${NPM_REGISTRY}withmin-release-age=14(days) so npm refuses packages newer than 14 days locally.min-release-age; was Node 22 (npm 10, silently ignored the setting).npm install→npm ci— true frozen install in CI; fails ifpackage-lock.jsonis out of sync.NPM_REGISTRYenv block removed fromdeploy.yml..github/dependabot.ymlcreated — npm + github-actions ecosystems, withcooldown: default-days: 14on npm so Dependabot never proposes versions younger than 14 days.