chore(deps): update typescript to v7#94
Conversation
📝 WalkthroughWalkthroughThe ChangesDependency Update
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@typescript/package.json`:
- Line 37: The TypeScript version bump in the package manifest is incompatible
with the current TypeDoc peer dependency, so update the dependency set
consistently. In the package.json entry that pins TypeScript, either downgrade
the TypeScript package back to a 6.x range or upgrade the TypeDoc devDependency
to a release that supports TypeScript 7.0, and ensure the docs workflow that
runs typedoc still installs cleanly without peer dependency conflicts.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: ee3f3344-ee42-4eee-8456-b4c759387a97
📒 Files selected for processing (1)
typescript/package.json
| "@types/node": "^24.0.0", | ||
| "typedoc": "^0.28.0", | ||
| "typescript": "^6.0.0", | ||
| "typescript": "^7.0.0", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Inspect the full typescript/package.json for scripts that might invoke tsc or the TS Program API directly
fd package.json typescript --exec cat {}
# Check for any programmatic use of the TypeScript compiler API in this package
rg -n "require\(.typescript.\)|from ['\"]typescript['\"]|ts\.createProgram|ts\.transpile" typescriptRepository: meshtastic/TAKPacket-SDK
Length of output: 50381
TypeScript 7.0 incompatible with currently pinned TypeDoc version.
TypeDoc 0.28.0 (your current devDependency) declares peer dependencies that explicitly cap TypeScript at 6.0.x: "typescript": "5.0.x || ... || 6.0.x". Installing typescript@^7.0.0 will violate this peer dependency constraint, likely causing npm install warnings or errors.
Before merging this bump, either:
- Upgrade TypeDoc to a version that supports TypeScript 7.0, or
- Downgrade TypeScript back to
^6.0.0.
The docs script (which invokes typedoc) will be the first failure point.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@typescript/package.json` at line 37, The TypeScript version bump in the
package manifest is incompatible with the current TypeDoc peer dependency, so
update the dependency set consistently. In the package.json entry that pins
TypeScript, either downgrade the TypeScript package back to a 6.x range or
upgrade the TypeDoc devDependency to a release that supports TypeScript 7.0, and
ensure the docs workflow that runs typedoc still installs cleanly without peer
dependency conflicts.
46eff75 to
54c1e49
Compare
This PR contains the following updates:
^6.0.0→^7.0.0Release Notes
microsoft/TypeScript (typescript)
v7.0.2Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.