-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathnx.json
More file actions
57 lines (57 loc) · 1.69 KB
/
Copy pathnx.json
File metadata and controls
57 lines (57 loc) · 1.69 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
{
"$schema": "https://raw.githubusercontent.com/nrwl/nx/refs/heads/master/packages/nx/schemas/nx-schema.json",
"parallel": "200%",
"targetDefaults": {
"dev:prepare": {
"inputs": [
"{projectRoot}/**/*.{ts,tsx}",
"{projectRoot}/tsconfig.json",
"{projectRoot}/package.json"
],
"outputs": ["{projectRoot}/lib/**/*.js", "{projectRoot}/bin/**/*.js"],
"cache": true
},
"build:lib": {
"dependsOn": ["^dev:prepare"],
"inputs": [
"{projectRoot}/src/**/*.{ts,tsx}",
"{projectRoot}/tsconfig.json",
"{projectRoot}/package.json",
"{workspaceRoot}/gulpfile.js"
],
"outputs": ["{projectRoot}/lib/**/*.js", "{projectRoot}/bin/**/*.js"],
"cache": true
},
"test": {
"dependsOn": [
{"projects": ["*"], "target": "build-native-release"},
{"projects": ["*"], "target": "build:lib"}
]
},
"test:integration": {
"dependsOn": [
{"projects": ["*"], "target": "build-native-release"},
{"projects": ["*"], "target": "build:lib"}
]
},
"build-native-release": {
"inputs": [
"{workspaceRoot}/scripts/build-native.js",
"{workspaceRoot}/crates/**/*.rs",
"{workspaceRoot}/crates/**/*.toml",
"{workspaceRoot}/packages/**/*.rs",
"{workspaceRoot}/packages/**/*.toml",
"{workspaceRoot}/Cargo.lock",
"{workspaceRoot}/Cargo.toml"
],
"outputs": ["{workspaceRoot}/target/**/*"],
"cache": true
},
"test:integration:ci": {
"dependsOn": [
{"projects": ["*"], "target": "build-native-release"},
{"projects": ["*"], "target": "build:lib"}
]
}
}
}