nx 21.1.2 → 21.2.0-beta.1
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/.eslintrc.json +1 -0
- package/README.md +3 -3
- package/package.json +11 -11
- package/src/adapter/compat.js +4 -0
- package/src/command-line/init/implementation/angular/index.js +3 -1
- package/src/command-line/init/implementation/angular/standalone-workspace.js +51 -25
- package/src/command-line/nx-commands.js +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.js +1 -1
- package/src/executors/run-commands/running-tasks.js +7 -15
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/plugins/js/utils/register.d.ts +2 -0
- package/src/plugins/js/versions.d.ts +1 -1
- package/src/plugins/js/versions.js +1 -1
- package/src/project-graph/project-graph.js +1 -1
package/src/core/graph/styles.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[869],{
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[869],{7148:()=>{}},s=>{var e;e=7148,s(s.s=e)}]);
|
@@ -231,24 +231,16 @@ class RunningNodeProcess {
|
|
231
231
|
}
|
232
232
|
kill(signal) {
|
233
233
|
return new Promise((res, rej) => {
|
234
|
-
|
235
|
-
|
236
|
-
|
234
|
+
treeKill(this.childProcess.pid, signal, (err) => {
|
235
|
+
// On Windows, tree-kill (which uses taskkill) may fail when the process or its child process is already terminated.
|
236
|
+
// Ignore the errors, otherwise we will log them unnecessarily.
|
237
|
+
if (err && process.platform !== 'win32') {
|
238
|
+
rej(err);
|
237
239
|
}
|
238
240
|
else {
|
239
|
-
|
241
|
+
res();
|
240
242
|
}
|
241
|
-
}
|
242
|
-
else {
|
243
|
-
treeKill(this.childProcess.pid, signal, (err) => {
|
244
|
-
if (err) {
|
245
|
-
rej(err);
|
246
|
-
}
|
247
|
-
else {
|
248
|
-
res();
|
249
|
-
}
|
250
|
-
});
|
251
|
-
}
|
243
|
+
});
|
252
244
|
});
|
253
245
|
}
|
254
246
|
triggerOutputListeners(output) {
|
Binary file
|
@@ -82,6 +82,7 @@ export declare function getTsNodeCompilerOptions(compilerOptions: CompilerOption
|
|
82
82
|
jsx?: any;
|
83
83
|
keyofStringsOnly?: any;
|
84
84
|
lib?: any;
|
85
|
+
libReplacement?: any;
|
85
86
|
locale?: any;
|
86
87
|
mapRoot?: any;
|
87
88
|
maxNodeModuleJsDepth?: any;
|
@@ -151,6 +152,7 @@ export declare function getTsNodeCompilerOptions(compilerOptions: CompilerOption
|
|
151
152
|
types?: any;
|
152
153
|
typeRoots?: any;
|
153
154
|
verbatimModuleSyntax?: any;
|
155
|
+
erasableSyntaxOnly?: any;
|
154
156
|
esModuleInterop?: any;
|
155
157
|
useDefineForClassFields?: any;
|
156
158
|
};
|
@@ -1 +1 @@
|
|
1
|
-
export declare const typescriptVersion = "~5.
|
1
|
+
export declare const typescriptVersion = "~5.8.2";
|
@@ -38,7 +38,7 @@ function readCachedProjectGraph(minimumComputedAt) {
|
|
38
38
|
? (0, strip_indents_1.stripIndents) `
|
39
39
|
Make sure invoke 'node ./decorate-angular-cli.js' in your postinstall script.
|
40
40
|
The decorated CLI will compute the project graph.
|
41
|
-
'ng --help' should say 'Smart
|
41
|
+
'ng --help' should say 'Smart Repos · Fast Builds'.
|
42
42
|
`
|
43
43
|
: '';
|
44
44
|
throw new Error((0, strip_indents_1.stripIndents) `
|