From 6611e12ffe9d8527b95dd8d50fa1acf506aea87b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 18:30:35 +0000 Subject: [PATCH 1/2] chore(deps): update dependency typescript to v6 --- package.json | 2 +- pnpm-lock.yaml | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index cc3f6a8..087fe10 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@vue/test-utils": "^2.4.6", "rimraf": "^6.0.0", "tsup": "^8.5.0", - "typescript": "^5.3.3", + "typescript": "^6.0.0", "vitest": "^4.0.0" }, "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de9dda3..06d1f77 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,10 +26,10 @@ importers: version: 6.1.3 tsup: specifier: ^8.5.0 - version: 8.5.1(postcss@8.5.8)(typescript@5.9.3) + version: 8.5.1(postcss@8.5.8)(typescript@6.0.2) typescript: - specifier: ^5.3.3 - version: 5.9.3 + specifier: ^6.0.0 + version: 6.0.2 vitest: specifier: ^4.0.0 version: 4.1.0(jsdom@26.0.0)(vite@7.2.2) @@ -976,6 +976,7 @@ packages: glob@10.5.0: resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@13.0.6: @@ -1393,8 +1394,8 @@ packages: typescript: optional: true - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + typescript@6.0.2: + resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==} engines: {node: '>=14.17'} hasBin: true @@ -2703,7 +2704,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(postcss@8.5.8)(typescript@5.9.3): + tsup@8.5.1(postcss@8.5.8)(typescript@6.0.2): dependencies: bundle-require: 5.1.0(esbuild@0.27.1) cac: 6.7.14 @@ -2724,14 +2725,14 @@ snapshots: tree-kill: 1.2.2 optionalDependencies: postcss: 8.5.8 - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - jiti - supports-color - tsx - yaml - typescript@5.9.3: {} + typescript@6.0.2: {} ufo@1.6.1: {} From d936c908cf18e7fd52787b96d66cbf482ce525c6 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Tue, 24 Mar 2026 15:53:30 -0400 Subject: [PATCH 2/2] fix(tsconfig): set explicit rootDir for TS6 builds - Purpose: keep declaration builds working after the PR upgrades TypeScript from v5 to v6. - Before: \tsconfig.json(8,25): error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'. tsconfig.json(9,5): error TS5023: Unknown compiler option 'allowImportingTsExtensions'. tsconfig.json(10,5): error TS5070: Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy. inferred the common source directory and CI failed with TS5011 under TypeScript 6. - Why that was a problem: the PR branch looked green locally with stale dependencies, but the actual CI environment installs the new compiler and the build stopped before publish. - What this change accomplishes: it makes the source layout explicit so declaration emit remains stable on TypeScript 6. - How it works: set \rootDir\: \src\ in \ to match the package entrypoints and output structure. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index cfcaf84..18bd259 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,8 +15,9 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "declaration": true, + "rootDir": "src", "outDir": "dist" }, "include": ["src"], "exclude": ["src/__tests__"] -} \ No newline at end of file +}