@ohos-ports/nx 19.8.4-beta.0 → 19.8.4-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/package.json +21 -9
  2. package/src/native/index.js +1 -0
  3. package/src/native/native-bindings.js +10 -16
  4. package/src/native/{nx.openharmony-arm64.node → nx.ohos-arm64.node} +0 -0
  5. package/.eslintrc.json +0 -140
  6. package/node_modules/@nrwl/tao/LICENSE +0 -22
  7. package/node_modules/@nrwl/tao/README.md +0 -18
  8. package/node_modules/@nrwl/tao/index.d.ts +0 -1
  9. package/node_modules/@nrwl/tao/index.js +0 -7
  10. package/node_modules/@nrwl/tao/package.json +0 -41
  11. package/node_modules/@nrwl/tao/src/commands/ngcli-adapter.d.ts +0 -1
  12. package/node_modules/@nrwl/tao/src/commands/ngcli-adapter.js +0 -5
  13. package/node_modules/@nrwl/tao/src/shared/logger.d.ts +0 -1
  14. package/node_modules/@nrwl/tao/src/shared/logger.js +0 -5
  15. package/node_modules/@nrwl/tao/src/shared/nx.d.ts +0 -1
  16. package/node_modules/@nrwl/tao/src/shared/nx.js +0 -5
  17. package/node_modules/@nrwl/tao/src/shared/package-manager.d.ts +0 -1
  18. package/node_modules/@nrwl/tao/src/shared/package-manager.js +0 -5
  19. package/node_modules/@nrwl/tao/src/shared/project-graph.d.ts +0 -1
  20. package/node_modules/@nrwl/tao/src/shared/project-graph.js +0 -5
  21. package/node_modules/@nrwl/tao/src/shared/tree.d.ts +0 -1
  22. package/node_modules/@nrwl/tao/src/shared/tree.js +0 -5
  23. package/node_modules/@nrwl/tao/src/utils/app-root.d.ts +0 -1
  24. package/node_modules/@nrwl/tao/src/utils/app-root.js +0 -5
  25. package/release/changelog-renderer/index.d.ts +0 -80
  26. package/release/changelog-renderer/index.js +0 -315
  27. package/release/index.d.ts +0 -4
  28. package/release/index.js +0 -12
  29. package/schemas/nx-schema.json +0 -819
  30. package/schemas/project-schema.json +0 -331
  31. package/schemas/workspace-schema.json +0 -185
  32. package/tasks-runners/default.d.ts +0 -1
  33. package/tasks-runners/default.js +0 -5
