Skip to content

Commit

Permalink
fix: deps & build
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdin committed Aug 26, 2024
1 parent f54836f commit 41baa2b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"turbo": "^2.0.14",
"typescript": "^5.5.4"
},
"packageManager": "pnpm@9.7.1+sha256.46f1bbc8f8020aa9869568c387198f1a813f21fb44c82f400e7d1dbde6c70b40",
"packageManager": "pnpm@9.8.0+sha256.56a9e76b51796ca7f73b85e44cf83712862091f4d498c0ce4d5b7ecdc6ba18f7",
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
Expand Down
10 changes: 0 additions & 10 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,5 @@
"tailwind-merge": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "^4.3.2"
},
"peerDependencies": {
"@ark-ui/react": "catalog:",
"class-variance-authority": "catalog:",
"clsx": "catalog:",
"lucide-react": "^0.424.0",
"react": "catalog:",
"react-dom": "catalog:",
"recharts": "^2.12.7",
"tailwind-merge": "catalog:"
}
}
3 changes: 1 addition & 2 deletions packages/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export default defineConfig({
external: [
/@ark-ui/,
"react/jsx-runtime",
// ...Object.keys(pkg.dependencies ?? {}),
...Object.keys(pkg.peerDependencies ?? {}),
...Object.keys(pkg.devDependencies ?? {}),
],
output: {
preserveModules: true,
Expand Down
6 changes: 1 addition & 5 deletions packages/vue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ export default defineConfig({
: `${entryName}.js`,
},
rollupOptions: {
external: [
/@ark-ui/,
...Object.keys(pkg.dependencies ?? {}),
...Object.keys(pkg.peerDependencies ?? {}),
],
external: [/@ark-ui/, ...Object.keys(pkg.devDependencies ?? {})],
output: {
preserveModules: true,
},
Expand Down

0 comments on commit 41baa2b

Please sign in to comment.