Repository navigation
fix: keep rechoir on v0.8 for Node.js 20 support - #4875
Conversation
rechoir 1.0 declares `node >= 22.15.0`, while webpack-cli supports `>=20.9.0`, so installs on Node.js 20 with strict engine checks (Yarn 1, `engine-strict`) would fail. Go back to rechoir 0.8 and drop the unreleased v1 changeset, until webpack-cli raises its own Node.js floor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KbymRVCYb4Cyn9e5vCaU8n
One or more co-authors of this pull request were not found. You must specify co-authors in commit message trailer via: Supported
Alternatively, if the co-author should not be included, remove the Please update your commit message(s) by doing |
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Two notes on the checks:
Generated by Claude Code |
|
This PR is packaged and the instant preview is available (66ef3ef). Install it locally:
npm i -D create-webpack-app@https://pkg.pr.new/create-webpack-app@66ef3ef webpack-cli@https://pkg.pr.new/webpack-cli@66ef3ef
yarn add -D create-webpack-app@https://pkg.pr.new/create-webpack-app@66ef3ef webpack-cli@https://pkg.pr.new/webpack-cli@66ef3ef
pnpm add -D create-webpack-app@https://pkg.pr.new/create-webpack-app@66ef3ef webpack-cli@https://pkg.pr.new/webpack-cli@66ef3ef |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe rechoir dependency range changes from Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4875 +/- ##
==========================================
+ Coverage 94.87% 94.96% +0.08%
==========================================
Files 14 14
Lines 5637 5637
Branches 846 848 +2
==========================================
+ Hits 5348 5353 +5
+ Misses 288 283 -5
Partials 1 1
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Summary
This PR reverts the
rechoir1.0 update from #4873, as CodeRabbit flagged in its review.rechoir@1.0.0declaresnode >= 22.15.0, butwebpack-clisupports>=20.9.0. On Node 20, installs fail under strict engine checks (Yarn 1, npmengine-strict).Changes:
packages/webpack-cli/package.json:rechoirgoes from^1.0.0back to^0.8.0, and the lockfile is updated to match..changeset/update-rechoir-v1.mdis deleted. It hasn't been released, so v1 never reaches the changelog.tsxloader comment inwebpack-cli.tsgoes back to describing rechoir 0.8's resolver.ejs7 and every other change from #4873 stay as they are.Test plan
npm run build,npm run lint,prettier --check .test/build/config,test/build/config-formatandtest/build/config-lookup, which cover the rechoir code path:🤖 Generated with Claude Code
https://claude.ai/code/session_01KbymRVCYb4Cyn9e5vCaU8n
Generated by Claude Code
Summary by CodeRabbit