File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
10
10
11
11
### Added
12
12
13
+ - Add command to run storybook in the Makefile
13
14
- Upgrade docker compose to latest version
14
15
- Enable CORS Headers
15
16
- Add Multilingual
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ COMPOSE_EXEC = $(COMPOSE) exec
48
48
COMPOSE_EXEC_APP = $(COMPOSE_EXEC ) app
49
49
COMPOSE_EXEC_NODE = $(COMPOSE_EXEC ) node
50
50
COMPOSE_RUN_APP = $(COMPOSE_RUN ) app
51
+ COMPOSE_RUN_NODE = $(COMPOSE_RUN ) node
51
52
COMPOSE_RUN_CROWDIN = $(COMPOSE_RUN ) crowdin crowdin
52
53
COMPOSE_TEST_RUN = $(COMPOSE ) run --rm -e DJANGO_CONFIGURATION=Test
53
54
COMPOSE_TEST_RUN_APP = $(COMPOSE_TEST_RUN ) app
@@ -124,6 +125,11 @@ test-front:
124
125
@$(COMPOSE_RUN ) -e HOME=" /tmp" -w /app/src/frontend node yarn test
125
126
.PHONY :test-front
126
127
128
+ dev-storybook : # # Run the storybook locally
129
+ dev-storybook :
130
+ @$(COMPOSE_RUN_NODE ) bash -c " cd magnify/packages/components && yarn install && yarn storybook"
131
+ .PHONY : dev-storybook
132
+
127
133
lint-front : # # run all front-end "linters"
128
134
lint-front : \
129
135
lint-front-eslint \
You canβt perform that action at this time.
0 commit comments