Update dependency typescript to v6 (#32927)

* Update dependency typescript to v6

* Switch to unplugin-vts

Workaround for https://github.com/qmhc/unplugin-dts/issues/467

And tweak tsconfigs

* tweak tsconfig

* Make tsc happy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot]
2026-04-22 12:28:54 +00:00
committed by GitHub
parent 021e222719
commit 2d16498fe6
32 changed files with 403 additions and 357 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig, esmExternalRequirePlugin } from "vite";
import dts from "vite-plugin-dts";
import dts from "unplugin-dts/vite";
const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -51,10 +51,10 @@ export default defineConfig({
},
plugins: [
dts({
rollupTypes: true,
bundleTypes: true,
include: ["src/**/*.{ts,tsx}"],
exclude: ["src/**/*.test.{ts,tsx}", "src/**/*.stories.{ts,tsx}"],
copyDtsFiles: true,
copyDtsFiles: false,
}),
],
});