Skip to content

fix: regenerate the stack stubs' package-lock.json - #24

Merged
roble merged 1 commit into
mainfrom
fix/stub-lockfiles
Oct 23, 2026
Merged

roble merged 1 commit into
mainfrom
fix/stub-lockfiles

Conversation

@roble

@roble roble commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Core 2.0.0 bumped stubs/stack/{vue,react}/config/package.json but left their package-lock.json on the old ranges, for example vite ^8.3.1 against ^8.3.5. The installer copies both files into apps (StackCommand::LOCKFILE), so npm ci fails with EUSAGE … not in sync:

Both lockfiles are regenerated the way they were made originally: from the stub package.json alone, with no module workspaces (npm install --package-lock-only --ignore-scripts).

Checks

  • npm ci --dry-run passes for both stacks.
  • The lock root's ranges match package.json exactly.
  • Resolves vite 8.3.5, vue 3.5.44 / react 19.3.1. No modules/* entries.

🤖 Generated with Claude Code

The dependency bump in 2.0.0 updated each stack's package.json but not its
lockfile, so `npm ci` refuses to install in apps created or switched with
the installer, and in the contributor site's CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 2
  • stubs/stack/react/config/package-lock.json is excluded by !**/package-lock.json
  • stubs/stack/vue/config/package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ 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: 62dbed2b-02ca-49a2-a359-a3c46e10f8bc

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

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit a685aaa into main Oct 23, 2026
8 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