@@ -1,331 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "https://nx.dev/reference/project-configuration",
4
- "title": "JSON schema for Nx projects",
5
- "type": "object",
6
- "properties": {
7
- "name": {
8
- "type": "string",
9
- "description": "Project's name. Optional if specified in workspace.json"
10
- },
11
- "root": {
12
- "type": "string",
13
- "description": "Project's location relative to the root of the workspace"
14
- },
15
- "sourceRoot": {
16
- "type": "string",
17
- "description": "The location of project's sources relative to the root of the workspace"
18
- },
19
- "projectType": {
20
- "type": "string",
21
- "description": "Type of project supported",
22
- "enum": ["library", "application"]
23
- },
24
- "generators": {
25
- "type": "object",
26
- "description": "List of default values used by generators"
27
- },
28
- "namedInputs": {
29
- "type": "object",
30
- "description": "Named inputs used by inputs defined in targets",
31
- "additionalProperties": {
32
- "$ref": "#/definitions/inputs"
33
- }
34
- },
35
- "targets": {
36
- "type": "object",
37
- "description": "Configures all the targets which define what tasks you can run against the project",
38
- "additionalProperties": {
39
- "type": "object",
40
- "properties": {
41
- "executor": {
42
- "description": "The function that Nx will invoke when you run this target",
43
- "type": "string"
44
- },
45
- "options": {
46
- "type": "object"
47
- },
48
- "outputs": {
49
- "type": "array",
50
- "items": {
51
- "type": "string"
52
- }
53
- },
54
- "defaultConfiguration": {
55
- "type": "string",
56
- "description": "The name of a configuration to use as the default if a configuration is not provided"
57
- },
58
- "configurations": {
59
- "type": "object",
60
- "description": "provides extra sets of values that will be merged into the options map",
61
- "additionalProperties": {
62
- "type": "object"
63
- }
64
- },
65
- "inputs": {
66
- "$ref": "#/definitions/inputs"
67
- },
68
- "dependsOn": {
69
- "type": "array",
70
- "items": {
71
- "oneOf": [
72
- {
73
- "type": "string"
74
- },
75
- {
76
- "type": "object",
77
- "properties": {
78
- "projects": {
79
- "oneOf": [
80
- {
81
- "type": "string",
82
- "description": "A project name"
83
- },
84
- {
85
- "type": "array",
86
- "description": "An array of project names",
87
- "items": {
88
- "type": "string"
89
- }
90
- }
91
- ]
92
- },
93
- "dependencies": {
94
- "type": "boolean"
95
- },
96
- "target": {
97
- "type": "string",
98
- "description": "The name of the target."
99
- },
100
- "params": {
101
- "type": "string",
102
- "description": "Configuration for params handling.",
103
- "enum": ["ignore", "forward"],
104
- "default": "ignore"
105
- }
106
- },
107
- "oneOf": [
108
- {
109
- "required": ["projects", "target"]
110
- },
111
- {
112
- "required": ["dependencies", "target"]
113
- },
114
- {
115
- "required": ["target"],
116
- "not": {
117
- "anyOf": [
118
- {
119
- "required": ["projects"]
120
- },
121
- {
122
- "required": ["dependencies"]
123
- }
124
- ]
125
- }
126
- }
127
- ],
128
- "additionalProperties": false
129
- }
130
- ]
131
- }
132
- },
133
- "command": {
134
- "type": "string",
135
- "description": "A shorthand for using the nx:run-commands executor"
136
- },
137
- "cache": {
138
- "type": "boolean",
139
- "description": "Specifies if the given target should be cacheable"
140
- },
141
- "parallelism": {
142
- "type": "boolean",
143
- "default": true,
144
- "description": "Whether this target can be run in parallel with other tasks"
145
- },
146
- "metadata": {
147
- "type": "object",
148
- "description": "Metadata about the target",
149
- "properties": {
150
- "description": {
151
- "type": "string",
152
- "description": "A description of the target"
153
- }
154
- },
155
- "additionalProperties": true
156
- },
157
- "syncGenerators": {
158
- "type": "array",
159
- "items": {
160
- "type": "string"
161
- },
162
- "description": "List of generators to run before the target to ensure the workspace is up to date"
163
- }
164
- }
165
- }
166
- },
167
- "tags": {
168
- "type": "array",
169
- "items": {
170
- "type": "string"
171
- }
172
- },
173
- "implicitDependencies": {
174
- "type": "array",
175
- "items": {
176
- "type": "string"
177
- }
178
- },
179
- "metadata": {
180
- "type": "object",
181
- "description": "Metadata about the project.",
182
- "properties": {
183
- "description": {
184
- "type": "string",
185
- "description": "A description of the project."
186
- }
187
- },
188
- "additionalProperties": true
189
- },
190
- "release": {
191
- "type": "object",
192
- "description": "Configuration for the nx release commands.",
193
- "properties": {
194
- "version": {
195
- "type": "object",
196
- "description": "Configuration for the nx release version command.",
197
- "properties": {
198
- "generator": {
199
- "type": "string",
200
- "description": "The version generator to use. Defaults to @nx/js:release-version."
201
- },
202
- "generatorOptions": {
203
- "type": "object",
204
- "description": "Options for the version generator."
205
- }
206
- }
207
- }
208
- }
209
- }
210
- },
211
- "definitions": {
212
- "inputs": {
213
- "type": "array",
214
- "items": {
215
- "oneOf": [
216
- {
217
- "type": "string"
218
- },
219
- {
220
- "type": "object",
221
- "properties": {
222
- "fileset": {
223
- "type": "string",
224
- "description": "A glob used to determine a fileset."
225
- }
226
- },
227
- "additionalProperties": false
228
- },
229
- {
230
- "type": "object",
231
- "properties": {
232
- "projects": {
233
- "oneOf": [
234
- {
235
- "type": "string",
236
- "description": "The project that the targets belong to."
237
- },
238
- {
239
- "type": "array",
240
- "description": "The projects that the targets belong to.",
241
- "items": {
242
- "type": "string"
243
- }
244
- }
245
- ]
246
- },
247
- "dependencies": {
248
- "type": "boolean",
249
- "description": "Include files belonging to the input for all the project dependencies of this target."
250
- },
251
- "input": {
252
- "type": "string",
253
- "description": "The name of the input."
254
- }
255
- },
256
- "oneOf": [
257
- {
258
- "required": ["projects", "input"]
259
- },
260
- {
261
- "required": ["dependencies", "input"]
262
- },
263
- {
264
- "required": ["input"],
265
- "not": {
266
- "anyOf": [
267
- {
268
- "required": ["projects"]
269
- },
270
- {
271
- "required": ["dependencies"]
272
- }
273
- ]
274
- }
275
- }
276
- ],
277
- "additionalProperties": false
278
- },
279
- {
280
- "type": "object",
281
- "properties": {
282
- "runtime": {
283
- "type": "string",
284
- "description": "The command that will be executed and included into the hash."
285
- }
286
- },
287
- "additionalProperties": false
288
- },
289
- {
290
- "type": "object",
291
- "properties": {
292
- "env": {
293
- "type": "string",
294
- "description": "The env var that will be included into the hash."
295
- }
296
- },
297
- "additionalProperties": false
298
- },
299
- {
300
- "type": "object",
301
- "properties": {
302
- "externalDependencies": {
303
- "type": "array",
304
- "items": {
305
- "type": "string"
306
- },
307
- "description": "The list of external dependencies that our target depends on for `nx:run-commands` and community plugins."
308
- }
309
- },
310
- "additionalProperties": false
311
- },
312
- {
313
- "type": "object",
314
- "properties": {
315
- "dependentTasksOutputFiles": {
316
- "type": "string",
317
- "description": "The glob list of output files that project depends on."
318
- },
319
- "transitive": {
320
- "type": "boolean",
321
- "description": "Whether the check for outputs should be recursive or stop at the first level of dependencies."
322
- }
323
- },
324
- "required": ["dependentTasksOutputFiles"],
325
- "additionalProperties": false
326
- }
327
- ]
328
- }
329
- }
330
- }
331
- }
@@ -1,185 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema",
3
- "$id": "https://nx.dev",
4
- "title": "JSON schema for Nx workspaces",
5
- "type": "object",
6
- "properties": {
7
- "version": {
8
- "type": "number",
9
- "enum": [1, 2]
10
- }
11
- },
12
- "allOf": [
13
- {
14
- "if": {
15
- "properties": { "version": { "const": 2 } },
16
- "required": ["version"]
17
- },
18
- "then": {
19
- "properties": {
20
- "projects": {
21
- "type": "object",
22
- "additionalProperties": {
23
- "oneOf": [
24
- {
25
- "type": "string"
26
- },
27
- {
28
- "type": "object",
29
- "properties": {
30
- "targets": {
31
- "type": "object",
32
- "description": "Configures all the targets which define what tasks you can run against the project",
33
- "additionalProperties": {
34
- "type": "object",
35
- "properties": {
36
- "executor": {
37
- "description": "The function that Nx will invoke when you run this target",
38
- "type": "string"
39
- },
40
- "options": {
41
- "type": "object"
42
- },
43
- "outputs": {
44
- "type": "array",
45
- "items": {
46
- "type": "string"
47
- }
48
- },
49
- "configurations": {
50
- "type": "object",
51
- "description": "provides extra sets of values that will be merged into the options map",
52
- "additionalProperties": {
53
- "type": "object"
54
- }
55
- },
56
- "dependsOn": {
57
- "type": "array",
58
- "description": "Target dependency.",
59
- "items": {
60
- "oneOf": [
61
- {
62
- "type": "string"
63
- },
64
- {
65
- "type": "object",
66
- "properties": {
67
- "projects": {
68
- "oneOf": [
69
- {
70
- "type": "string",
71
- "description": "A project name"
72
- },
73
- {
74
- "type": "array",
75
- "description": "An array of project names",
76
- "items": {
77
- "type": "string"
78
- }
79
- }
80
- ]
81
- },
82
- "dependencies": {
83
- "type": "boolean"
84
- },
85
- "target": {
86
- "type": "string",
87
- "description": "The name of the target."
88
- },
89
- "params": {
90
- "type": "string",
91
- "description": "Configuration for params handling.",
92
- "enum": ["ignore", "forward"],
93
- "default": "ignore"
94
- }
95
- },
96
- "oneOf": [
97
- {
98
- "required": ["projects", "target"]
99
- },
100
- {
101
- "required": ["dependencies", "target"]
102
- },
103
- {
104
- "required": ["target"],
105
- "not": {
106
- "anyOf": [
107
- { "required": ["projects"] },
108
- { "required": ["dependencies"] }
109
- ]
110
- }
111
- }
112
- ],
113
- "additionalProperties": false
114
- }
115
- ]
116
- }
117
- },
118
- "command": {
119
- "type": "string",
120
- "description": "A shorthand for using the nx:run-commands executor"
121
- },
122
- "cache": {
123
- "type": "boolean",
124
- "description": "Specifies if the given target should be cacheable"
125
- }
126
- }
127
- }
128
- },
129
- "tags": {
130
- "type": "array",
131
- "items": {
132
- "type": "string"
133
- }
134
- },
135
- "implicitDependencies": {
136
- "type": "array",
137
- "items": {
138
- "type": "string"
139
- }
140
- }
141
- }
142
- }
143
- ]
144
- }
145
- }
146
- }
147
- },
148
- "else": {
149
- "properties": {
150
- "projects": {
151
- "type": "object",
152
- "additionalProperties": {
153
- "type": "object",
154
- "properties": {
155
- "architect": {
156
- "type": "object",
157
- "description": "Configures all the targets which define what tasks you can run against the project",
158
- "additionalProperties": {
159
- "type": "object",
160
- "properties": {
161
- "builder": {
162
- "description": "The function that Nx will invoke when you run this architect",
163
- "type": "string"
164
- },
165
- "options": {
166
- "type": "object"
167
- },
168
- "configurations": {
169
- "type": "object",
170
- "description": "provides extra sets of values that will be merged into the options map",
171
- "additionalProperties": {
172
- "type": "object"
173
- }
174
- }
175
- }
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
182
- }
183
- }
184
- ]
185
- }
@@ -1 +0,0 @@
1
- export { defaultTasksRunner as default } from '../src/tasks-runner/default-tasks-runner';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = void 0;
4
- var default_tasks_runner_1 = require("../src/tasks-runner/default-tasks-runner");
5
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return default_tasks_runner_1.defaultTasksRunner; } });