Skip to content

Commit

Permalink
fix(split): add missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Dec 5, 2017
1 parent 98d8bed commit dd9676b
Show file tree
Hide file tree
Showing 28 changed files with 116 additions and 45 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -4,7 +4,8 @@ node_js:
- '7'
- '8'
script:
- yarn run fmt:check
- yarn run test:cover
- make init
#- yarn run fmt:check
#- yarn run test:cover
#after_success:
# - yarn run coverage
4 changes: 2 additions & 2 deletions Makefile
@@ -1,6 +1,6 @@
SOURCES = packages

.PHONY: help bootstrap build-all clean-all test
.PHONY: help init build-all clean-all

########################################################################################################################
#
Expand Down Expand Up @@ -51,7 +51,7 @@ build-all: ##@build build all packages
#
########################################################################################################################

clean-all: ##@cleanup
clean-all: ##@cleanup uninstall node modules, remove transpiled code & lock files
rm -rf node_modules
rm -rf package-lock.json
$(foreach source, $(SOURCES), $(call clean-source-all, $(source)))
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -112,7 +112,6 @@ Join the [nivo discord community](https://discord.gg/n7Ft74f).
- [nivo-api](https://github.com/plouc/nivo-api) - the nivo http api
- [nivo-api-docker](https://github.com/plouc/nivo-api-docker) - a Docker image for the nivo http api
- [nivo-generators](https://github.com/plouc/nivo-generators) - the data generators used for nivo-website and http API samples
- [nivo-website](https://github.com/plouc/nivo-website) - the source for the nivo website

## Credits

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/Bar.js
@@ -1,5 +1,5 @@
import React from 'react';
import { ResponsiveBar } from 'nivo'
import { ResponsiveBar } from '@nivo/bar'
import { generateCountriesData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/Bubble.js
@@ -1,5 +1,5 @@
import React from 'react'
import { ResponsiveBubble } from 'nivo'
import { ResponsiveBubble } from '@nivo/circle-packing'
import { generateCountriesData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/Chord.js
@@ -1,5 +1,5 @@
import React from 'react'
import { ResponsiveChord } from 'nivo'
import { ResponsiveChord } from '@nivo/chord'
import { generateChordData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/HeatMap.js
@@ -1,5 +1,5 @@
import React from 'react'
import { ResponsiveHeatMap } from 'nivo'
import { ResponsiveHeatMap } from '@nivo/heatmap'
import { generateCountriesData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/Pie.js
@@ -1,5 +1,5 @@
import React from 'react'
import { ResponsivePie } from 'nivo'
import { ResponsivePie } from '@nivo/pie'
import { generateProgrammingLanguageStats } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/Stream.js
@@ -1,5 +1,5 @@
import React from 'react';
import { ResponsiveStream, patternDotsDef } from 'nivo'
import { ResponsiveStream, patternDotsDef } from '@nivo/stream'
import { generateCountriesData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
2 changes: 1 addition & 1 deletion examples/retro/src/components/charts/TreeMap.js
@@ -1,5 +1,5 @@
import React from 'react'
import { ResponsiveTreeMap } from 'nivo'
import { ResponsiveTreeMap } from '@nivo/treemap'
import { generateCountriesData } from 'nivo-generators'
import { colors } from '../../constants'

Expand Down
7 changes: 0 additions & 7 deletions .npmignore → packages/nivo-bar/.npmignore
Expand Up @@ -7,11 +7,7 @@
# OSX
.DS_Store

# github
/.github

# config/build
/build
.babelrc

# storybook
Expand All @@ -23,6 +19,3 @@
.travis.yml
/coverage
/test

# assets
nivo.png
5 changes: 3 additions & 2 deletions packages/nivo-bar/package.json
Expand Up @@ -10,7 +10,7 @@
"d3-scale": "1.0.6",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -22,7 +22,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
21 changes: 21 additions & 0 deletions packages/nivo-calendar/.npmignore
@@ -0,0 +1,21 @@
# src (will be transpiled)
/src

# logs
*.log*

# OSX
.DS_Store

# config/build
.babelrc

# storybook
/.storybook
/stories
/storybook-static

# test
.travis.yml
/coverage
/test
5 changes: 3 additions & 2 deletions packages/nivo-calendar/package.json
Expand Up @@ -10,7 +10,7 @@
"d3-scale": "1.0.6",
"d3-time": "1.0.7",
"d3-time-format": "2.0.5",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -22,7 +22,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
21 changes: 21 additions & 0 deletions packages/nivo-chord/.npmignore
@@ -0,0 +1,21 @@
# src (will be transpiled)
/src

# logs
*.log*

# OSX
.DS_Store

# config/build
.babelrc

# storybook
/.storybook
/stories
/storybook-static

# test
.travis.yml
/coverage
/test
5 changes: 3 additions & 2 deletions packages/nivo-chord/package.json
Expand Up @@ -11,7 +11,7 @@
"d3-format": "1.2.0",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -23,7 +23,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
21 changes: 21 additions & 0 deletions packages/nivo-circle-packing/.npmignore
@@ -0,0 +1,21 @@
# src (will be transpiled)
/src

# logs
*.log*

# OSX
.DS_Store

# config/build
.babelrc

# storybook
/.storybook
/stories
/storybook-static

# test
.travis.yml
/coverage
/test
3 changes: 2 additions & 1 deletion packages/nivo-circle-packing/package.json
Expand Up @@ -24,7 +24,8 @@
"react": ">= 15.6.1 < 17.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"prop-types": "*"
},
"scripts": {
"build:commonjs": "rm -rf lib && cross-env NODE_ENV=commonjs babel src --out-dir lib",
Expand Down
4 changes: 3 additions & 1 deletion packages/nivo-core/package.json
Expand Up @@ -14,7 +14,8 @@
"d3-scale-chromatic": "1.1.1",
"d3-shape": "1.2.0",
"react-measure": "^2.0.2",
"react-motion": "^0.5.2"
"react-motion": "^0.5.2",
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -26,6 +27,7 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"prop-types": "*",
"react": ">= 15.6.1 < 17.0.0"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-heatmap/package.json
Expand Up @@ -9,7 +9,7 @@
"@nivo/core": "0.32.0-5",
"d3-scale": "1.0.6",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -21,7 +21,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-line/package.json
Expand Up @@ -11,7 +11,7 @@
"d3-scale": "1.0.6",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -23,7 +23,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-pie/package.json
Expand Up @@ -9,7 +9,7 @@
"@nivo/core": "0.32.0-5",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -21,7 +21,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-radar/package.json
Expand Up @@ -11,7 +11,7 @@
"d3-scale": "1.0.6",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -23,7 +23,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-sankey/package.json
Expand Up @@ -9,7 +9,7 @@
"@nivo/core": "0.32.0-5",
"d3-sankey": "0.7.1",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -21,7 +21,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-stream/package.json
Expand Up @@ -10,7 +10,7 @@
"d3-format": "1.2.0",
"d3-scale": "1.0.6",
"d3-shape": "1.2.0",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -22,7 +22,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/nivo-sunburst/package.json
Expand Up @@ -10,7 +10,7 @@
"d3-hierarchy": "1.1.5",
"d3-shape": "1.2.0",
"react-motion": "^0.5.2",
"recompose": "0.26.0"
"recompose": "^0.26.0"
},
"devDependencies": {
"@nivo/babel-preset": "0.32.0-5",
Expand All @@ -22,7 +22,8 @@
"react-dom": "^15.6.1"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17.0.0"
"react": ">= 15.6.1 < 17.0.0",
"prop-types": "*"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit dd9676b

Please sign in to comment.