diff --git a/package.json b/package.json index 6e4c97d..de37bdc 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "rslog": "^2.1.1", "simple-git-hooks": "^2.13.1", "tinyglobby": "^0.2.16", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "packageManager": "pnpm@10.33.0", "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5cdfb1c..79a0456 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.9.4 '@rslib/core': specifier: ^0.21.2 - version: 0.21.2(core-js@3.47.0)(typescript@5.9.3) + version: 0.21.2(core-js@3.47.0)(typescript@6.0.3) '@rstest/core': specifier: ^0.9.8 version: 0.9.8(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(core-js@3.47.0) @@ -39,8 +39,8 @@ importers: specifier: ^0.2.16 version: 0.2.16 typescript: - specifier: ^5.9.3 - version: 5.9.3 + specifier: ^6.0.3 + version: 6.0.3 playground: {} @@ -448,8 +448,8 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} hasBin: true @@ -582,12 +582,12 @@ snapshots: transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rslib/core@0.21.2(core-js@3.47.0)(typescript@5.9.3)': + '@rslib/core@0.21.2(core-js@3.47.0)(typescript@6.0.3)': dependencies: '@rsbuild/core': 2.0.0-rc.3(core-js@3.47.0) - rsbuild-plugin-dts: 0.21.2(@rsbuild/core@2.0.0-rc.3(core-js@3.47.0))(typescript@5.9.3) + rsbuild-plugin-dts: 0.21.2(@rsbuild/core@2.0.0-rc.3(core-js@3.47.0))(typescript@6.0.3) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.3 transitivePeerDependencies: - '@module-federation/runtime-tools' - '@typescript/native-preview' @@ -754,12 +754,12 @@ snapshots: picomatch@4.0.4: {} - rsbuild-plugin-dts@0.21.2(@rsbuild/core@2.0.0-rc.3(core-js@3.47.0))(typescript@5.9.3): + rsbuild-plugin-dts@0.21.2(@rsbuild/core@2.0.0-rc.3(core-js@3.47.0))(typescript@6.0.3): dependencies: '@ast-grep/napi': 0.37.0 '@rsbuild/core': 2.0.0-rc.3(core-js@3.47.0) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.3 rslog@2.1.1: {} @@ -774,6 +774,6 @@ snapshots: tslib@2.8.1: {} - typescript@5.9.3: {} + typescript@6.0.3: {} undici-types@7.16.0: {} diff --git a/tsconfig.json b/tsconfig.json index e524a12..673c658 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "outDir": "./dist", - "baseUrl": "./", + "rootDir": "src", + "outDir": "dist", "target": "ES2020", "lib": ["DOM", "ESNext"], "module": "NodeNext", @@ -11,7 +11,7 @@ "esModuleInterop": true, "skipLibCheck": true, "resolveJsonModule": true, - "moduleResolution": "Node16" + "moduleResolution": "NodeNext" }, "include": ["src"] }