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
206269e to
42cf151
Compare
|
PR workflows are currently failing because @astrojs/check isn’t compatible with TypeScript 7.1. Its replacement, @astrojs/ts-content-mapper, is still in beta, so we’re waiting on a stable release. |
f1b3f2c to
4812f3c
Compare
4812f3c to
49afaa3
Compare
CI failed: Two docs CI jobs fail because `astro check` does not support TypeScript 7.0, which this PR upgrades from 6.0.3 to 7.0.2 in docs/package.json; the chained build in the second job stops before `astro build` runs.OverviewTwo unique error templates were found across 34 logs (commit 49afaa3). Both point to the same root cause: Astro's Failuresastro check does not support TypeScript 7.0 (confidence: high)
Summary
Code Review 🚫 Blocked 0 closed / 1 findings🟡 Medium risk · Upgrading the docs TypeScript compiler from 6 to 7 could change type-checking or documentation build behavior. 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.