nx 19.8.0-beta.1 → 19.8.0-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +12 -12
- package/src/command-line/activate-powerpack/command-object.js +2 -1
- package/src/command-line/graph/graph.d.ts +1 -0
- package/src/command-line/graph/graph.js +6 -1
- package/src/command-line/report/report.js +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.css +2 -2
- package/src/core/graph/styles.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/cache.js +8 -5
- package/src/tasks-runner/run-command.js +2 -2
- package/src/tasks-runner/task-orchestrator.js +2 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "19.8.0-beta.
|
3
|
+
"version": "19.8.0-beta.3",
|
4
4
|
"private": false,
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
6
6
|
"repository": {
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"yargs-parser": "21.1.1",
|
69
69
|
"node-machine-id": "1.1.12",
|
70
70
|
"ora": "5.3.0",
|
71
|
-
"@nrwl/tao": "19.8.0-beta.
|
71
|
+
"@nrwl/tao": "19.8.0-beta.3"
|
72
72
|
},
|
73
73
|
"peerDependencies": {
|
74
74
|
"@swc-node/register": "^1.8.0",
|
@@ -83,16 +83,16 @@
|
|
83
83
|
}
|
84
84
|
},
|
85
85
|
"optionalDependencies": {
|
86
|
-
"@nx/nx-darwin-x64": "19.8.0-beta.
|
87
|
-
"@nx/nx-darwin-arm64": "19.8.0-beta.
|
88
|
-
"@nx/nx-linux-x64-gnu": "19.8.0-beta.
|
89
|
-
"@nx/nx-linux-x64-musl": "19.8.0-beta.
|
90
|
-
"@nx/nx-win32-x64-msvc": "19.8.0-beta.
|
91
|
-
"@nx/nx-linux-arm64-gnu": "19.8.0-beta.
|
92
|
-
"@nx/nx-linux-arm64-musl": "19.8.0-beta.
|
93
|
-
"@nx/nx-linux-arm-gnueabihf": "19.8.0-beta.
|
94
|
-
"@nx/nx-win32-arm64-msvc": "19.8.0-beta.
|
95
|
-
"@nx/nx-freebsd-x64": "19.8.0-beta.
|
86
|
+
"@nx/nx-darwin-x64": "19.8.0-beta.3",
|
87
|
+
"@nx/nx-darwin-arm64": "19.8.0-beta.3",
|
88
|
+
"@nx/nx-linux-x64-gnu": "19.8.0-beta.3",
|
89
|
+
"@nx/nx-linux-x64-musl": "19.8.0-beta.3",
|
90
|
+
"@nx/nx-win32-x64-msvc": "19.8.0-beta.3",
|
91
|
+
"@nx/nx-linux-arm64-gnu": "19.8.0-beta.3",
|
92
|
+
"@nx/nx-linux-arm64-musl": "19.8.0-beta.3",
|
93
|
+
"@nx/nx-linux-arm-gnueabihf": "19.8.0-beta.3",
|
94
|
+
"@nx/nx-win32-arm64-msvc": "19.8.0-beta.3",
|
95
|
+
"@nx/nx-freebsd-x64": "19.8.0-beta.3"
|
96
96
|
},
|
97
97
|
"nx-migrations": {
|
98
98
|
"migrations": "./migrations.json",
|
@@ -5,7 +5,8 @@ const shared_options_1 = require("../yargs-utils/shared-options");
|
|
5
5
|
const handle_errors_1 = require("../../utils/handle-errors");
|
6
6
|
exports.yargsActivatePowerpackCommand = {
|
7
7
|
command: 'activate-powerpack <license>',
|
8
|
-
describe:
|
8
|
+
describe: false,
|
9
|
+
// describe: 'Activate a Nx Powerpack license.',
|
9
10
|
builder: (yargs) => (0, shared_options_1.withVerbose)(yargs)
|
10
11
|
.parserConfiguration({
|
11
12
|
'strip-dashed': true,
|
@@ -499,11 +499,14 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
|
|
499
499
|
let isPartial = false;
|
500
500
|
let errors;
|
501
501
|
let connectedToCloud;
|
502
|
+
let disabledTaskSyncGenerators;
|
502
503
|
try {
|
503
504
|
const projectGraphAndSourceMaps = await (0, project_graph_1.createProjectGraphAndSourceMapsAsync)({ exitOnError: false });
|
504
505
|
projectGraph = projectGraphAndSourceMaps.projectGraph;
|
505
506
|
sourceMaps = projectGraphAndSourceMaps.sourceMaps;
|
506
|
-
|
507
|
+
const nxJson = (0, configuration_1.readNxJson)();
|
508
|
+
connectedToCloud = (0, nx_cloud_utils_1.isNxCloudUsed)(nxJson);
|
509
|
+
disabledTaskSyncGenerators = nxJson.sync?.disabledTaskSyncGenerators;
|
507
510
|
}
|
508
511
|
catch (e) {
|
509
512
|
if (e instanceof error_types_1.ProjectGraphError) {
|
@@ -538,6 +541,7 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
|
|
538
541
|
sourceMaps,
|
539
542
|
errors,
|
540
543
|
connectedToCloud,
|
544
|
+
disabledTaskSyncGenerators,
|
541
545
|
}));
|
542
546
|
const hash = hasher.digest('hex');
|
543
547
|
perf_hooks_1.performance.mark('project graph response generation:end');
|
@@ -555,6 +559,7 @@ async function createProjectGraphAndSourceMapClientResponse(affected = []) {
|
|
555
559
|
isPartial,
|
556
560
|
errors,
|
557
561
|
connectedToCloud,
|
562
|
+
disabledTaskSyncGenerators,
|
558
563
|
},
|
559
564
|
sourceMapResponse: sourceMaps,
|
560
565
|
};
|
@@ -64,7 +64,7 @@ async function reportHandler() {
|
|
64
64
|
if (powerpackLicense) {
|
65
65
|
bodyLines.push(LINE_SEPARATOR);
|
66
66
|
bodyLines.push(chalk.green('Nx Powerpack'));
|
67
|
-
bodyLines.push(`Licensed to ${powerpackLicense.organizationName} for ${powerpackLicense.seatCount} user${powerpackLicense.seatCount > 1 ? 's' : ''} in ${powerpackLicense.workspaceCount} workspace${powerpackLicense.workspaceCount > 1 ? 's' : ''} until ${new Date(powerpackLicense.expiresAt).toLocaleDateString()}`);
|
67
|
+
bodyLines.push(`Licensed to ${powerpackLicense.organizationName} for ${powerpackLicense.seatCount} user${powerpackLicense.seatCount > 1 ? 's' : ''} in ${powerpackLicense.workspaceCount} workspace${powerpackLicense.workspaceCount > 1 ? 's' : ''} until ${new Date(powerpackLicense.expiresAt * 1000).toLocaleDateString()}`);
|
68
68
|
bodyLines.push('');
|
69
69
|
padding =
|
70
70
|
Math.max(...powerpackPlugins.map((powerpackPlugin) => powerpackPlugin.name.length)) + 1;
|