-
-
Notifications
You must be signed in to change notification settings - Fork 632
Fix Pro dummy app after pnpm workspace migration #2400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Remove leftover yalc-era pnpm-workspace.yaml from the Pro dummy app that caused pnpm to treat it as an isolated workspace root, preventing webpack binary resolution from the repo root node_modules/.bin/. Remove pinned @pmmmwh/[email protected] from dummy's devDependencies that conflicted with Shakapacker's 0.5.17 at root, causing the react-refresh loader to be applied twice in dev server mode. Fixes #2399 Co-Authored-By: Claude Opus 4.6 <[email protected]>
size-limit report 📦
|
Greptile OverviewGreptile SummaryRemoves leftover yalc-era Key changes:
Note: The non-Pro dummy app ( Confidence Score: 5/5
Important Files Changed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 1 comment
Additional Comments (1)
|
Summary
react_on_rails_pro/spec/dummy/pnpm-workspace.yaml— leftover from the yalc era that made pnpm treat the dummy as an isolated workspace root, preventingpnpm exec webpackfrom finding binaries hoisted to rootnode_modules/.bin/@pmmmwh/[email protected]from dummy's devDependencies — conflicted with Shakapacker's 0.5.17 at root, causing the react-refresh loader to be applied twice in dev server modeFollow-up cleanup from #2338.
Test plan
pnpm installfrom repo root succeedspnpm exec webpack --versionfromreact_on_rails_pro/spec/dummy/resolves correctlyProcfile.devstarts without "Command webpack not found"$ReactRefreshModuleRuntime$ has already been declarederror in dev server modeFixes #2399
🤖 Generated with Claude Code