Skip to content

fix(release): stay on npm 11 for the v1 release - #1159

Merged
davedbase merged 1 commit into
v1from
fix/v1-npm-11
Dec 1, 2026
Merged

davedbase merged 1 commit into
v1from
fix/v1-npm-11

Conversation

@davedbase

Copy link
Copy Markdown
Member

Summary

Follow-up to #1158. After the trusted-publishing workflow merged, the v1 Release run got further but every publish failed with:

npm error code EUNKNOWNCONFIG
npm error Unknown cli flag:
npm error   - --git-checks

Cause

The workflow runs npm install -g npm@latest, and latest is now npm 12 (12.2.3). v1 pins pnpm@10.12.1, which forwards its own --git-checks flag to npm publish. npm 11 only warns about unknown flags ("this will stop working in the next major version"), and npm 12 makes it an error. main uses pnpm@11.9.0, which doesn't forward it, so main's release is unaffected.

Reproduced locally with npm publish --dry-run --git-checks --tag solid-1: npm@12.2.3 fails with the exact CI error, npm@11.21.3 warns and succeeds.

Change

npm install -g npm@latest → npm install -g npm@11 in .github/workflows/release-tagged.yml. npm 11 still supports trusted publishing (needs >= 11.5.1).

After merging

Merging pushes to v1, which starts another publish attempt for the waiting versions (list in #1157), still under the solid-1 tag. Packages that are not registered for trusted publishing will 404, as discussed.

Verification

Dry-run reproduction only. I can't test OIDC publishing without a real release run.

🤖 Generated with Claude Code

npm@latest is now 12, which turns an unknown flag into an error. pnpm 10 (pinned on this branch)
forwards --git-checks to npm publish, so every publish failed with EUNKNOWNCONFIG. npm 11 still
supports trusted publishing (>= 11.5.1) and only warns. Reproduced with npm 12.2.3 (error) and
11.21.3 (warning).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d304192

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 932c7716-28f8-4235-a038-83911da91bf3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@davedbase
davedbase merged commit 48404f9 into v1 Dec 1, 2026
6 of 7 checks passed
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