Skip to content

chore: sync package-lock.json so npm ci passes - #8

Merged
NathanWalker merged 1 commit into
mainfrom
chore/sync-package-lock
Nov 24, 2026
Merged

NathanWalker merged 1 commit into
mainfrom
chore/sync-package-lock

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

Summary

The first Release Workflow run (log) failed at Install dependencies: npm ci refuses a lockfile that's out of sync with package.json.

npm error `npm ci` can only install packages when your package.json and package-lock.json ... are in sync.
npm error Missing: react-dom@19.3.1 from lock file
npm error Invalid: lock file's react@19.2.4 does not satisfy react@19.3.1
npm error Missing: @solidjs/babel-plugin@2.0.2 from lock file
npm error Missing: @angular-devkit/schematics@19.2.27 from lock file
...

The lockfile was last updated in #4 (Solid 2). Peer dependencies pulled in since then were never recorded. Local installs use npm install, which papers over this, so it only shows up under npm ci.

Regenerated with npm install --package-lock-only. 15 entries added, none removed. The only resolution change is react 19.2.4 → 19.3.1, which the react-dom peer requires.

Verification

In a fresh clone of main with this lockfile, I replayed the workflow steps: npm ci, then nx build tanstack-router, then nx test tanstack-router (88 passed), then nx release publish --dry-run (packs 0.2.2 from dist).

After merging, re-run Release Workflow on main with publish-only (and dry-run first if you like).

npm ci rejected the lockfile: peer dependencies added with the Solid 2
upgrade (@solidjs/babel-plugin, react-dom 19.3.1, @angular-devkit/*
schematics) were never recorded. Regenerated with
npm install --package-lock-only; existing resolutions are unchanged apart
from react 19.2.4 -> 19.3.1, required by the react-dom peer.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. 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: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1548ecc0-44bf-4aa5-87c5-6d2ea404a0fa

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

@NathanWalker
NathanWalker merged commit 5dc212b into main Nov 24, 2026
4 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