Repository navigation
Expand file tree
/
Copy pathnx.json
More file actions
102 lines (102 loc) · 2.15 KB
/
Copy pathnx.json
File metadata and controls
102 lines (102 loc) · 2.15 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
99
100
101
102
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"parallel": 8,
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals",
"{workspaceRoot}/nx.json",
"{workspaceRoot}/tsconfig.base.json"
],
"sharedGlobals": [
"{workspaceRoot}/package.json",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/eslint.config.mjs",
"{workspaceRoot}/.env",
"{workspaceRoot}/.env.local",
{
"runtime": "node -p process.platform"
},
{
"runtime": "node -p process.arch"
},
{
"runtime": "node -p process.versions.node"
},
{
"env": "NODE_ENV"
}
],
"production": [
"default",
"!{projectRoot}/**/*.spec.ts",
"!{projectRoot}/**/*.spec.tsx",
"!{projectRoot}/**/*.test.ts",
"!{projectRoot}/**/*.test.tsx",
"!{projectRoot}/**/*.spec.js",
"!{projectRoot}/**/*.spec.jsx",
"!{projectRoot}/**/*.test.js",
"!{projectRoot}/**/*.test.jsx",
"!{projectRoot}/eslint.config.mjs"
]
},
"generators": {
"@nx/react": {
"application": {
"style": "styled-components",
"linter": "eslint",
"babel": true
},
"component": {
"style": "styled-components"
},
"library": {
"style": "styled-components",
"linter": "eslint"
}
},
"@nx/next": {
"application": {
"style": "styled-components",
"linter": "eslint"
}
}
},
"defaultProject": "web",
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"lint": {
"cache": true,
"inputs": ["default", "{workspaceRoot}/packages/eslint-config/**/*"]
},
"test": {
"cache": true
},
"e2e": {
"cache": true
},
"@nx/eslint:lint": {
"cache": true,
"inputs": ["default", "{workspaceRoot}/eslint.config.mjs", "{workspaceRoot}/packages/eslint-config/**/*"]
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
}
},
"@nx/next:build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"useInferencePlugins": false,
"useDaemon": true,
"defaultBase": "master"
}