@nx/angular 19.4.0-canary.20240626-3a2e8d4 → 19.4.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.4.0-
|
3
|
+
"version": "19.4.0-rc.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
6
6
|
"repository": {
|
@@ -79,14 +79,14 @@
|
|
79
79
|
"tslib": "^2.3.0",
|
80
80
|
"webpack": "^5.80.0",
|
81
81
|
"webpack-merge": "^5.8.0",
|
82
|
-
"@nx/devkit": "19.4.0-
|
83
|
-
"@nx/js": "19.4.0-
|
84
|
-
"@nx/eslint": "19.4.0-
|
85
|
-
"@nx/webpack": "19.4.0-
|
86
|
-
"@nx/web": "19.4.0-
|
87
|
-
"@nx/workspace": "19.4.0-
|
82
|
+
"@nx/devkit": "19.4.0-rc.0",
|
83
|
+
"@nx/js": "19.4.0-rc.0",
|
84
|
+
"@nx/eslint": "19.4.0-rc.0",
|
85
|
+
"@nx/webpack": "19.4.0-rc.0",
|
86
|
+
"@nx/web": "19.4.0-rc.0",
|
87
|
+
"@nx/workspace": "19.4.0-rc.0",
|
88
88
|
"piscina": "^4.4.0",
|
89
|
-
"@nrwl/angular": "19.4.0-
|
89
|
+
"@nrwl/angular": "19.4.0-rc.0"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
92
92
|
"@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
|
@@ -43,11 +43,14 @@ async function buildStaticRemotes(staticRemotesConfig, nxBin, context, options)
|
|
43
43
|
}
|
44
44
|
});
|
45
45
|
staticProcess.stderr.on('data', (data) => devkit_1.logger.info(data.toString()));
|
46
|
-
staticProcess.
|
46
|
+
staticProcess.once('exit', (code) => {
|
47
47
|
stdoutStream.end();
|
48
|
+
staticProcess.stdout.removeAllListeners('data');
|
49
|
+
staticProcess.stderr.removeAllListeners('data');
|
48
50
|
if (code !== 0) {
|
49
51
|
throw new Error(`Remote failed to start. A complete log can be found in: ${remoteBuildLogFile}`);
|
50
52
|
}
|
53
|
+
res();
|
51
54
|
});
|
52
55
|
process.on('SIGTERM', () => staticProcess.kill('SIGTERM'));
|
53
56
|
process.on('exit', () => staticProcess.kill('SIGTERM'));
|
@@ -16,15 +16,14 @@ const module_loader_1 = require("./module-loader");
|
|
16
16
|
async function readDefaultTsConfig(fileName) {
|
17
17
|
// these options are mandatory
|
18
18
|
const extraOptions = {
|
19
|
-
target: ts.ScriptTarget.
|
20
|
-
experimentalDecorators: true,
|
19
|
+
target: ts.ScriptTarget.ES2022,
|
21
20
|
// sourcemaps
|
22
21
|
sourceMap: false,
|
23
22
|
inlineSources: true,
|
24
23
|
inlineSourceMap: true,
|
25
24
|
outDir: '',
|
26
25
|
declaration: true,
|
27
|
-
// ng compiler
|
26
|
+
// ng compiler
|
28
27
|
enableResourceInlining: true,
|
29
28
|
// these are required to set the appropriate EmitFlags
|
30
29
|
flatModuleId: 'AUTOGENERATED',
|
@@ -43,7 +43,7 @@ async function default_1(tree) {
|
|
43
43
|
}
|
44
44
|
exports.default = default_1;
|
45
45
|
function updateConfig(config) {
|
46
|
-
if (config.browserTarget) {
|
46
|
+
if (config && config.browserTarget) {
|
47
47
|
config.buildTarget ??= config.browserTarget;
|
48
48
|
delete config.browserTarget;
|
49
49
|
}
|