-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
167 lines (131 loc) · 4.15 KB
/
mise.toml
File metadata and controls
167 lines (131 loc) · 4.15 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
min_version = "2026.3.4"
[tools]
aube = "1.0.0-beta.9"
bun = "1.3"
go = "1.24"
hk = "1.36.0"
jq = "latest"
node = "22"
pkl = "0.30.2"
pnpm = "10.27.0"
rust = "latest"
uv = "0.10.7"
yarn = "4.14.1"
[tasks.docs]
description = "Build unified docs site (zensical + typedoc + dependicus) into docs-out/"
depends = ["pnpm:build", "docs:zensical", "docs:typedoc", "docs:dependicus"]
run = "rm -rf docs-out/dependicus && mkdir -p docs-out && cp -r docs/site docs-out/dependicus && cp -r typedoc-out docs-out/dependicus/api && cp -r dependicus-out docs-out/dependicus/dependencies"
[tasks."docs:zensical"]
description = "Build zensical docs"
dir = "{{config_root}}/docs"
run = "uv run zensical build"
[tasks."docs:typedoc"]
description = "Build typedoc API reference"
run = "pnpm run typedoc"
[tasks."docs:dependicus"]
description = "Run dependicus on itself"
run = "node dist/bin.mjs update --html --provider pnpm --provider bun --provider yarn --provider npm --provider aube --provider mise --provider uv --provider go --provider rust"
[tasks."pnpm:build"]
description = "Build with pnpm"
run = "pnpm run build"
[tasks."pnpm:test"]
description = "Run tests with pnpm"
run = "pnpm run test"
[tasks."pnpm:typecheck"]
description = "Typecheck with pnpm"
depends = ["pnpm:build"]
run = "pnpm run typecheck"
[tasks."pnpm:clean"]
description = "Clean with pnpm"
run = "pnpm run clean"
[tasks."bun:build"]
description = "Build with bun"
run = "bun run build"
[tasks."bun:test"]
description = "Run tests with bun"
run = "bun run test"
[tasks."bun:typecheck"]
description = "Typecheck with bun"
depends = ["bun:build"]
run = "bun run typecheck"
[tasks."bun:clean"]
description = "Clean with bun"
run = "bun run clean"
[tasks."npm:build"]
description = "Build with npm"
run = "npm run build"
[tasks."npm:test"]
description = "Run tests with npm"
run = "npm run test"
[tasks."npm:typecheck"]
description = "Typecheck with npm"
depends = ["npm:build"]
run = "npm run typecheck"
[tasks."npm:clean"]
description = "Clean with npm"
run = "npm run clean"
[tasks."yarn:build"]
description = "Build with yarn"
run = "yarn run build"
[tasks."yarn:test"]
description = "Run tests with yarn"
run = "yarn run test"
[tasks."yarn:typecheck"]
description = "Typecheck with yarn"
depends = ["yarn:build"]
run = "yarn run typecheck"
[tasks."yarn:clean"]
description = "Clean with yarn"
run = "yarn run clean"
[tasks."aube:build"]
description = "Build with aube"
run = "aube run build"
[tasks."aube:test"]
description = "Run tests with aube"
run = "aube run test"
[tasks."aube:typecheck"]
description = "Typecheck with aube"
depends = ["aube:build"]
run = "aube run typecheck"
[tasks."aube:clean"]
description = "Clean with aube"
run = "aube run clean"
[tasks."switch:pnpm"]
description = "Delete node_modules and reinstall with pnpm"
run = "bash scripts/switch-pm.sh pnpm"
[tasks."switch:bun"]
description = "Delete node_modules and reinstall with bun"
run = "bash scripts/switch-pm.sh bun"
[tasks."switch:npm"]
description = "Delete node_modules and reinstall with npm"
run = "bash scripts/switch-pm.sh npm"
[tasks."switch:yarn"]
description = "Delete node_modules and reinstall with yarn"
run = "bash scripts/switch-pm.sh yarn"
[tasks."switch:aube"]
description = "Delete node_modules and reinstall with aube"
run = "bash scripts/switch-pm.sh aube"
[tasks.which-pm]
description = "Show which package manager installed node_modules"
run = "cat .package-manager 2>/dev/null || echo 'unknown (run switch:pnpm, switch:bun, switch:npm, switch:yarn, or switch:aube first)'"
[tasks.update-all-lockfiles]
description = "Regenerate lockfiles for all package managers, ending on pnpm"
run = """
for pm in npm yarn bun aube pnpm; do
echo "=== Switching to $pm ==="
bash scripts/switch-pm.sh "$pm"
done
"""
[tasks.release]
description = "Build, test, and publish dependicus to NPM"
depends = ["pnpm:build", "pnpm:test", "pnpm:typecheck"]
interactive = true
run = "pnpm publish"
[tasks.prerelease]
description = "Build, test, and publish a prerelease to NPM"
depends = ["pnpm:build", "pnpm:test", "pnpm:typecheck"]
interactive = true
run = "pnpm publish --tag rc"
[tasks.delete-node-modules]
description = "Delete node_modules"
run = "rm -rf node_modules"