-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
114 lines (99 loc) · 1.94 KB
/
justfile
File metadata and controls
114 lines (99 loc) · 1.94 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
set quiet
SERVICE := 'opire_design_system'
[private]
alias i := install
[private]
[doc('
List all available commands.
ex:
just
')]
default:
just --list
[doc('
Install the project dependencies.
ex:
just install
just i
')]
install:
docker compose run --rm {{SERVICE}} npm install
[doc('
Add a new dependency to the project.
ex:
just add "package"
just add "package1 package2"
just add "-D dev-package"
')]
add deps:
docker compose run --rm {{SERVICE}} npm install {{deps}}
[doc('
Run the storybook project in development mode.
ex:
just dev
')]
dev:
docker compose run --rm --service-ports {{SERVICE}} npm run dev
[doc('
Build the library.
ex:
just build-lib
')]
build-lib:
docker compose run --rm {{SERVICE}} npm run build:lib
[doc('
Build the storybook project.
ex:
just build-storybook
')]
build-storybook:
docker compose run --rm {{SERVICE}} npm run build:storybook
[doc('
Run the linter.
ex:
just lint
')]
lint:
docker compose run --rm {{SERVICE}} npm run lint
[doc('
Run the linter and fix the issues.
ex:
just lint-fix
')]
lint-fix:
docker compose run --rm {{SERVICE}} npm run lint:fix
[doc('
Run the tests.
ex:
just test
')]
test:
docker compose run --rm {{SERVICE}} npm run test
[doc('
Run the tests in watch mode.
ex:
just test-watch
')]
test-watch:
docker compose run --rm {{SERVICE}} npm run test:watch
[doc('
Upgrade the major version.
ex:
just version-major
')]
version-major:
docker compose run --rm {{SERVICE}} npm version major
[doc('
Upgrades the minor version.
ex:
just version-minor
')]
version-minor:
docker compose run --rm {{SERVICE}} npm version minor
[doc('
Upgrades the patch version.
ex:
just version-patch
')]
version-patch:
docker compose run --rm {{SERVICE}} npm version patch