Repository navigation
Expand file tree
/
Copy pathproject.json
More file actions
110 lines (110 loc) · 2.85 KB
/
Copy pathproject.json
File metadata and controls
110 lines (110 loc) · 2.85 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
103
104
105
106
107
108
109
110
{
"name": "nx",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/nx",
"projectType": "library",
"implicitDependencies": ["graph-client"],
"targets": {
"build-native": {
"outputs": ["{projectRoot}/src/native/*.node"],
"executor": "@monodon/rust:napi",
"options": {
"dist": "packages/nx/src/native",
"jsFile": "packages/nx/src/native/index.js",
"release": true
},
"configurations": {
"local": {
"release": false
}
}
},
"copy-native-package-directories": {
"command": "cp -R build/packages/nx/native-packages/* build/packages"
},
"artifacts": {
"dependsOn": ["copy-native-package-directories"],
"command": "pnpm napi artifacts -c build/packages/nx/package.json -d ./artifacts --dist build/packages"
},
"build-base": {
"executor": "@nx/js:tsc",
"options": {
"main": "packages/nx/bin/nx.ts",
"assets": [
{
"input": "packages/nx",
"glob": ".npmignore",
"output": "/"
},
{
"input": "packages/nx",
"glob": "**/files/**",
"output": "/"
},
{
"input": "packages/nx",
"glob": "**/files/**/.gitkeep",
"output": "/"
},
{
"input": "packages/nx",
"glob": "**/*.json",
"ignore": [
"**/tsconfig*.json",
"**/project.json",
"**/__fixtures__/**"
],
"output": "/"
},
{
"input": "packages/nx",
"glob": "**/*.{js,css,html,svg}",
"ignore": ["**/jest.config.js"],
"output": "/"
},
{
"input": "packages/nx",
"glob": "**/*.d.ts",
"output": "/"
},
{
"input": "",
"glob": "LICENSE",
"output": "/"
}
]
}
},
"echo": {
"command": "echo hi"
},
"build": {
"dependsOn": ["^build-client", "build-base", "build-native"],
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/build/packages/nx"],
"options": {
"commands": [
{
"command": "node ./scripts/copy-local-native.js nx"
},
{
"command": "node ./scripts/copy-graph-client.js"
},
{
"command": "node ./scripts/chmod build/packages/nx/bin/nx.js"
},
{
"command": "node ./scripts/copy-readme.js nx"
}
],
"parallel": false
}
},
"add-extra-dependencies": {
"command": "node ./scripts/add-dependency-to-build.js nx @nrwl/tao"
},
"lint": {},
"test": {},
"test-native": {}
}
}