Update dependencies and tweak library build configuration.
This commit is contained in:
parent
a5f16cd3fc
commit
e7266d0ab6
3 changed files with 769 additions and 743 deletions
12
package.json
12
package.json
|
@ -27,18 +27,18 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@phosphor-icons/react": "^2.1.7",
|
"@phosphor-icons/react": "^2.1.7",
|
||||||
"@types/node": "^20.14.10",
|
"@types/node": "^22.7.4",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.10",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@types/uuid": "^10",
|
"@types/uuid": "^10",
|
||||||
"@vitejs/plugin-react": "^4.3.0",
|
"@vitejs/plugin-react": "^4.3.0",
|
||||||
"less": "^4.2.0",
|
"less": "^4.2.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-router-dom": "^6.24.1",
|
"react-router-dom": "^6.26.2",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.6.2",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.4.8",
|
||||||
"vite-plugin-dts": "^3.9.1"
|
"vite-plugin-dts": "^4.2.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@phosphor-icons/react": "^2.1.7",
|
"@phosphor-icons/react": "^2.1.7",
|
||||||
|
|
|
@ -23,6 +23,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
dts({
|
dts({
|
||||||
|
rollupTypes: true,
|
||||||
insertTypesEntry: true,
|
insertTypesEntry: true,
|
||||||
exclude: ["demo", "node_modules"],
|
exclude: ["demo", "node_modules"],
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue