forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
109 lines (109 loc) · 2.65 KB
/
turbo.json
File metadata and controls
109 lines (109 loc) · 2.65 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
{
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": ["tsconfig.json", "tsconfig.build.template.json"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"env": ["LOG_LEVEL"],
// WHY explicit inputs:
// By default, Turbo hashes ALL files to determine cache validity.
// This causes unnecessary rebuilds when unrelated files change (README, tests, etc).
// Listing only build-relevant files improves cache hit rates significantly.
"inputs": [
"src/**",
"package.json",
"tsconfig*.json",
"build.ts",
"tsup.config.ts",
"vite.config.ts",
"postcss.config.js",
"tailwind.config.ts",
"bunfig.toml",
"tsconfig.build.json",
"../../build-utils.ts"
],
"outputs": ["dist/**"]
},
"@elizaos/client#build": {
"dependsOn": ["^build"],
"env": ["LOG_LEVEL"],
"inputs": [
"src/**",
"package.json",
"tsconfig*.json",
"vite.config.ts",
"postcss.config.js",
"tailwind.config.ts",
"bunfig.toml",
"index.html",
"../../build-utils.ts"
],
"outputs": ["dist/**"]
},
"@elizaos/cli#build": {
"dependsOn": ["^build"],
"env": ["LOG_LEVEL"],
"inputs": [
"src/**",
"package.json",
"tsconfig*.json",
"build.ts",
"tsconfig.build.json",
"bunfig.toml",
"../../build-utils.ts"
],
"outputs": ["dist/**"]
},
"@elizaos/server#build": {
"dependsOn": ["@elizaos/client#build", "^build"],
"env": ["LOG_LEVEL"],
"inputs": [
"src/**",
"package.json",
"tsconfig*.json",
"build.ts",
"tsconfig.build.json",
"bunfig.toml",
"../../build-utils.ts"
],
"outputs": ["dist/**"]
},
"lint": {
"outputs": [".eslintcache"]
},
"lint:check": {
"outputs": [".eslintcache"]
},
"format": {
"outputs": []
},
"format:check": {
"outputs": []
},
"start": {
"dependsOn": ["@elizaos/core#build"],
"env": ["LOG_LEVEL"],
"persistent": true
},
"dev": {
"dependsOn": ["@elizaos/core#build"],
"persistent": true
},
"test": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"],
"inputs": ["src/**/*.ts", "src/**/*.js", "__tests__/**/*", "*.test.*"]
},
"migrate": {
"dependsOn": ["@elizaos/core#build"],
"cache": false
},
"migrate:generate": {
"dependsOn": ["@elizaos/core#build"],
"cache": false
},
"clean": {
"cache": false
}
}
}