Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"@types/node": "^24.0.0",
"typedoc": "^0.28.0",
"typescript": "^6.0.0",
"typescript": "^7.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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" typescript

Repository: 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.

"vitest": "^4.0.0"
}
}
Loading