Skip to content

fix(peer-range): admit the 0.1.6-alpha.2 tuple in the canonical range - #2

Merged
PerryLink merged 1 commit into
masterfrom
fix/peer-range-alpha2
Sep 19, 2026
Merged

PerryLink merged 1 commit into
masterfrom
fix/peer-range-alpha2

Conversation

@PerryLink

Copy link
Copy Markdown
Owner

The peer-range tripwire (canonical range admits the published dist-tags) has been failing on master, so every PR in this repo is blocked.

Why

semver only admits a prerelease when a comparator in the same [major, minor, patch] tuple carries one, so each new upstream prerelease tuple needs its own clause in data/peer-range.json. 0.1.6-alpha.2 was published without that clause being appended:

alpha   0.1.6-alpha.2    NOT ADMITTED
  fix: append || >=0.1.6-0 <0.2.0

What

  • data/peer-range.json: canonical range gains the third clause; updatedAt bumped.
  • package.json + pnpm-lock.yaml: this package's own three @deepseek-ai/dsh-* peers re-pinned to the same range (they were the last drifters besides three out-of-batch repos).
  • scripts/sync-peer-range.mjs: the doc-comment example shows the current OR form.
  • test/sync-peer-range.test.mjs: the fixture's "higher-floor" peer is raised above the new floor (its intent - a real per-package requirement above every canonical floor is left alone - is unchanged).

Verified locally

  • node scripts/check-peer-range-latest.mjs -> all checked dist-tags are admitted (exit 0; was exit 1).
  • pnpm test 64/64, typecheck, typecheck:ci, verify:self-contained, verify:artifacts, build all exit 0.
  • node scripts/sync-peer-range.mjs --dir <plugins> now reports this repo ok.

@PerryLink
PerryLink merged commit 6be3112 into master Sep 19, 2026
10 checks passed
@PerryLink
PerryLink deleted the fix/peer-range-alpha2 branch September 19, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant