Repository navigation
chore(deps): update dependency typescript to v7 - #771
renovate[bot] wants to merge 1 commit into
Conversation
8b916dd to
a1683dd
Compare
a1683dd to
9eea8e8
Compare
| tsconfig-paths: ^4.2.0 | ||
| tsx: ^4.20.6 | ||
| typescript: ^5.9.3 | ||
| typescript: ^7.0.0 |
There was a problem hiding this comment.
[blocking · correctness] Keep the legacy compiler available for ts-node
TypeScript 7 is not a drop-in replacement for the JavaScript compiler API used by the retained tooling. At the 7.0.2 release tag, the published package's root export is lib/version.cjs, which exposes only version and versionMajorMinor; the packaging code preserves that export. In contrast, ts-node 10.9.2 loads typescript and immediately reads ts.sys.fileExists and ts.sys.readFile when loading configuration. Consequently, the orchestration API's start and sync:openapi scripts now fail during ts-node initialization rather than executing their entry points. Keep the shared catalog on the legacy compiler until its API consumers are migrated, or introduce the native compiler separately.
Suggested fix
Restore the shared TypeScript catalog to ^5.9.3 and regenerate the lockfile. If adopting the native CLI now, isolate it from dependencies that still require the legacy TypeScript compiler API.
| typescript: ^7.0.0 | |
| typescript: ^5.9.3 |
Prompt for a coding agent
In pnpm-workspace.yaml at line 129, restore catalog.typescript to ^5.9.3 and regenerate pnpm-lock.yaml so compiler-API consumers resolve TypeScript 5 again. The TypeScript 7 package exports only version information at its root, whereas the retained ts-node 10.9.2 requires ts.sys and the legacy compiler API. Defer the shared-catalog upgrade until those consumers have been migrated, or isolate the native compiler in a separate opt-in dependency without replacing their TypeScript dependency.
This PR contains the following updates:
^5.9.3→^7.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
microsoft/TypeScript (typescript)
v7.0.2: TypeScript 7.0.2Compare Source
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
This tag was originally released at: https://github.com/microsoft/typescript-go/releases/tag/typescript%2Fv7.0.2
v6.0.3: TypeScript 6.0.3Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
v6.0.2: TypeScript 6.0Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
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.