Skip to content

Commit

Permalink
Fix @nivo/stream build
Browse files Browse the repository at this point in the history
  • Loading branch information
phgn0 committed Dec 11, 2022
1 parent 46f923f commit f840a37
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/library-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dependencies": {
"@radix-ui/react-dropdown-menu": "^1.0.0",
"clsx": "^1.2.1",
"d3-scale": "~3",
"date-fns": "^2.29.3",
"flexsearch": "^0.7.21",
"jsdom": "^20.0.2",
Expand Down
17 changes: 17 additions & 0 deletions patches/@nivo+legends+0.80.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/node_modules/@nivo/legends/package.json b/node_modules/@nivo/legends/package.json
index 6ec2734..ea11261 100644
--- a/node_modules/@nivo/legends/package.json
+++ b/node_modules/@nivo/legends/package.json
@@ -23,8 +23,10 @@
],
"devDependencies": {
"@nivo/colors": "0.80.0",
- "@nivo/core": "0.80.0",
- "d3-scale": "^3.2.3"
+ "@nivo/core": "0.80.0"
+ },
+ "dependencies": {
+ "d3-scale": "~3"
},
"peerDependencies": {
"@nivo/core": "0.80.0",
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4456,7 +4456,7 @@ d3-scale-chromatic@^2.0.0:
d3-time "2.1.1 - 3"
d3-time-format "2 - 4"

d3-scale@^3.2.3:
d3-scale@^3.2.3, d3-scale@~3:
version "3.3.0"
resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-3.3.0.tgz#28c600b29f47e5b9cd2df9749c206727966203f3"
integrity sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==
Expand Down

0 comments on commit f840a37

Please sign in to comment.