-
Notifications
You must be signed in to change notification settings - Fork 3
/
turbo.json
132 lines (132 loc) · 2.49 KB
/
turbo.json
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
{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": [
"PLAYWRIGHT_HTML_OPEN"
],
"tasks": {
"tsc-build": {
"dependsOn": [
// Don't use "transit nodes"! https://turbo.build/repo/docs/core-concepts/package-and-task-graph#transit-nodes
// tsc-build, build, eslint, and check all require their parents' tsc-build runs to succeed.
"^tsc-build"
],
"outputs": [
"lib/**"
]
},
"eslint": {
"dependsOn": [
// "By using typed linting in your config, you incur the performance penalty of asking TypeScript to do a build of your project before ESLint can do its linting" https://typescript-eslint.io/getting-started/typed-linting#how-is-performance
"tsc-build"
]
},
"hub#build": {
"dependsOn": [
// I don't think hub's eslint and build can run concurrently. Without this we get an error in Github Actions like
// Error: ENOENT: no such file or directory, open '/home/runner/work/Pentive/Pentive/hub/app.config.timestamp_1725915755421.js'
"hub#eslint"
],
"outputs": [
"dist/**",
".vinxi/**"
]
},
"check": {
"dependsOn": [
"tsc-build"
]
},
"test": {
"cache": false,
"persistent": true
},
"test:run": {},
"shared-dom#test:run": { // grep AD3A801F-81D4-4C83-80A3-94ED10F05608
"dependsOn": [
"shared-dom#tsc-build"
]
},
"app-playwright#test:run": {
"dependsOn": [
"app#buildTest",
"app-ugc#buildTest",
"pentive-solid-plugin-example#pack",
"app-playwright#pack"
],
"inputs": [
"$TURBO_DEFAULT$",
".env"
]
},
"deploy": {
"dependsOn": [
"build"
],
"env": [
"CLOUDFLARE_ACCOUNT_ID",
"CLOUDFLARE_API_TOKEN"
]
},
"pack": {
"dependsOn": [
"build"
],
"outputs": [
"*.tgz"
]
},
"build": {
"dependsOn": [
"tsc-build"
],
"outputs": [
"dist/**"
],
"inputs": [
"$TURBO_DEFAULT$",
".env.development",
".env.production",
".env.production.local",
".env"
]
},
"buildDev": {
"dependsOn": [
"tsc-build"
],
"outputs": [
"distDev/**"
]
},
"previewDev": {
"dependsOn": [
"buildDev"
],
"persistent": true,
"cache": false
},
"previewTest": {
"dependsOn": [
"buildTest"
],
"persistent": true,
"cache": false
},
"//#turso": {
"persistent": true,
"cache": false
},
"buildTest": {
"dependsOn": [
"tsc-build"
],
"outputs": [
"distTest/**"
],
"inputs": [
"$TURBO_DEFAULT$",
".env.test"
]
}
}
}