Repository navigation
chore(deps): update typescript to v7 - #3857
renovate[bot] wants to merge 1 commit into
Conversation
✅ Deploy Preview for atlassify canceled.
|
| "c8": "12.0.0", | ||
| "husky": "9.1.7", | ||
| "typescript": "6.0.3" | ||
| "typescript": "7.0.2" |
There was a problem hiding this comment.
🚨 Bug: TS 7 is outside @astrojs/check's peer range; breaks pnpm build
The lockfile shows @astrojs/check@0.9.10 declares peerDependencies: typescript: ^5.0.0 || ^6.0.0 (pnpm-lock.yaml:240-241), but pnpm now resolves it against typescript@7.0.2 (pnpm-lock.yaml:211, 2699-2704). TypeScript 7 is the native Go port: the npm package installs a tsc binary plus the platform-specific @typescript/typescript-* binaries, and it does not ship the JavaScript compiler API that @astrojs/language-server, @volar/typescript and volar-service-typescript load. In docs/package.json, build runs pnpm check && astro build, and check runs astro check. So the docs build will fail when it type-checks, or at best run with an unsupported peer version. Keep typescript on 6.x until @astrojs/check supports 7, or install both versions side by side so Astro tooling still finds the 6.x JS API. Either way, tell Renovate to skip TS 7 for now.
Revert to TypeScript 6 until @astrojs/check / language-server support TS 7, and add a Renovate rule to ignore typescript major 7 for now.:
"typescript": "6.0.3"
- Apply fix
Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎
0699c5c to
e51678e
Compare
4063471 to
8ddb4d8
Compare
8ddb4d8 to
930b48c
Compare
CI failed: The docs CI check failed because `astro check` does not support TypeScript 7.0, which this Renovate PR upgrades to; the failure is directly caused by the change.OverviewOne unique error template was found across 14 analyzed logs for commit 930b48c. The failure is a single, consistent pattern: FailuresAstro check incompatible with TypeScript 7.0 (confidence: high)
Summary
Code Review 🚫 Blocked 0 closed / 1 findings🟡 Medium risk · Upgrading the documentation package from TypeScript 6 to 7 could disrupt documentation builds or type-checking through compiler incompatibilities. Bumps 🚨 Bug: TS 7 is outside
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source
This PR contains the following updates:
6.0.3→7.0.2Release 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
Configuration
📅 Schedule: (UTC)
* 0-3 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.