Repository navigation
Exempt our own scope from the npm release-age window - #10
Merged
Merged
Conversation
ABilenduke
force-pushed
the
docs/adr-0001-own-scope-release-age
branch
from
October 9, 2026 05:27
96c76d6 to
fdf76fd
Compare
This was referenced Oct 9, 2026
Closed
4 of 10 tasks
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 changed
ADR 0001 (Node.js LTS with a hardened npm) is amended: every repository that installs our packages adds
min-release-age-exclude[]=@reference-systems-lab/*to its.npmrc. The Status line, the Decision and the Consequences record the change and the reason, dated 2026-10-09.min-release-age=7refused the design system's first release, 0.1.0, withnotarget(Reference-Systems-Lab/design-system#2), so each release of ours would be unusable by the other repositories for a week. npm'smin-release-age-excludeexempts named packages. Our packages are built from our own repositories, locked by hash and attested, so the waiting period's protection isn't needed for them.Same change: Reference-Systems-Lab/design-system#7 (consumer instructions). Noted for the first consumer in Reference-Systems-Lab/commerce-storefront#2.
Verification
A scratch consumer with the hardened
.npmrcplus the exclusion installed the four design-system packages at 0.1.0 and passed eslint, prettier, vue-tsc and vite build. Without it, the install failed withnotarget.Risk and rollback
Docs only; to roll back, revert this PR.