Skip to content

Align Node typings with Node 22 runtime#61

Merged
luanvdw merged 1 commit into
mainfrom
feat/node-22-types
Jun 2, 2026
Merged

Align Node typings with Node 22 runtime#61
luanvdw merged 1 commit into
mainfrom
feat/node-22-types

Conversation

@luanvdw
Copy link
Copy Markdown
Member

@luanvdw luanvdw commented Jun 2, 2026

Summary

update @types/node to ^22.19.19 and regenerate pnpm-lock.yaml now that @prisma/cli requires Node >=22.12.0.

Verification

  • pnpm --filter @prisma/cli test
  • pnpm --filter @prisma/cli build.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

Walkthrough

This PR updates the @types/node development dependency in the CLI package from version ^20.19.41 to ^22.19.19, upgrading to a newer major version of Node.js type definitions.

Changes

TypeScript Node Types Update

Layer / File(s) Summary
Node types version bump
packages/cli/package.json
The @types/node dev dependency is upgraded from ^20.19.41 to ^22.19.19.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating Node type definitions to align with Node 22 runtime requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly explains the changes: updating @types/node to ^22.19.19 and regenerating pnpm-lock.yaml due to Node >=22.12.0 requirements, with verification steps provided.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/node-22-types
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feat/node-22-types

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 and usage tips.

@luanvdw luanvdw merged commit 41efa77 into main Jun 2, 2026
5 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