Skip to content

Commit

Permalink
fix: remove react as peer dependency since it causes issues with pnpm 9
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Sep 23, 2024
1 parent a225e87 commit 6dfbfb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,7 @@
"vite": "^5.4.7",
"vite-plugin-dts": "^4.2.1"
},
"peerDependencies": {
"clsx": "^2.1.1",
"lucide-react": "^0.438.0",
"react": "^18 | ^19",
"react-dom": "^18 | ^19"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"publishConfig": {
"access": "restricted",
"registry": "https://npm.pkg.github.com/"
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default defineConfig({
"react/jsx-runtime",
"react/jsx-dev-runtime",
...Object.keys(pkg.dependencies),
...Object.keys(pkg.peerDependencies),
...Object.keys(pkg.devDependencies),
"/node_modules/",
],
Expand Down

0 comments on commit 6dfbfb2

Please sign in to comment.