-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Pin @types/react and @types/react-dom to 18.x #4461
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,6 +94,8 @@ | |
| "overrides": { | ||
| "typescript": "5.5.4", | ||
| "@types/node": "22.20.0", | ||
| "@types/react": "18.2.69", | ||
| "@types/react-dom": "18.2.7", | ||
|
Comment on lines
+97
to
+98
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Unconditional override contradicts trigger-sdk's declared @types/react ^19 dev dependency The new overrides are unscoped (unlike the neighbouring Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| "react@^18": "18.3.1", | ||
| "react-dom@^18": "18.3.1", | ||
| "ai@^6": "6.0.116", | ||
|
|
||
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.
🔴 Dependency lock file wasn't refreshed, so installs and every CI job fail
New pinned type-package versions were added to the dependency overrides (
@types/react/@types/react-domatpackage.json:97-98) without regenerating the lock file, so strict installs abort because the recorded overrides no longer match.Impact: Every CI workflow and any fresh install fails immediately at the install step until the lock file is regenerated.
Lock file overrides block is out of sync with package.json
pnpm-lock.yaml:7-49lists theoverridesmap and does not contain@types/reactor@types/react-dom. pnpm validates this block against the rootpackage.jsonwhen running with--frozen-lockfile, which every workflow uses (e.g..github/workflows/typecheck.yml:32,.github/workflows/code-quality.yml:32,.github/workflows/unit-tests-webapp.yml:106). The fix is to runpnpm iat the repo root and commit the resultingpnpm-lock.yaml, as described in AGENTS.md's dependency-installation guidance.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.