-
Notifications
You must be signed in to change notification settings - Fork 8
/
nx.json
65 lines (65 loc) · 1.86 KB
/
nx.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
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"typecheck": {
"dependsOn": ["^build"],
"cache": true
},
"build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/dist"],
"cache": true
},
"format": {
"inputs": ["{workspaceRoot}/.prettierrc"],
"cache": false
},
"format:check": {
"inputs": ["{workspaceRoot}/.prettierrc"],
"cache": true
},
"lint": {
"dependsOn": ["^build", "typecheck"],
"inputs": ["{workspaceRoot}/eslint.config.mjs"],
"cache": true
},
"lint:fix": {
"dependsOn": ["^build", "typecheck"],
"inputs": ["{workspaceRoot}/eslint.config.mjs"],
"cache": false
},
"test": {
"dependsOn": ["^build", "typecheck"],
"cache": true
},
"coverage": {
"dependsOn": ["^build", "typecheck"],
"outputs": ["{projectRoot}/coverage", "{projectRoot}/.nyc_output"],
"cache": true
},
"build-docs": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/build", "{projectRoot}/.docusaurus"],
"cache": true
}
},
"defaultBase": "main",
"release": {
"projects": ["@stricli/*", "!@stricli/docs"],
"releaseTagPattern": "release/{version}",
"version": {
"conventionalCommits": true
},
"changelog": {
"workspaceChangelog": {
"createRelease": "github"
}
},
"git": {
"commitMessage": "chore(release): {version}"
}
},
"namedInputs": {
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
}
}