diff --git a/Makefile b/Makefile index fdac2b8fd..38eadf417 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SOURCES = packages -.PHONY: help bootstrap init packages-build packages-publish clean-all website website-build website-deploy storybook storybook-build storybook-deploy deploy-all +.PHONY: help bootstrap init packages-build packages-publish clean-all website-install website website-build website-deploy storybook storybook-build storybook-deploy deploy-all ######################################################################################################################## # @@ -49,7 +49,7 @@ init: ##@init cleanup/install/bootstrap @yarn install @make bootstrap @make packages-build - @cd website && yarn install + @make website-install ######################################################################################################################## # @@ -136,6 +136,10 @@ package-dev-%: ##@packages setup package for development, link to website, run w # ######################################################################################################################## +website-install: ##@website install website dependencies + @echo "${YELLOW}INstalling website dependencies${RESET}" + @cd website && yarn install + website: ##@website start website in dev mode @echo "${YELLOW}Starting website dev server${RESET}" @cd website && yarn start @@ -166,7 +170,7 @@ website-links-rm: ##@website unlink all linked packages find node_modules node_modules/\@* -depth 1 -type l -print | awk -F/ '{print $$(NF)}' | while read MODULE; do \ yarn unlink "@nivo/$${MODULE}"; \ done - @cd website && yarn install + @make website-install ######################################################################################################################## # diff --git a/website/package.json b/website/package.json index 04fcdd10e..c8cd3f2ae 100644 --- a/website/package.json +++ b/website/package.json @@ -9,19 +9,19 @@ "source-map-explorer": "^1.5.0" }, "dependencies": { - "@nivo/bar": "0.33.0-2", - "@nivo/calendar": "0.33.0-2", - "@nivo/chord": "0.33.0-2", + "@nivo/bar": "0.33.0-3", + "@nivo/calendar": "0.33.0-3", + "@nivo/chord": "0.33.0-3", "@nivo/circle-packing": "0.32.0", "@nivo/core": "0.32.0", "@nivo/generators": "0.32.0", - "@nivo/heatmap": "0.33.0-2", - "@nivo/legends": "0.33.0-2", - "@nivo/line": "0.33.0-2", - "@nivo/pie": "0.33.0-2", - "@nivo/radar": "0.33.0-2", - "@nivo/sankey": "0.32.0", - "@nivo/stream": "0.33.0-2", + "@nivo/heatmap": "0.33.0-3", + "@nivo/legends": "0.33.0-3", + "@nivo/line": "0.33.0-3", + "@nivo/pie": "0.33.0-3", + "@nivo/radar": "0.33.0-3", + "@nivo/sankey": "0.33.0-3", + "@nivo/stream": "0.33.0-3", "@nivo/sunburst": "0.32.0", "@nivo/treemap": "0.32.0", "@nivo/voronoi": "0.32.0",