Skip to content

Commit 0e36066

Browse files
Add project/devbox.json.j2 template
1 parent 4f1dd8f commit 0e36066

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

project/devbox.json.j2

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"packages": {
3+
"asdf-vm": "latest",
4+
"gh": "latest",
5+
"git": "latest",
6+
"glib": "latest",
7+
"glibcLocalesUtf8": {
8+
"version": "latest",
9+
"platforms": [
10+
"x86_64-linux",
11+
"aarch64-linux"
12+
]
13+
},
14+
"gnumake": "latest",
15+
"go-task": "latest",
16+
"kubectl": "latest",
17+
"nodejs_23": "latest",
18+
"openssl": "latest",
19+
"pre-commit": "latest",
20+
"ruff": "latest",
21+
"tilt": "latest",
22+
"uv": "latest"
23+
},
24+
"env": {
25+
"VENV_DIR": ".venv",
26+
"UV_HTTP_TIMEOUT": "90",
27+
"UV_COMPILE_BYTECODE": "1",
28+
"UV_LINK_MODE": "copy",
29+
"LANG": "en_US.UTF-8",
30+
"LC_ALL": "en_US.UTF-8",
31+
"LANGUAGE": "en_US.UTF-8"
32+
},
33+
"shell": {
34+
"init_hook": [
35+
"[ -d ${VENV_DIR} ] || uv venv ${VENV_DIR}",
36+
". $VENV_DIR/bin/activate",
37+
"uv pip install -r pyproject.toml --all-extras"
38+
],
39+
"scripts": {
40+
"install": "uv pip install -r pyproject.toml --all-extras",
41+
"export-reqs": "uv pip freeze | uv pip compile - -o requirements.txt",
42+
"venv": "uv venv ${VENV_DIR}",
43+
"test": "pytest"
44+
}
45+
}
46+
}

0 commit comments

Comments
 (0)