build(deps): bump typescript-deps group + fix moduleResolution for TS6#154
build(deps): bump typescript-deps group + fix moduleResolution for TS6#154clemos wants to merge 2 commits into
Conversation
… updates Bumps the typescript-deps group with 5 updates in the /typescript directory: | Package | From | To | | --- | --- | --- | | [dotenv](https://github.com/motdotla/dotenv) | `16.6.1` | `17.4.2` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.19.37` | `25.9.2` | | [prettier](https://github.com/prettier/prettier) | `3.8.1` | `3.8.3` | | [tsx](https://github.com/privatenumber/tsx) | `4.21.0` | `4.22.4` | | [typescript](https://github.com/microsoft/TypeScript) | `5.9.3` | `6.0.3` | Updates `dotenv` from 16.6.1 to 17.4.2 - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v16.6.1...v17.4.2) Updates `@types/node` from 20.19.37 to 25.9.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `prettier` from 3.8.1 to 3.8.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.1...3.8.3) Updates `tsx` from 4.21.0 to 4.22.4 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](privatenumber/tsx@v4.21.0...v4.22.4) Updates `typescript` from 5.9.3 to 6.0.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: dotenv dependency-version: 17.4.2 dependency-type: direct:production update-type: version-update:semver-major dependency-group: typescript-deps - dependency-name: "@types/node" dependency-version: 25.9.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript-deps - dependency-name: prettier dependency-version: 3.8.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript-deps - dependency-name: tsx dependency-version: 4.22.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: typescript-deps - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript-deps ... Signed-off-by: dependabot[bot] <support@github.com>
moduleResolution 'node' (node10) is deprecated in TypeScript 6.0 and errors with TS5107. Switch to 'bundler' which is the correct option for ES2022 module output. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates the TypeScript build toolchain by bumping five dependencies to newer versions—dotenv, ChangesTypeScript Toolchain and Compiler Configuration Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Supersedes Dependabot PR #153.
Includes the same 5 package bumps from PR #153 (typescript ^6.0.3, tsx ^4.22.4, prettier ^3.8.3, dotenv ^17.4.2, @types/node ^25.9.2) plus a required fix for TypeScript 6 compatibility.
Why PR #153 failed CI
TypeScript 6.0 deprecated
moduleResolution: "node"(aliasnode10) with errorTS5107. The fix is to updatetypescript/tsconfig.jsonto use"moduleResolution": "bundler", which is the correct modern option for"module": "ES2022"output.Changes
typescript/package-lock.json— dependency bumps from Dependabot PR build(deps): bump the typescript-deps group across 1 directory with 5 updates #153typescript/tsconfig.json—moduleResolution: "node"→"bundler"Made with Cursor
Summary by CodeRabbit
Chores