forked from CodebuffAI/codebuff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodebuff.json
More file actions
70 lines (70 loc) · 2.19 KB
/
codebuff.json
File metadata and controls
70 lines (70 loc) · 2.19 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
{
"description": "Template configuration for this project. See https://www.codebuff.com/config for all options.",
"startupProcesses": [
{
"name": "drizzle",
"command": "bun start-studio",
"stdoutFile": "debug/drizzle.log"
},
{
"name": "web-server",
"command": "bun start-web",
"stdoutFile": "debug/web.log"
}
],
"fileChangeHooks": [
{
"name": "backend-unit-tests",
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
"cwd": "backend",
"filePattern": "backend/**/*.ts"
},
{
"name": "backend-typecheck",
"command": "bun run typecheck",
"cwd": "backend",
"filePattern": "backend/**/*.ts"
},
{
"name": "npm-app-unit-tests",
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
"cwd": "npm-app",
"filePattern": "npm-app/**/*.ts"
},
{
"name": "npm-typecheck",
"command": "bun run typecheck",
"cwd": "npm-app",
"filePattern": "npm-app/**/*.ts"
},
{
"name": "web-typecheck",
"command": "bun run typecheck",
"cwd": "web",
"filePattern": "web/**/*.ts*"
},
{
"name": "common-unit-tests",
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
"cwd": "common",
"filePattern": "common/**/*.ts"
},
{
"name": "common-typecheck",
"command": "bun run typecheck",
"cwd": "common",
"filePattern": "common/**/*.ts"
},
{
"name": "prettier-format",
"command": "git diff --name-only --diff-filter=ACMR | grep -E '\\.(ts|tsx|json|md)$' | xargs -r npx prettier --write",
"filePattern": "**/*.{ts,tsx,json,md}"
},
{
"name": "regenerate-tool-definitions",
"command": "bun run generate-tool-definitions",
"filePattern": "common/src/tools/{params/tool/*.ts,list.ts}"
}
],
"maxAgentSteps": 20
}