feat(npm)!: Update dependency typescript (6.0.3 → 7.0.2) - #335
feat(npm)!: Update dependency typescript (6.0.3 → 7.0.2)#335sticky-gecko[bot] wants to merge 1 commit into
Conversation
878dd4f to
c0ebc14
Compare
|
Not adoptable yet — the Svelte toolchain has no TypeScript 7 support. Why CI is red: $ node -e 'const ts=require("typescript"); console.log(Object.keys(ts), "sys?", !!ts.sys)'
[ 'version', 'versionMajorMinor' ] sys? falseWhy there's no version combo that fixes it: Revisit condition: sveltejs/language-tools shipping a svelte-check built on the TS7 native API ( |
a4fa79e to
751f399
Compare
Greptile SummaryThis PR upgrades the frontend TypeScript dependency and lockfile. The main changes are:
|
| Filename | Overview |
|---|---|
| internal/web/package.json | Updates the TypeScript devDependency to 7.0.2, which conflicts with the existing svelte-check typecheck workflow. |
| internal/web/package-lock.json | Refreshes the lockfile for TypeScript 7.0.2 and its platform-specific optional packages. |
Reviews (5): Last reviewed commit: "feat(npm)!: Update dependency typescript..." | Re-trigger Greptile
d9f570e to
3358ebf
Compare
3358ebf to
2ad33da
Compare
| "svelte-check": "^4.7.3", | ||
| "tailwindcss": "^4.3.3", | ||
| "typescript": "^6.0.3", | ||
| "typescript": "^7.0.2", |
There was a problem hiding this comment.
Breaks Svelte typecheck
npm run typecheck still runs svelte-check, but svelte-check@4.7.3 embeds TypeScript's programmatic APIs and is not compatible with the TypeScript 7 package layout. The updated lockfile also shows typescript@7.0.2 only exposes the tsc bin, so the existing typecheck script will fail instead of validating the Svelte app.
Artifacts
Repro: npm run typecheck failure with TypeScript 7.0.2 and svelte-check 4.7.3
- The full command output behind this check.
2ad33da to
2af83d7
Compare
|
5329438 to
8380d6e
Compare
8380d6e to
b2109fe
Compare
This PR contains the following updates:
^6.0.3→^7.0.2Release 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 has been generated by Mend Renovate CLI.