-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
42 lines (33 loc) · 1.31 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
stencil := "mwui-stencil"
react := "mwui-react"
angular := "mwui-angular"
vue := "mwui-vue"
tokenFarm := "mwui-token-farm"
# Install required deps
install:
npm install && husky install
# Build tokens then run stencil & storybook in watch mode
dev:
cd {{ tokenFarm }} && npm run build
cd {{ stencil }} && npm run build -- --watch & npm run storybook -- --watch
update-core integration:
cd {{ integration }} && npm i "@maibornwolff/mwui-stencil@latest"
build integration:
cd {{ integration }} && npm run build
publish versionType:
just publish-core {{ versionType }}
just publish-integrations {{ versionType }}
publish-core versionType:
just build {{ stencil }}
git add . && git commit -m "chore: build {{ stencil }} integration"
cd {{ stencil }} && npm run release -- {{ versionType }} --ci
publish-integration integration versionType:
just update-core {{ integration }}
just build {{ integration }}
git add . && git commit -m "chore: build {{ integration }} integration"
cd {{ integration }} && npm run release -- {{ versionType }} --ci
publish-integrations versionType:
# just publish-integration {{ angular }} {{ versionType }}
just publish-integration {{ vue }} {{ versionType }}
just publish-integration {{ react }} {{ versionType }}
just publish-integration {{ tokenFarm }} {{ versionType }}