Skip to content

Commit c66a436

Browse files
committed
chore: upgrade TypeScript to v6 and Node types to v25
- bump typescript from ^5.9.3 to ^6.0.2 - bump @types/node from ^22.19.17 to ^25.6.0 - regenerate lockfile - update dependency upgrade plan progress Validation: - npm run lint - npm run check - npm run build
1 parent 023ecfa commit c66a436

3 files changed

Lines changed: 27 additions & 23 deletions

File tree

docs/dependency-upgrade-plan.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ remaining major-version bump in a dedicated branch and PR.
66

77
## Status Overview
88

9-
| Package | Current | Target | Status | Branch |
10-
| ---------------------------------------- | ------- | ------------ | -------------- | ----------------------------------- |
11-
| Patch / minor updates (all except below) | various | latest minor | ✅ Done | `chore/update-dependencies-2026-04` |
12-
| `vite` | 8.x | 8.x | ✅ Done | `chore/upgrade-vite-8` |
13-
| `@sveltejs/vite-plugin-svelte` | 7.x | 7.x | ✅ Done | `chore/upgrade-vite-8` |
14-
| `svelte-sitemap` | 3.x | 3.x | ✅ Done | `chore/upgrade-svelte-sitemap-3` |
15-
| `typescript` | 5.x | 6.x | ⬜ Not started | |
16-
| `@types/node` | 22.x | 25.x | ⬜ Not started | |
9+
| Package | Current | Target | Status | Branch |
10+
| ---------------------------------------- | ------- | ------------ | ------- | ----------------------------------- |
11+
| Patch / minor updates (all except below) | various | latest minor | ✅ Done | `chore/update-dependencies-2026-04` |
12+
| `vite` | 8.x | 8.x | ✅ Done | `chore/upgrade-vite-8` |
13+
| `@sveltejs/vite-plugin-svelte` | 7.x | 7.x | ✅ Done | `chore/upgrade-vite-8` |
14+
| `svelte-sitemap` | 3.x | 3.x | ✅ Done | `chore/upgrade-svelte-sitemap-3` |
15+
| `typescript` | 6.x | 6.x | ✅ Done | `chore/upgrade-typescript-6` |
16+
| `@types/node` | 25.x | 25.x | ✅ Done | `chore/upgrade-typescript-6` |
1717

1818
---
1919

@@ -85,10 +85,14 @@ This was a smaller, isolated change.
8585

8686
---
8787

88-
## Phase 3 — TypeScript 5 → 6
88+
## Phase 3 — TypeScript 5 → 6
8989

9090
TypeScript 6 is a significant release with stricter type checking.
9191

92+
**Branch:** `chore/upgrade-typescript-6`
93+
94+
**Result:** completed successfully. `npm run lint`, `npm run check`, and `npm run build` pass with no additional code changes required.
95+
9296
**Steps:**
9397

9498
1. Create branch `chore/upgrade-typescript-6`

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@sveltejs/kit": "^2.57.1",
2626
"@sveltejs/vite-plugin-svelte": "^7.0.0",
2727
"@types/dateformat": "^5.0.3",
28-
"@types/node": "^22.19.17",
28+
"@types/node": "^25.6.0",
2929
"@types/prismjs": "^1.26.6",
3030
"@typescript-eslint/eslint-plugin": "^8.58.2",
3131
"@typescript-eslint/parser": "^8.58.2",
@@ -48,7 +48,7 @@
4848
"svelte-sitemap": "^3.1.0",
4949
"tailwindcss": "^4.2.2",
5050
"tsx": "^4.21.0",
51-
"typescript": "^5.9.3",
51+
"typescript": "^6.0.2",
5252
"typescript-eslint": "^8.58.2",
5353
"vite": "^8.0.8",
5454
"vite-plugin-imagemin": "^0.6.1"

0 commit comments

Comments
 (0)