@nx/angular 19.6.0-canary.20240809-d3747e0 → 19.6.0-canary.20240813-c72ba9b
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -8
- package/src/executors/module-federation-dev-server/lib/normalize-options.js +4 -0
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js +6 -1
- package/src/generators/application/files/nx-welcome/claimed/ng-module/src/app/nx-welcome.component.ts__tpl__ +808 -0
- package/src/generators/application/files/nx-welcome/claimed/standalone/src/app/nx-welcome.component.ts__tpl__ +811 -0
- package/src/generators/application/files/{ng-module → nx-welcome/not-configured/ng-module}/src/app/nx-welcome.component.ts__tpl__ +37 -66
- package/src/generators/application/files/{standalone-components → nx-welcome/not-configured/standalone}/src/app/nx-welcome.component.ts__tpl__ +39 -68
- package/src/generators/application/files/nx-welcome/unclaimed/ng-module/src/app/nx-welcome.component.ts__tpl__ +810 -0
- package/src/generators/application/files/nx-welcome/unclaimed/standalone/src/app/nx-welcome.component.ts__tpl__ +813 -0
- package/src/generators/application/lib/create-files.js +10 -0
- package/src/generators/application/schema.d.ts +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.6.0-canary.
|
3
|
+
"version": "19.6.0-canary.20240813-c72ba9b",
|
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
|
"webpack-merge": "^5.8.0",
|
80
80
|
"webpack": "^5.88.0",
|
81
81
|
"@module-federation/enhanced": "~0.2.3",
|
82
|
-
"@nx/devkit": "19.6.0-canary.
|
83
|
-
"@nx/js": "19.6.0-canary.
|
84
|
-
"@nx/eslint": "19.6.0-canary.
|
85
|
-
"@nx/webpack": "19.6.0-canary.
|
86
|
-
"@nx/web": "19.6.0-canary.
|
87
|
-
"@nx/workspace": "19.6.0-canary.
|
82
|
+
"@nx/devkit": "19.6.0-canary.20240813-c72ba9b",
|
83
|
+
"@nx/js": "19.6.0-canary.20240813-c72ba9b",
|
84
|
+
"@nx/eslint": "19.6.0-canary.20240813-c72ba9b",
|
85
|
+
"@nx/webpack": "19.6.0-canary.20240813-c72ba9b",
|
86
|
+
"@nx/web": "19.6.0-canary.20240813-c72ba9b",
|
87
|
+
"@nx/workspace": "19.6.0-canary.20240813-c72ba9b",
|
88
88
|
"piscina": "^4.4.0",
|
89
|
-
"@nrwl/angular": "19.6.0-canary.
|
89
|
+
"@nrwl/angular": "19.6.0-canary.20240813-c72ba9b"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
92
92
|
"@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.normalizeOptions = normalizeOptions;
|
4
|
+
const path_1 = require("path");
|
5
|
+
const devkit_1 = require("@nx/devkit");
|
4
6
|
function normalizeOptions(schema) {
|
5
7
|
let buildTarget = schema.buildTarget;
|
6
8
|
if (schema.browserTarget) {
|
@@ -19,5 +21,7 @@ function normalizeOptions(schema) {
|
|
19
21
|
liveReload: schema.liveReload ?? true,
|
20
22
|
open: schema.open ?? false,
|
21
23
|
ssl: schema.ssl ?? false,
|
24
|
+
sslCert: schema.sslCert ? (0, path_1.join)(devkit_1.workspaceRoot, schema.sslCert) : undefined,
|
25
|
+
sslKey: schema.sslKey ? (0, path_1.join)(devkit_1.workspaceRoot, schema.sslKey) : undefined,
|
22
26
|
};
|
23
27
|
}
|
@@ -71,7 +71,12 @@ async function* moduleFederationDevServerExecutor(schema, context) {
|
|
71
71
|
const mappedLocationsOfStaticRemotes = await (0, lib_1.buildStaticRemotes)(staticRemotesConfig, nxBin, context, options);
|
72
72
|
const devRemoteIters = await (0, lib_1.startRemotes)(remotes.devRemotes, workspaceProjects, options, context, 'serve');
|
73
73
|
const staticRemotesIter = (0, lib_1.startStaticRemotesFileServer)(staticRemotesConfig, context, options);
|
74
|
-
(0, start_remote_proxies_1.startRemoteProxies)(staticRemotesConfig, mappedLocationsOfStaticRemotes
|
74
|
+
(0, start_remote_proxies_1.startRemoteProxies)(staticRemotesConfig, mappedLocationsOfStaticRemotes, options.ssl
|
75
|
+
? {
|
76
|
+
pathToCert: options.sslCert,
|
77
|
+
pathToKey: options.sslKey,
|
78
|
+
}
|
79
|
+
: undefined);
|
75
80
|
const removeBaseUrlEmission = (iter) => (0, async_iterable_1.mapAsyncIterable)(iter, (v) => ({
|
76
81
|
...v,
|
77
82
|
baseUrl: undefined,
|