Skip to content

Commit 0bcee90

Browse files
yamatatsuclaude
andcommitted
chore: update TypeScript 5→6, migrate moduleResolution to bundler
TypeScript 6 deprecates moduleResolution "node" (node10). Updated tsconfig.json to use "bundler" which is appropriate for projects using unbuild. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b5c7a13 commit 0bcee90

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"concurrently": "^9.2.1",
5454
"husky": "^9.0.11",
5555
"prettier": "^3.2.5",
56-
"typescript": "^5.4.3",
56+
"typescript": "^6.0.2",
5757
"unbuild": "^3.6.1",
5858
"vite": "^8.0.3",
5959
"vitest": "^4.1.2"

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/* Modules */
2929
"module": "esnext" /* Specify what module code is generated. */,
3030
// "rootDir": "./", /* Specify the root folder within your source files. */
31-
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
31+
"moduleResolution": "bundler" /* Specify how TypeScript looks up a file from a given module specifier. */,
3232
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3333
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3434
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */

0 commit comments

Comments
 (0)