@@ -2,7 +2,7 @@ MAKEFLAGS += --no-print-directory
2
2
3
3
SOURCES = packages
4
4
5
- .PHONY : help bootstrap init packages-build packages-publish clean-all website-install website website-build website-deploy storybook storybook-build storybook-deploy deploy-all examples-install
5
+ .PHONY : help bootstrap init packages-build packages-publish clean-all website-install website website-build website-deploy storybook storybook-build storybook-deploy deploy-all
6
6
7
7
# #######################################################################################################################
8
8
#
@@ -58,7 +58,6 @@ fmt: ##@0 global format code using prettier (js, css, md)
58
58
" packages/*/index.d.ts" \
59
59
" packages/*/README.md" \
60
60
" website/src/**/*.{js,css}" \
61
- " examples/*/src/**/*.{js,ts,tsx,css}" \
62
61
" api/**/*.{js,ts,tsx}" \
63
62
" README.md"
64
63
@@ -69,11 +68,10 @@ fmt-check: ##@0 global check if files were all formatted using prettier
69
68
"packages/*/index.d.ts" \
70
69
"packages/*/README.md" \
71
70
"website/src/**/*.{js,css}" \
72
- "examples/*/src/**/*.{js,ts,tsx,css}" \
73
71
"api/**/*.{js,ts,tsx}" \
74
72
"README.md"
75
73
76
- test : # #@0 global run all checks/tests (packages, website & examples )
74
+ test : # #@0 global run all checks/tests (packages, website)
77
75
@$(MAKE ) fmt-check
78
76
@$(MAKE ) lint
79
77
@$(MAKE ) packages-test
@@ -200,7 +198,6 @@ package-watch-%: ##@1 packages build package (es flavor) on change, eg. `package
200
198
package-dev-% : # #@1 packages setup package for development, link to website, run watcher
201
199
@echo " ${YELLOW} Preparing package ${WHITE}${* }${YELLOW} for development${RESET} "
202
200
@cd packages/${* } && yarn link
203
- @cd examples/typescript && yarn link @nivo/${* }
204
201
@$(MAKE ) package-watch-${* }
205
202
206
203
# #######################################################################################################################
@@ -255,35 +252,6 @@ storybook-deploy: ##@3 storybook build and deploy storybook
255
252
@echo "${YELLOW}Deploying storybook${RESET}"
256
253
@./node_modules/.bin/gh-pages -d storybook-static -r git@github.com:plouc/nivo.git -b gh-pages -e storybook
257
254
258
- # #######################################################################################################################
259
- #
260
- # EXAMPLES
261
- #
262
- # #######################################################################################################################
263
-
264
- examples-install : # #@4 examples install all examples dependencies
265
- @$(MAKE ) example-install-retro
266
- @$(MAKE ) example-install-typescript
267
-
268
- example-install-% : # #@4 examples install example dependencies, eg. example-install-retro
269
- @echo " ${YELLOW} Installing ${WHITE}${* }${YELLOW} example dependencies${RESET} "
270
- @cd examples/${* } && yarn install
271
-
272
- example-deps-up-% : # #@4 examples interactive upgrade of example's dependencies
273
- @cd examples/${* } && yarn upgrade-interactive --latest
274
-
275
- example-start-% : # #@4 examples start example in dev mode, eg. example-start-retro
276
- @echo " ${YELLOW} Starting ${WHITE}${* }${YELLOW} example dev server${RESET} "
277
- @cd examples/${* } && yarn start
278
-
279
- examples-build : # #@4 examples build all examples
280
- @$(MAKE ) example-build-retro
281
- @$(MAKE ) example-build-typescript
282
-
283
- example-build-% : # #@4 examples build an example, eg. example-build-retro
284
- @echo " ${YELLOW} Building ${WHITE}${* }${YELLOW} example${RESET} "
285
- @cd examples/${* } && yarn build
286
-
287
255
# #######################################################################################################################
288
256
#
289
257
# API
0 commit comments