@nx/angular 19.6.0-beta.1 → 19.6.0-beta.3
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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.6.0-beta.
|
3
|
+
"version": "19.6.0-beta.3",
|
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-beta.
|
83
|
-
"@nx/js": "19.6.0-beta.
|
84
|
-
"@nx/eslint": "19.6.0-beta.
|
85
|
-
"@nx/webpack": "19.6.0-beta.
|
86
|
-
"@nx/web": "19.6.0-beta.
|
87
|
-
"@nx/workspace": "19.6.0-beta.
|
82
|
+
"@nx/devkit": "19.6.0-beta.3",
|
83
|
+
"@nx/js": "19.6.0-beta.3",
|
84
|
+
"@nx/eslint": "19.6.0-beta.3",
|
85
|
+
"@nx/webpack": "19.6.0-beta.3",
|
86
|
+
"@nx/web": "19.6.0-beta.3",
|
87
|
+
"@nx/workspace": "19.6.0-beta.3",
|
88
88
|
"piscina": "^4.4.0",
|
89
|
-
"@nrwl/angular": "19.6.0-beta.
|
89
|
+
"@nrwl/angular": "19.6.0-beta.3"
|
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,
|