-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathnx.json
More file actions
71 lines (71 loc) · 1.86 KB
/
nx.json
File metadata and controls
71 lines (71 loc) · 1.86 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
{
"$schema": "https://raw.githubusercontent.com/nrwl/nx/master/packages/nx/schemas/nx-schema.json",
"extends": "nx/presets/npm.json",
"defaultBase": "master",
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"{workspaceRoot}/pnpm-lock.yaml",
{
"runtime": "node -v"
}
],
"production": ["!{projectRoot}/test/**/*", "!{projectRoot}/eslint.config.js", "!{projectRoot}/stryker.conf.js"]
},
"targetDefaults": {
"build:tsc": {
"inputs": ["default", "{projectRoot}/**/*.ts", "{workspaceRoot}/**/*.ts"],
"dependsOn": ["report-schema:generate"],
"outputs": ["{projectRoot}/packages/*/dist", "{projectRoot}/packages/*/dist-tsc"],
"cache": true
},
"build": {
"inputs": ["production", "^production"],
"dependsOn": ["^build", "root:build:tsc"],
"outputs": ["{projectRoot}/dist", "{projectRoot}/target"],
"cache": true
},
"generate": {
"inputs": [
"{projectRoot}/src/*.json",
"{workspaceRoot}/tasks/schema2ts.mjs",
{
"externalDependencies": ["json-schema-to-typescript"]
}
],
"outputs": ["{projectRoot}/src-generated"],
"cache": true
},
"test": {
"inputs": ["default", "^production"],
"dependsOn": ["root:build:tsc"],
"cache": true
},
"stryker": {
"inputs": [
"default",
"^production",
{
"env": "GITHUB_REF"
}
],
"dependsOn": ["generate", "root:build:tsc", "^build"],
"outputs": ["{projectRoot}/reports", "{projectRoot}/target/stryker4s-report-*/"],
"cache": true
},
"lint": {
"dependsOn": ["root:build:tsc"],
"cache": true
},
"lint:prettier": {
"cache": true
},
"start": {
"dependsOn": ["root:build:tsc"]
}
},
"tui": {
"autoExit": true
},
"analytics": false
}