From 4513db4c9da496453fb0885618ac8c0a0e829c69 Mon Sep 17 00:00:00 2001 From: plouc Date: Sun, 7 May 2023 18:22:24 +0900 Subject: [PATCH] feat(core): move @nivo/core as a regular dependency in all dependent packages --- packages/annotations/package.json | 5 +- packages/arcs/package.json | 5 +- packages/axes/package.json | 7 +- packages/bar/package.json | 5 +- packages/boxplot/package.json | 6 +- packages/bullet/package.json | 5 +- packages/bump/package.json | 5 +- packages/calendar/package.json | 5 +- packages/chord/package.json | 5 +- packages/circle-packing/package.json | 5 +- packages/colors/package.json | 5 +- packages/core/package.json | 7 +- packages/funnel/package.json | 5 +- packages/geo/package.json | 5 +- packages/heatmap/package.json | 5 +- packages/legends/package.json | 5 +- packages/line/package.json | 5 +- packages/marimekko/package.json | 5 +- packages/network/package.json | 5 +- packages/parallel-coordinates/package.json | 5 +- packages/pie/package.json | 5 +- packages/polar-axes/package.json | 5 +- packages/radar/package.json | 5 +- packages/radial-bar/package.json | 5 +- packages/sankey/package.json | 5 +- packages/scatterplot/package.json | 5 +- packages/stream/package.json | 5 +- packages/sunburst/package.json | 5 +- packages/swarmplot/package.json | 5 +- packages/tooltip/package.json | 7 +- packages/treemap/package.json | 5 +- packages/voronoi/package.json | 5 +- pnpm-lock.yaml | 239 +++++++++------------ 33 files changed, 132 insertions(+), 274 deletions(-) diff --git a/packages/annotations/package.json b/packages/annotations/package.json index 27cb8b468..06cffc3a2 100644 --- a/packages/annotations/package.json +++ b/packages/annotations/package.json @@ -29,16 +29,13 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/prop-types": "^15.7.2", "lodash": "^4.17.21", "prop-types": "^15.7.2" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/packages/arcs/package.json b/packages/arcs/package.json index 8788d2422..9d05f0ca0 100644 --- a/packages/arcs/package.json +++ b/packages/arcs/package.json @@ -29,15 +29,12 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "d3-shape": "^1.3.5", "@types/d3-shape": "^2.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/packages/axes/package.json b/packages/axes/package.json index 3f21cba32..6c1804c31 100644 --- a/packages/axes/package.json +++ b/packages/axes/package.json @@ -27,6 +27,7 @@ "!dist/tsconfig.tsbuildinfo" ], "dependencies": { + "@nivo/core": "workspace:*", "@nivo/scales": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/d3-format": "^1.4.1", @@ -36,13 +37,7 @@ "d3-time-format": "^3.0.0", "prop-types": "^15.7.2" }, - "devDependencies": { - "@nivo/core": "workspace:*", - "@types/d3-scale": "^3.2.3", - "d3-scale": "^3.2.3" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/packages/bar/package.json b/packages/bar/package.json index ab8236aa7..4d2c26940 100644 --- a/packages/bar/package.json +++ b/packages/bar/package.json @@ -32,6 +32,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -43,12 +44,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/boxplot/package.json b/packages/boxplot/package.json index 51f293e64..67956433b 100644 --- a/packages/boxplot/package.json +++ b/packages/boxplot/package.json @@ -37,6 +37,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -48,13 +49,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*", - "@nivo/generators": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/bullet/package.json b/packages/bullet/package.json index f7fffc212..ae831f0a4 100644 --- a/packages/bullet/package.json +++ b/packages/bullet/package.json @@ -31,18 +31,15 @@ "dependencies": { "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/bump/package.json b/packages/bump/package.json index 7498d10a2..1e725421c 100644 --- a/packages/bump/package.json +++ b/packages/bump/package.json @@ -32,6 +32,7 @@ "dependencies": { "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -42,12 +43,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/calendar/package.json b/packages/calendar/package.json index 699d50f6d..d0d3a5e3b 100644 --- a/packages/calendar/package.json +++ b/packages/calendar/package.json @@ -29,6 +29,7 @@ "!dist/tsconfig.tsbuildinfo" ], "dependencies": { + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "@types/d3-scale": "^3.2.3", @@ -40,12 +41,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/chord/package.json b/packages/chord/package.json index a617e635a..d1a6dc839 100644 --- a/packages/chord/package.json +++ b/packages/chord/package.json @@ -31,6 +31,7 @@ "dependencies": { "@nivo/arcs": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", @@ -40,12 +41,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/circle-packing/package.json b/packages/circle-packing/package.json index f62299aeb..3bb2dee19 100644 --- a/packages/circle-packing/package.json +++ b/packages/circle-packing/package.json @@ -30,17 +30,14 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/d3-hierarchy": "^1.1.8", "d3-hierarchy": "^1.1.8", "lodash": "^4.17.21" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/packages/colors/package.json b/packages/colors/package.json index 17ed7c018..bbb20cd8a 100644 --- a/packages/colors/package.json +++ b/packages/colors/package.json @@ -21,6 +21,7 @@ "!dist/tsconfig.tsbuildinfo" ], "dependencies": { + "@nivo/core": "workspace:*", "@types/d3-color": "^2.0.0", "@types/d3-scale": "^3.2.3", "@types/d3-scale-chromatic": "^2.0.0", @@ -32,12 +33,8 @@ "prop-types": "^15.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/core/package.json b/packages/core/package.json index 74b421887..ce9b63bd6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -22,6 +22,7 @@ ], "dependencies": { "@nivo/recompose": "workspace:*", + "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "d3-color": "^3.1.0", "d3-format": "^1.4.4", @@ -29,15 +30,11 @@ "d3-scale": "^3.2.3", "d3-scale-chromatic": "^2.0.0", "d3-shape": "^1.3.5", + "@types/d3-shape": "^2.0.0", "d3-time-format": "^3.0.0", "lodash": "^4.17.21" }, - "devDependencies": { - "@nivo/tooltip": "workspace:*", - "@types/d3-shape": "^2.0.0" - }, "peerDependencies": { - "@nivo/tooltip": "0.82.1", "prop-types": ">= 15.5.10 < 16.0.0", "react": ">= 16.14.0 < 19.0.0" }, diff --git a/packages/funnel/package.json b/packages/funnel/package.json index 4a23959fe..e95bf5072 100644 --- a/packages/funnel/package.json +++ b/packages/funnel/package.json @@ -31,6 +31,7 @@ "dependencies": { "@nivo/annotations": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/d3-scale": "^3.2.3", @@ -39,12 +40,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/geo/package.json b/packages/geo/package.json index 5f4a065bb..70d1867b6 100644 --- a/packages/geo/package.json +++ b/packages/geo/package.json @@ -30,6 +30,7 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "d3-format": "^1.4.4", @@ -38,12 +39,8 @@ "prop-types": "^15.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/heatmap/package.json b/packages/heatmap/package.json index 75b467955..48cdc194d 100644 --- a/packages/heatmap/package.json +++ b/packages/heatmap/package.json @@ -32,6 +32,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -40,12 +41,8 @@ "d3-scale": "^3.2.3" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/legends/package.json b/packages/legends/package.json index 36f88a705..abf405b53 100644 --- a/packages/legends/package.json +++ b/packages/legends/package.json @@ -23,18 +23,15 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@types/d3-scale": "^3.2.3", "@types/prop-types": "^15.7.2", "d3-scale": "^3.2.3", "prop-types": "^15.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/line/package.json b/packages/line/package.json index 2f67d8e54..b5857ddda 100644 --- a/packages/line/package.json +++ b/packages/line/package.json @@ -32,6 +32,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -41,12 +42,8 @@ "prop-types": "^15.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/marimekko/package.json b/packages/marimekko/package.json index b7171b894..9a53fc9ff 100644 --- a/packages/marimekko/package.json +++ b/packages/marimekko/package.json @@ -23,6 +23,7 @@ "dependencies": { "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -32,12 +33,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/network/package.json b/packages/network/package.json index 8edd84c11..7814d8a1e 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -33,18 +33,15 @@ "dependencies": { "@nivo/annotations": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/d3-force": "^2.1.0", "d3-force": "^2.0.1" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/parallel-coordinates/package.json b/packages/parallel-coordinates/package.json index fcff36779..eeaefa827 100644 --- a/packages/parallel-coordinates/package.json +++ b/packages/parallel-coordinates/package.json @@ -31,6 +31,7 @@ "dependencies": { "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "d3-scale": "^3.2.3", @@ -38,12 +39,8 @@ "prop-types": "^15.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/pie/package.json b/packages/pie/package.json index 30571d3b9..b8924a0cf 100644 --- a/packages/pie/package.json +++ b/packages/pie/package.json @@ -31,18 +31,15 @@ "dependencies": { "@nivo/arcs": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "@types/d3-shape": "^2.0.0", "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/polar-axes/package.json b/packages/polar-axes/package.json index 5051680fd..823bffbdd 100644 --- a/packages/polar-axes/package.json +++ b/packages/polar-axes/package.json @@ -29,16 +29,13 @@ ], "dependencies": { "@nivo/arcs": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/scales": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/radar/package.json b/packages/radar/package.json index aea3ba8a8..dd25cd0f1 100644 --- a/packages/radar/package.json +++ b/packages/radar/package.json @@ -30,6 +30,7 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", @@ -39,12 +40,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/radial-bar/package.json b/packages/radial-bar/package.json index c85ee758e..0aacaca19 100644 --- a/packages/radial-bar/package.json +++ b/packages/radial-bar/package.json @@ -31,6 +31,7 @@ "dependencies": { "@nivo/arcs": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/polar-axes": "workspace:*", "@nivo/scales": "workspace:*", @@ -42,12 +43,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/sankey/package.json b/packages/sankey/package.json index c37ed71cc..897917e1c 100644 --- a/packages/sankey/package.json +++ b/packages/sankey/package.json @@ -30,6 +30,7 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", @@ -40,12 +41,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/scatterplot/package.json b/packages/scatterplot/package.json index 41b90b9e6..eb9844b1b 100644 --- a/packages/scatterplot/package.json +++ b/packages/scatterplot/package.json @@ -32,6 +32,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -44,12 +45,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/stream/package.json b/packages/stream/package.json index e52fd7406..d32a90d56 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -31,6 +31,7 @@ "dependencies": { "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -39,12 +40,8 @@ "d3-shape": "^1.3.5" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/sunburst/package.json b/packages/sunburst/package.json index 639c40284..b609bc5aa 100644 --- a/packages/sunburst/package.json +++ b/packages/sunburst/package.json @@ -31,18 +31,15 @@ "dependencies": { "@nivo/arcs": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@types/d3-hierarchy": "^1.1.8", "d3-hierarchy": "^1.1.8", "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/swarmplot/package.json b/packages/swarmplot/package.json index 11b1c2664..ac36e885c 100644 --- a/packages/swarmplot/package.json +++ b/packages/swarmplot/package.json @@ -33,6 +33,7 @@ "@nivo/annotations": "workspace:*", "@nivo/axes": "workspace:*", "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/legends": "workspace:*", "@nivo/scales": "workspace:*", "@nivo/tooltip": "workspace:*", @@ -45,12 +46,8 @@ "lodash": "^4.17.21" }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 94a8964c3..598d499cc 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -21,14 +21,9 @@ "!dist/tsconfig.tsbuildinfo" ], "dependencies": { + "@nivo/core": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2" }, - "peerDependencies": { - "@nivo/core": "0.82.1" - }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "publishConfig": { "access": "public" } diff --git a/packages/treemap/package.json b/packages/treemap/package.json index 6585fb3d4..b0c3d3331 100644 --- a/packages/treemap/package.json +++ b/packages/treemap/package.json @@ -30,17 +30,14 @@ ], "dependencies": { "@nivo/colors": "workspace:*", + "@nivo/core": "workspace:*", "@nivo/tooltip": "workspace:*", "@react-spring/web": "9.4.5 || ^9.7.2", "@types/d3-hierarchy": "^1.1.8", "d3-hierarchy": "^1.1.8", "lodash": "^4.17.21" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/packages/voronoi/package.json b/packages/voronoi/package.json index eaff43170..4028920bc 100644 --- a/packages/voronoi/package.json +++ b/packages/voronoi/package.json @@ -29,16 +29,13 @@ "!dist/tsconfig.tsbuildinfo" ], "dependencies": { + "@nivo/core": "workspace:*", "@types/d3-delaunay": "^5.3.0", "@types/d3-scale": "^3.2.3", "d3-delaunay": "^5.3.0", "d3-scale": "^3.2.3" }, - "devDependencies": { - "@nivo/core": "workspace:*" - }, "peerDependencies": { - "@nivo/core": "0.82.1", "react": ">= 16.14.0 < 19.0.0" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3fd61c3c8..f9d5e209c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -334,6 +334,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@react-spring/web': specifier: 9.4.5 || ^9.7.2 version: 9.7.2(react-dom@18.2.0)(react@18.2.0) @@ -349,16 +352,15 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/arcs: dependencies: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@react-spring/web': specifier: 9.4.5 || ^9.7.2 version: 9.7.2(react-dom@18.2.0)(react@18.2.0) @@ -371,13 +373,12 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/axes: dependencies: + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/scales': specifier: workspace:* version: link:../scales @@ -405,16 +406,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core - '@types/d3-scale': - specifier: ^3.2.3 - version: 3.3.2 - d3-scale: - specifier: ^3.2.3 - version: 3.3.0 packages/bar: dependencies: @@ -427,6 +418,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -457,10 +451,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/boxplot: dependencies: @@ -473,6 +463,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -503,13 +496,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core - '@nivo/generators': - specifier: workspace:* - version: link:../generators packages/bullet: dependencies: @@ -519,6 +505,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -534,10 +523,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/bump: dependencies: @@ -547,6 +532,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -574,13 +562,12 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/calendar: dependencies: + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -611,10 +598,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/canvas: {} @@ -626,6 +609,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -650,16 +636,15 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/circle-packing: dependencies: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -678,13 +663,12 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/colors: dependencies: + '@nivo/core': + specifier: workspace:* + version: link:../core '@types/d3-color': specifier: ^2.0.0 version: 2.0.3 @@ -715,19 +699,21 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/core: dependencies: '@nivo/recompose': specifier: workspace:* version: link:../recompose + '@nivo/tooltip': + specifier: workspace:* + version: link:../tooltip '@react-spring/web': specifier: 9.4.5 || ^9.7.2 version: 9.7.2(react-dom@18.2.0)(react@18.2.0) + '@types/d3-shape': + specifier: ^2.0.0 + version: 2.1.3 d3-color: specifier: ^3.1.0 version: 3.1.0 @@ -758,13 +744,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/tooltip': - specifier: workspace:* - version: link:../tooltip - '@types/d3-shape': - specifier: ^2.0.0 - version: 2.1.3 packages/express: dependencies: @@ -804,6 +783,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -825,10 +807,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/generators: dependencies: @@ -859,6 +837,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -880,10 +861,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/grid: {} @@ -898,6 +875,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -919,16 +899,15 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/legends: dependencies: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@types/d3-scale': specifier: ^3.2.3 version: 3.3.2 @@ -944,10 +923,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/line: dependencies: @@ -960,6 +935,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -984,10 +962,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/marimekko: dependencies: @@ -997,6 +971,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1021,10 +998,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/network: dependencies: @@ -1034,6 +1007,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -1049,10 +1025,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/parallel-coordinates: dependencies: @@ -1062,6 +1034,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -1080,10 +1055,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/pie: dependencies: @@ -1093,6 +1064,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1108,16 +1082,15 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/polar-axes: dependencies: '@nivo/arcs': specifier: workspace:* version: link:../arcs + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/scales': specifier: workspace:* version: link:../scales @@ -1127,16 +1100,15 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/radar: dependencies: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1161,10 +1133,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/radial-bar: dependencies: @@ -1174,6 +1142,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1204,10 +1175,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/recompose: dependencies: @@ -1232,6 +1199,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1259,10 +1229,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/scales: dependencies: @@ -1299,6 +1265,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1332,10 +1301,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/static: dependencies: @@ -1408,6 +1373,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1429,10 +1397,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/sunburst: dependencies: @@ -1442,6 +1406,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -1457,10 +1424,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/swarmplot: dependencies: @@ -1473,6 +1436,9 @@ importers: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/legends': specifier: workspace:* version: link:../legends @@ -1506,26 +1472,24 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/tooltip: dependencies: - '@react-spring/web': - specifier: 9.4.5 || ^9.7.2 - version: 9.7.2(react-dom@18.2.0)(react@18.2.0) - devDependencies: '@nivo/core': specifier: workspace:* version: link:../core + '@react-spring/web': + specifier: 9.4.5 || ^9.7.2 + version: 9.7.2(react-dom@18.2.0)(react@18.2.0) packages/treemap: dependencies: '@nivo/colors': specifier: workspace:* version: link:../colors + '@nivo/core': + specifier: workspace:* + version: link:../core '@nivo/tooltip': specifier: workspace:* version: link:../tooltip @@ -1544,13 +1508,12 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/voronoi: dependencies: + '@nivo/core': + specifier: workspace:* + version: link:../core '@types/d3-delaunay': specifier: ^5.3.0 version: 5.3.1 @@ -1566,10 +1529,6 @@ importers: react: specifier: '>= 16.14.0 < 19.0.0' version: 18.2.0 - devDependencies: - '@nivo/core': - specifier: workspace:* - version: link:../core packages/waffle: dependencies: