Skip to content

Commit

Permalink
Add peerDependenciesMeta to shared package
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Sep 13, 2024
1 parent c0a3d40 commit 74111b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
24 changes: 20 additions & 4 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,26 @@
"d3-format": "3.1.0",
"ndarray": "1.0.19",
"ndarray-ops": "1.2.2",
"react": ">=18"
},
"optionalDependencies": {
"react": ">=18",
"zustand": "4.5.4"
},
"peerDependenciesMeta": {
"d3-array": {
"optional": true
},
"d3-format": {
"optional": true
},
"ndarray": {
"optional": true
},
"ndarray-ops": {
"optional": true
},
"zustand": {
"optional": true
}
},
"devDependencies": {
"@types/d3-array": "~3.2.1",
"@types/d3-format": "~3.0.4",
Expand All @@ -53,6 +68,7 @@
"ndarray-ops": "1.2.2",
"react": "18.3.1",
"typescript": "5.4.5",
"vitest": "2.0.5"
"vitest": "2.0.5",
"zustand": "4.5.4"
}
}
7 changes: 3 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74111b9

Please sign in to comment.