Repository navigation
fix(release): publish the v1 line with a valid npm dist-tag - #1157
Conversation
npm now rejects 'v1' as a tag name ('Tag name must not be a valid SemVer range: v1'), so every
release from this branch failed and nothing from v1 has been published since. Use 'solid-1'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Summary
The
Releaseworkflow onv1fails for every package withnpm error Tag name must not be a valid SemVer range: v1. The release script publishes with--tag v1, and npm rejectsv1as a tag name because it parses as a semver range (reproduced locally:npm publish --dry-run --tag v1fails,--tag solid-1is accepted). Nothing fromv1has been published since this started, which is why 53 versions have been waiting.Found while releasing timer
1.5.1for #1151 (#1155 merged but could not publish).Change
package.json:changeset publish --tag v1→changeset publish --tag solid-1. Nothing else references the old tag.What merging does
The
Releaseworkflow runs on every push tov1. With no pending changesets it publishes every version that is not on npm yet, so merging this will publish 53 packages at once, all under thesolid-1dist-tag (solatestis not touched):active-element@2.1.8, audio@1.4.7, autofocus@0.1.7, bounds@0.1.9, clipboard@1.6.8, connectivity@0.4.8, controlled-props@0.1.6, cursor@0.1.6, date@2.1.13, deep@0.3.10, destructure@0.2.6, event-bus@1.1.6, event-listener@2.4.8, fullscreen@1.3.7, geolocation@1.5.7, graphql@2.2.8, history@0.2.7, immutable@1.1.7, input-mask@0.3.2, intersection-observer@2.2.7, jsx-tokenizer@1.1.6, keyboard@1.3.9, map@0.7.6, masonry@0.1.6, media@2.3.8, memo@1.5.4, mouse@2.1.9, mutation-observer@1.2.6, page-visibility@2.1.8, pagination@0.5.5, pointer@0.3.8, presence@0.1.6, promise@1.1.6, props@3.2.6, raf@2.4.2, range@0.2.7, refs@1.1.6, resize-observer@2.2.2, rootless@1.5.6, scheduled@1.5.4, scroll@2.1.8, set@0.7.6, signal-builders@0.2.6, sse@0.0.105, static-store@0.1.6, storage@4.4.3, stream@0.7.6, styles@0.1.6, timer@1.5.1, trigger@1.2.6, upload@0.2.0, utils@6.4.3, virtual@0.2.7I checked each one against the registry: for 52 of them there is no Solid 2 release in the same major, so publishing a Solid 1 patch there cannot change what a Solid 2 project resolves. The exception is
timer@1.5.1, which is the intended fix for #1151 (1.4.5and1.5.0are Solid 2 builds published in the 1.x line).Worth a look before merging: these are the versions the earlier "Version Packages" PRs on
v1produced and were meant to release, so their changelogs are already reviewed, but several packages (for exampleupload@0.2.0,stream,page-visibility,autofocus,immutable) are far enough behind that you may want to confirm you still want them out.After merging
npm view @solid-primitives/timer@1.5.1 peerDependenciesshould show onlysolid-js ^1.6.12.🤖 Generated with Claude Code