-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathnx.json
More file actions
53 lines (53 loc) · 1.3 KB
/
Copy pathnx.json
File metadata and controls
53 lines (53 loc) · 1.3 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
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "main",
"workspaceLayout": {
"appsDir": "apps",
"libsDir": "libs"
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/**/*.spec.ts",
"!{projectRoot}/**/*.test.ts",
"!{projectRoot}/**/*.stories.ts",
"!{projectRoot}/**/*.stories.js",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/karma.conf.js"
],
"sharedGlobals": [
"{workspaceRoot}/eslint.config.js",
"{workspaceRoot}/nx.json",
"{workspaceRoot}/package.json",
"{workspaceRoot}/package-lock.json",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/tsconfig.json"
]
},
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"package": {
"cache": true,
"dependsOn": ["build", "^build"],
"inputs": ["production", "^production"]
},
"test": {
"cache": true,
"inputs": ["default", "^production"]
},
"lint": {
"cache": true,
"inputs": ["default", "{workspaceRoot}/eslint.config.js"]
}
},
"pluginsConfig": {
"@nx/js": {
"analyzeSourceFiles": true
}
}
}