nx 18.3.0-canary.20240410-7a7cbec → 18.3.0-canary.20240412-d1584f8
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.
- package/package.json +12 -12
- package/src/adapter/ngcli-adapter.d.ts +2 -2
- package/src/adapter/ngcli-adapter.js +10 -10
- package/src/core/graph/3rdpartylicenses.txt +23 -26
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/runtime.js +1 -1
- package/src/core/graph/styles.js +1 -1
- package/src/daemon/client/client.js +1 -2
- package/src/native/assert-supported-platform.js +1 -1
- package/src/tasks-runner/cache.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "18.3.0-canary.
|
3
|
+
"version": "18.3.0-canary.20240412-d1584f8",
|
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": {
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"yargs-parser": "21.1.1",
|
67
67
|
"node-machine-id": "1.1.12",
|
68
68
|
"ora": "5.3.0",
|
69
|
-
"@nrwl/tao": "18.3.0-canary.
|
69
|
+
"@nrwl/tao": "18.3.0-canary.20240412-d1584f8"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
72
72
|
"@swc-node/register": "^1.8.0",
|
@@ -81,16 +81,16 @@
|
|
81
81
|
}
|
82
82
|
},
|
83
83
|
"optionalDependencies": {
|
84
|
-
"@nx/nx-darwin-x64": "18.3.0-canary.
|
85
|
-
"@nx/nx-darwin-arm64": "18.3.0-canary.
|
86
|
-
"@nx/nx-linux-x64-gnu": "18.3.0-canary.
|
87
|
-
"@nx/nx-linux-x64-musl": "18.3.0-canary.
|
88
|
-
"@nx/nx-win32-x64-msvc": "18.3.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-gnu": "18.3.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-musl": "18.3.0-canary.
|
91
|
-
"@nx/nx-linux-arm-gnueabihf": "18.3.0-canary.
|
92
|
-
"@nx/nx-win32-arm64-msvc": "18.3.0-canary.
|
93
|
-
"@nx/nx-freebsd-x64": "18.3.0-canary.
|
84
|
+
"@nx/nx-darwin-x64": "18.3.0-canary.20240412-d1584f8",
|
85
|
+
"@nx/nx-darwin-arm64": "18.3.0-canary.20240412-d1584f8",
|
86
|
+
"@nx/nx-linux-x64-gnu": "18.3.0-canary.20240412-d1584f8",
|
87
|
+
"@nx/nx-linux-x64-musl": "18.3.0-canary.20240412-d1584f8",
|
88
|
+
"@nx/nx-win32-x64-msvc": "18.3.0-canary.20240412-d1584f8",
|
89
|
+
"@nx/nx-linux-arm64-gnu": "18.3.0-canary.20240412-d1584f8",
|
90
|
+
"@nx/nx-linux-arm64-musl": "18.3.0-canary.20240412-d1584f8",
|
91
|
+
"@nx/nx-linux-arm-gnueabihf": "18.3.0-canary.20240412-d1584f8",
|
92
|
+
"@nx/nx-win32-arm64-msvc": "18.3.0-canary.20240412-d1584f8",
|
93
|
+
"@nx/nx-freebsd-x64": "18.3.0-canary.20240412-d1584f8"
|
94
94
|
},
|
95
95
|
"nx-migrations": {
|
96
96
|
"migrations": "./migrations.json",
|
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs';
|
|
4
4
|
import type { GenerateOptions } from '../command-line/generate/generate';
|
5
5
|
import { ProjectConfiguration } from '../config/workspace-json-project-json';
|
6
6
|
import { Tree } from '../generators/tree';
|
7
|
-
import { ExecutorContext } from '../config/misc-interfaces';
|
7
|
+
import { ExecutorContext, GeneratorCallback } from '../config/misc-interfaces';
|
8
8
|
export declare function createBuilderContext(builderInfo: {
|
9
9
|
builderName: string;
|
10
10
|
description: string;
|
@@ -85,6 +85,6 @@ export declare function mockSchematicsForTesting(schematics: {
|
|
85
85
|
}): void;
|
86
86
|
export declare function wrapAngularDevkitSchematic(collectionName: string, generatorName: string): (host: Tree, generatorOptions: {
|
87
87
|
[k: string]: any;
|
88
|
-
}) => Promise<
|
88
|
+
}) => Promise<GeneratorCallback>;
|
89
89
|
export declare const getLogger: (isVerbose?: boolean) => logging.Logger;
|
90
90
|
export {};
|
@@ -655,15 +655,6 @@ function wrapAngularDevkitSchematic(collectionName, generatorName) {
|
|
655
655
|
mockedSchematics[`${collectionName}:${generatorName}`]) {
|
656
656
|
return await mockedSchematics[`${collectionName}:${generatorName}`](host, generatorOptions);
|
657
657
|
}
|
658
|
-
const emptyLogger = {
|
659
|
-
log: (e) => { },
|
660
|
-
info: (e) => { },
|
661
|
-
warn: (e) => { },
|
662
|
-
debug: () => { },
|
663
|
-
error: (e) => { },
|
664
|
-
fatal: (e) => { },
|
665
|
-
};
|
666
|
-
emptyLogger.createChild = () => emptyLogger;
|
667
658
|
const recorder = (event) => {
|
668
659
|
let eventPath = event.path.startsWith('/')
|
669
660
|
? event.path.slice(1)
|
@@ -690,6 +681,7 @@ function wrapAngularDevkitSchematic(collectionName, generatorName) {
|
|
690
681
|
}
|
691
682
|
};
|
692
683
|
const fsHost = new NxScopeHostUsedForWrappedSchematics(host.root, host);
|
684
|
+
const logger = (0, exports.getLogger)(generatorOptions.verbose);
|
693
685
|
const options = {
|
694
686
|
generatorOptions,
|
695
687
|
dryRun: true,
|
@@ -717,10 +709,18 @@ function wrapAngularDevkitSchematic(collectionName, generatorName) {
|
|
717
709
|
}
|
718
710
|
const collection = getCollection(workflow, collectionName);
|
719
711
|
const schematic = collection.createSchematic(generatorName, true);
|
720
|
-
const res = await runSchematic(fsHost, host.root, workflow,
|
712
|
+
const res = await runSchematic(fsHost, host.root, workflow, logger, options, schematic, false, recorder);
|
721
713
|
if (res.status !== 0) {
|
722
714
|
throw new Error(res.loggingQueue.join('\n'));
|
723
715
|
}
|
716
|
+
const { lastValueFrom } = require('rxjs');
|
717
|
+
const toPromise = (obs) => lastValueFrom ? lastValueFrom(obs) : obs.toPromise();
|
718
|
+
return async () => {
|
719
|
+
// https://github.com/angular/angular-cli/blob/344193f79d880177e421cff85dd3e94338d07420/packages/angular_devkit/schematics/src/workflow/base.ts#L194-L200
|
720
|
+
await toPromise(workflow.engine
|
721
|
+
.executePostTasks()
|
722
|
+
.pipe((0, operators_1.defaultIfEmpty)(undefined), (0, operators_1.last)()));
|
723
|
+
};
|
724
724
|
};
|
725
725
|
}
|
726
726
|
exports.wrapAngularDevkitSchematic = wrapAngularDevkitSchematic;
|
@@ -212,6 +212,29 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
212
212
|
SOFTWARE.
|
213
213
|
|
214
214
|
|
215
|
+
core-js
|
216
|
+
MIT
|
217
|
+
Copyright (c) 2014-2024 Denis Pushkarev
|
218
|
+
|
219
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
220
|
+
of this software and associated documentation files (the "Software"), to deal
|
221
|
+
in the Software without restriction, including without limitation the rights
|
222
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
223
|
+
copies of the Software, and to permit persons to whom the Software is
|
224
|
+
furnished to do so, subject to the following conditions:
|
225
|
+
|
226
|
+
The above copyright notice and this permission notice shall be included in
|
227
|
+
all copies or substantial portions of the Software.
|
228
|
+
|
229
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
230
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
231
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
232
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
233
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
234
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
235
|
+
THE SOFTWARE.
|
236
|
+
|
237
|
+
|
215
238
|
cytoscape
|
216
239
|
MIT
|
217
240
|
Copyright (c) 2016-2022, The Cytoscape Consortium.
|
@@ -681,32 +704,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
681
704
|
SOFTWARE.
|
682
705
|
|
683
706
|
|
684
|
-
tabbable
|
685
|
-
MIT
|
686
|
-
The MIT License (MIT)
|
687
|
-
|
688
|
-
Copyright (c) 2015 David Clark
|
689
|
-
|
690
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
691
|
-
of this software and associated documentation files (the "Software"), to deal
|
692
|
-
in the Software without restriction, including without limitation the rights
|
693
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
694
|
-
copies of the Software, and to permit persons to whom the Software is
|
695
|
-
furnished to do so, subject to the following conditions:
|
696
|
-
|
697
|
-
The above copyright notice and this permission notice shall be included in all
|
698
|
-
copies or substantial portions of the Software.
|
699
|
-
|
700
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
701
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
702
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
703
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
704
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
705
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
706
|
-
SOFTWARE.
|
707
|
-
|
708
|
-
|
709
|
-
|
710
707
|
toggle-selection
|
711
708
|
MIT
|
712
709
|
|