-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Expand file tree
/
Copy pathnx.json
More file actions
98 lines (98 loc) · 2.29 KB
/
nx.json
File metadata and controls
98 lines (98 loc) · 2.29 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
{
"$schema": "https://nx.dev/reference/nx-json",
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"!{projectRoot}/node_modules/**/*",
"!{projectRoot}/**/*.md",
"!{projectRoot}/**/*.yml",
"!{projectRoot}/**/*.yaml"
],
"production": [
"default",
"!{projectRoot}/**/*.test.*",
"!{projectRoot}/**/*.spec.*",
"!{projectRoot}/**/__tests__/**"
],
"test": [
"{projectRoot}/src/**/*.ts",
"{projectRoot}/src/**/*.tsx",
"{projectRoot}/**/__tests__/**",
"{projectRoot}/**/*.test.*",
"{projectRoot}/**/*.spec.*"
]
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "{projectRoot}/.env*"],
"outputs": ["{projectRoot}/dist/**"],
"cache": true
},
"dev": {
"dependsOn": ["^build"],
"cache": false
},
"test": {
"dependsOn": ["^build"],
"inputs": ["test"],
"outputs": ["{projectRoot}/coverage/**"],
"cache": true
},
"test:watch": {
"cache": false
},
"test:coverage": {
"inputs": ["test"],
"outputs": ["{projectRoot}/coverage/**"],
"cache": true
},
"lint": {
"dependsOn": ["^lint"],
"cache": true
},
"check-types": {
"dependsOn": ["^build", "^check-types"],
"cache": true
},
"generate-graphql-schema": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/__snapshots__/**"],
"cache": true
},
"graphql-codegen": {
"dependsOn": ["^build"],
"cache": true
},
"link:global": {
"cache": false
},
"unlink:global": {
"cache": false
},
"build:css": {
"cache": true,
"outputs": [
"{projectRoot}/dist/styles.css",
"{projectRoot}/src/styles/generated.css"
]
},
"storybook:build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/storybook-static/**"],
"cache": true
},
"publint": {
"dependsOn": ["build"],
"inputs": ["{projectRoot}/package.json", "{projectRoot}/dist/**"],
"cache": true
},
"attw": {
"dependsOn": ["build"],
"inputs": ["{projectRoot}/package.json", "{projectRoot}/dist/**"],
"cache": true
}
},
"parallel": 14,
"defaultBase": "main"
}