Skip to content

Commit

Permalink
chore(core): move @nivo/core to peer deps and add it to dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Nov 16, 2020
1 parent a4f370b commit d22679c
Show file tree
Hide file tree
Showing 27 changed files with 96 additions and 27 deletions.
5 changes: 4 additions & 1 deletion packages/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
"lodash": "^4.17.11",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/axes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@
"d3-time-format": "^2.1.3",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@nivo/annotations": "0.64.0",
"@nivo/axes": "0.64.0",
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/scales": "0.64.0",
"@nivo/tooltip": "0.64.0",
Expand All @@ -41,7 +40,11 @@
"react-motion": "^0.5.2",
"recompose": "^0.30.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/bullet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/d3-scale": "^3.2.1"
},
"peerDependencies": {
"@nivo/core": "^0.64.0",
"@nivo/core": "0.64.0",
"react": ">= 16.8.4 < 18.0.0"
},
"publishConfig": {
Expand Down
5 changes: 4 additions & 1 deletion packages/bump/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"dist/"
],
"dependencies": {
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-scale": "^3.0.0",
Expand All @@ -38,7 +37,11 @@
"lodash.memoize": "^4.1.2",
"lodash.range": "^3.2.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/chord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,18 @@
],
"dependencies": {
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-chord": "^1.0.6",
"d3-shape": "^1.3.5",
"lodash": "^4.17.11",
"react-motion": "^0.5.2"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/circle-packing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@
],
"dependencies": {
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-hierarchy": "^1.1.8",
"lodash": "^4.17.11",
"react-motion": "^0.5.2",
"recompose": "^0.30.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/react-motion": "^0.0.29"
},
"peerDependencies": {
"@nivo/core": "^0.64.0",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 <= 17.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/funnel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/annotations": "0.63.1",
"@nivo/colors": "0.63.0",
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"@nivo/tooltip": "0.63.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,17 @@
],
"dependencies": {
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-format": "^1.4.4",
"d3-geo": "^1.11.3",
"lodash": "^4.17.11"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/heatmap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"d3-scale": "^3.0.0",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/legends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
"index.d.ts"
],
"dependencies": {
"@nivo/core": "0.64.0",
"lodash": "^4.17.11",
"recompose": "^0.30.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/line/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/marimekko/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/d3-shape": "^2.0.0"
},
"peerDependencies": {
"@nivo/core": "^0.64.0",
"@nivo/core": "0.64.0",
"react": ">= 16.8.4 <= 17.0.0"
},
"publishConfig": {
Expand Down
5 changes: 4 additions & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@
],
"dependencies": {
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-force": "^2.0.1",
"lodash": "^4.17.11",
"react-motion": "^0.5.2"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/parallel-coordinates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/radar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/sankey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
"lodash": "^4.17.11",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/scatterplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@nivo/annotations": "0.64.0",
"@nivo/axes": "0.64.0",
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/scales": "0.64.0",
"@nivo/tooltip": "0.64.0",
Expand All @@ -41,7 +40,11 @@
"lodash": "^4.17.11",
"react-motion": "^0.5.2"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
"d3-shape": "^1.3.5",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/sunburst/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@
],
"dependencies": {
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/tooltip": "0.64.0",
"d3-hierarchy": "^1.1.8",
"d3-shape": "^1.3.5",
"lodash": "^4.17.11",
"react-motion": "^0.5.2",
"recompose": "^0.30.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/swarmplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@nivo/annotations": "0.64.0",
"@nivo/axes": "0.64.0",
"@nivo/colors": "0.64.0",
"@nivo/core": "0.64.0",
"@nivo/legends": "0.64.0",
"@nivo/scales": "0.64.0",
"@nivo/tooltip": "0.64.0",
Expand All @@ -42,7 +41,11 @@
"lodash": "^4.17.11",
"react-motion": "^0.5.2"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1"
"@nivo/core": "0.64.0"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 4 additions & 1 deletion packages/treemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"lodash": "^4.17.11",
"react-spring": "9.0.0-rc.3"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.63.1",
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/voronoi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@
"index.d.ts"
],
"dependencies": {
"@nivo/core": "0.64.0",
"d3-delaunay": "^5.1.1",
"d3-scale": "^3.0.0",
"recompose": "^0.30.0"
},
"devDependencies": {
"@nivo/core": "*"
},
"peerDependencies": {
"@nivo/core": "0.64.0",
"prop-types": ">= 15.5.10 < 16.0.0",
"react": ">= 16.8.4 < 18.0.0"
},
Expand Down
Loading

0 comments on commit d22679c

Please sign in to comment.