-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
147 lines (147 loc) · 3.89 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.{cts,mts,ts}"],
"outputs": ["dist/**", "lib/**"]
},
"@cornie-js/api-graphql-schemas#build": {
"dependsOn": ["^build"],
"inputs": ["schemas/**/*.graphql"]
},
"@cornie-js/api-json-schemas#build": {
"dependsOn": ["^build"],
"inputs": ["schemas/**/*.json"]
},
"@cornie-js/api-openapi-schema#build": {
"dependsOn": ["^build"],
"inputs": ["schemas/src/one-game.yaml", "src/**/*.ts"],
"outputs": ["dist/**", "lib/**", "schemas/generated/one-game.yaml"]
},
"@cornie-js/api-models#build": {
"dependsOn": ["^build"],
"inputs": [
"src/**/*.ts",
"!src/models/ApiSchemaId.ts",
"!src/models/types.ts"
],
"outputs": ["lib/**", "src/models/ApiSchemaId.ts", "src/models/types.ts"]
},
"@cornie-js/api-graphql-models#build": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts", "!src/models/types.ts"],
"outputs": ["lib/**", "src/models/types.ts"]
},
"@cornie-js/web-ui#build": {
"dependsOn": ["^build"],
"inputs": [
"src/**/*.{cjs,css,js,jsx,scss,ts,tsx}",
"vite.config.js",
"tsconfig.json"
],
"outputs": ["dist/*", "dist/**"]
},
"@cornie-js/web-ui#format": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.{cjs,js,jsx}"]
},
"@cornie-js/web-ui#test:uncommitted": {
"inputs": ["src/**/*.{js,jsx,ts,tsx}"],
"outputs": []
},
"close:e2e": {
"cache": false
},
"format": {
"inputs": ["src/**/*.{cts,mts,ts}"],
"outputs": ["src/**/*.{cts,mts,ts}"]
},
"lint": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.{cts,mts,ts}"]
},
"migrations:run": {
"dependsOn": ["build"],
"inputs": ["dist/**", "lib/**"]
},
"serve": {
"cache": false,
"dependsOn": ["build"],
"env": [
"ONE_JS_GAME_SERVICE_DOT_ENV_PATH",
"ONE_JS_GATEWAY_SERVICE_DOT_ENV_PATH",
"ONE_JS_TEST_E2E_DOT_ENV_PATH",
"ONE_JS_USER_SERVICE_DOT_ENV_PATH"
],
"persistent": true
},
"serve:docker": {
"cache": false,
"persistent": true
},
"start:e2e": {
"cache": false,
"dependsOn": ["build"],
"env": [
"ONE_JS_GAME_SERVICE_DOT_ENV_PATH",
"ONE_JS_GATEWAY_SERVICE_DOT_ENV_PATH",
"ONE_JS_TEST_E2E_DOT_ENV_PATH",
"ONE_JS_USER_SERVICE_DOT_ENV_PATH"
]
},
"test": {
"inputs": ["src/**/*.{cts,mts,ts}"],
"outputs": []
},
"test:e2e": {
"cache": false,
"env": [
"ONE_JS_GAME_SERVICE_DOT_ENV_PATH",
"ONE_JS_GATEWAY_SERVICE_DOT_ENV_PATH",
"ONE_JS_TEST_E2E_DOT_ENV_PATH",
"ONE_JS_USER_SERVICE_DOT_ENV_PATH"
]
},
"test:e2e:js": {
"cache": false,
"dependsOn": ["build"],
"env": [
"ONE_JS_GAME_SERVICE_DOT_ENV_PATH",
"ONE_JS_GATEWAY_SERVICE_DOT_ENV_PATH",
"ONE_JS_TEST_E2E_DOT_ENV_PATH",
"ONE_JS_USER_SERVICE_DOT_ENV_PATH"
]
},
"test:integration:js": {
"dependsOn": ["build"],
"inputs": ["{dist,lib}/**/*.{cjs,mjs,js}"],
"outputs": []
},
"test:js": {
"dependsOn": ["build"],
"inputs": ["{dist,lib}/**/*.{cjs,mjs,js}"],
"outputs": []
},
"test:js:coverage": {
"dependsOn": ["build"],
"inputs": ["{dist,lib}/**/*.{cjs,mjs,js}"],
"outputs": ["coverage/**"]
},
"test:mutation": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.{cts,mts,ts}"],
"outputs": ["reports/**"]
},
"test:uncommitted": {
"inputs": ["src/**/*.{cts,mts,ts}"],
"outputs": []
},
"test:unit:js": {
"dependsOn": ["build"],
"inputs": ["{dist,lib}/**/*.{cjs,mjs,js}"],
"outputs": []
}
},
"ui": "tui"
}