Add router dom to peer dependencies and fix library build configuration.
This commit is contained in:
parent
5e14ebf780
commit
2376d780cc
3 changed files with 303 additions and 330 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"name": "@kernelui/smartable",
|
||||
"description": "Kernel UI Smartable.",
|
||||
"scripts": {
|
||||
|
@ -17,7 +17,7 @@
|
|||
"@kernelui:registry": "https://code.zeptotech.net/api/packages/UIKernel/npm/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kernelui/core": "^1.1.1",
|
||||
"@kernelui/core": "^1.1.2",
|
||||
"@phosphor-icons/react": "^2.1.7",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/react": "^18.3.3",
|
||||
|
@ -26,12 +26,13 @@
|
|||
"less": "^4.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "^6.26.2",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.11",
|
||||
"vite-plugin-dts": "^3.9.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@kernelui/core": "^1.1.1"
|
||||
"@kernelui/core": "^1.1.2"
|
||||
},
|
||||
"packageManager": "yarn@4.5.0"
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
|||
fileName: "index",
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ["react"],
|
||||
external: ["@kernelui/core"],
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue