-
Notifications
You must be signed in to change notification settings - Fork 202
Expand file tree
/
Copy pathdevbox.json
More file actions
46 lines (46 loc) · 1.62 KB
/
devbox.json
File metadata and controls
46 lines (46 loc) · 1.62 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.2/.schema/devbox.schema.json",
"packages": {
"cocoapods": {
"version": "latest",
"platforms": ["x86_64-darwin", "aarch64-darwin"]
},
"nodejs": "22",
"yarn-berry": "latest",
"jq": "latest",
"treefmt": "latest",
"nixfmt": "latest",
"shfmt": "latest"
},
"shell": {
"init_hook": [
"export PROJECT_ROOT=\"$(git rev-parse --show-toplevel 2>/dev/null || echo $DEVBOX_PROJECT_ROOT)\"",
"export PATH=\"$PROJECT_ROOT/node_modules/.bin:$PATH\"",
"if [ ! -d \"$PROJECT_ROOT/node_modules\" ]; then echo 'Running yarn install...'; yarn install; fi",
"if [ ! -f \"$PROJECT_ROOT/packages/core/src/info.ts\" ]; then yarn core prebuild; fi",
"if [ ! -d \"$PROJECT_ROOT/.husky/_\" ]; then yarn husky install; fi"
],
"scripts": {
"ci:install": ["yarn install --immutable"],
"ci:commitlint": ["bash -c 'echo \"$PR_TITLE\" | yarn commitlint'"],
"build": ["yarn build"],
"test": ["yarn test"],
"typecheck": ["yarn typecheck"],
"lint": ["yarn lint"],
"format": ["yarn format"],
"format-check": ["yarn format:check"],
"clean": ["yarn clean"],
"release": ["yarn install --immutable", "yarn build", "yarn release"],
"release-dry-run": [
"yarn install --immutable",
"yarn build",
"yarn multi-semantic-release --dry-run"
],
"sync-versions": ["bash $PROJECT_ROOT/scripts/sync-versions.sh"],
"update-apps": [
"yarn install --no-immutable",
"yarn example install --no-immutable"
]
}
}
}