inspector/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cliff Hall 47f92841bc
fix: v1 dist-tag must be v1-latest — npm rejects v1 (#1829)
#1828 pinned v1 publishes to `--tag v1`, following the runbook (#1804 §1). That
tag name is not legal: npm rejects any dist-tag that parses as a SemVer range,
and `v1` parses as `1.x`.

    npm error Tag name must not be a valid SemVer range: v1

Found while running the companion `npm dist-tag add` step, which failed the
same way. So the merged flag would not have "published to the wrong tag" — the
next v1 security release would have failed to publish at all, and only at
release time.

`v1-latest` is accepted (verified against semver.validRange, along with
`legacy`, which was the other candidate). The workflow comment now records both
failure modes so neither the flag nor the specific tag name gets "cleaned up"
later.


Claude-Session: https://claude.ai/code/session_01Txmv2qqv3yeKgRzoqXytzD

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 21:52:57 -04:00
..
claude.yml ci: collapse author_association OR chains into contains(fromJSON(...)) 2026-05-01 10:49:54 -04:00
cli_tests.yml Bump actions/checkout from 4 to 6 2026-02-09 23:27:21 +00:00
e2e_tests.yml chore(deps): bump actions/upload-artifact from 6 to 7 2026-03-02 22:15:18 +00:00
main.yml fix: v1 dist-tag must be v1-latest — npm rejects v1 (#1829) 2026-07-27 21:52:57 -04:00