forked from gentooboontoo/js-quantities
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
88 lines (77 loc) · 2.14 KB
/
Copy pathTaskfile.yml
File metadata and controls
88 lines (77 loc) · 2.14 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
version: "3"
includes:
core:
taskfile: ./packages/core/Taskfile.yml
dir: ./packages/core
registry:
taskfile: ./packages/registry/Taskfile.yml
dir: ./packages/registry
units:
taskfile: ./packages/units/Taskfile.yml
dir: ./packages/units
to-compound:
taskfile: ./packages/to-compound/Taskfile.yml
dir: ./packages/to-compound
tasks:
build:
desc: Build all packages in dependency order
# * `cmds` runs sequentially
cmds:
- task: core:build
- task: registry:build
- task: units:build
- task: to-compound:build
typecheck:
desc: Typecheck all packages and their tests
# * `deps` runs in parallel
deps:
- core:typecheck
- registry:typecheck
- units:typecheck
- to-compound:typecheck
- typecheck:tests
typecheck:tests:
desc: Typecheck test files (excluded from the build)
# * tests are checked here, never emitted — see tsconfig.json
cmds:
- bunx tsgo --noEmit -p tsconfig.json
test:
desc: Run all tests
cmds:
- bun test
lint:
desc: Lint the codebase
deps:
- core:lint
- registry:lint
- units:lint
- to-compound:lint
format:
desc: Format the codebase
deps:
- core:format
- registry:format
- units:format
- to-compound:format
format:check:
desc: Check formatting
deps:
- core:format:check
- registry:format:check
- units:format:check
- to-compound:format:check
ci:
desc: Run all CI checks
deps:
- core:ci
- registry:ci
- units:ci
- to-compound:ci
change:
desc: "Author a changeset describing the current changes"
cmds:
- bunx changeset
version:
desc: "Consume changesets: bump versions and write changelogs"
cmds:
- bunx changeset version