@nx/web 19.8.0 → 20.0.0-beta.0
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/web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Playwright, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"migrations": "./migrations.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"chalk": "^4.1.0",
|
|
35
34
|
"detect-port": "^1.5.1",
|
|
36
35
|
"http-server": "^14.1.0",
|
|
36
|
+
"picocolors": "^1.1.0",
|
|
37
37
|
"tslib": "^2.3.0",
|
|
38
|
-
"@nx/devkit": "
|
|
39
|
-
"@nx/js": "
|
|
40
|
-
"@nrwl/web": "
|
|
38
|
+
"@nx/devkit": "20.0.0-beta.0",
|
|
39
|
+
"@nx/js": "20.0.0-beta.0",
|
|
40
|
+
"@nrwl/web": "20.0.0-beta.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = fileServerExecutor;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
|
-
const
|
|
5
|
+
const pc = require("picocolors");
|
|
6
6
|
const devkit_1 = require("@nx/devkit");
|
|
7
7
|
const fs_1 = require("fs");
|
|
8
8
|
const os_1 = require("os");
|
|
@@ -138,7 +138,7 @@ async function* fileServerExecutor(options, context) {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
catch {
|
|
141
|
-
throw new Error(`Build target failed: ${
|
|
141
|
+
throw new Error(`Build target failed: ${pc.bold(options.buildTarget)}`);
|
|
142
142
|
}
|
|
143
143
|
finally {
|
|
144
144
|
process.env.NX_SERVE_STATIC_BUILD_RUNNING = undefined;
|
|
@@ -156,7 +156,6 @@ function setDefaults(tree, options) {
|
|
|
156
156
|
async function applicationGenerator(host, schema) {
|
|
157
157
|
return await applicationGeneratorInternal(host, {
|
|
158
158
|
addPlugin: false,
|
|
159
|
-
projectNameAndRootFormat: 'derived',
|
|
160
159
|
...schema,
|
|
161
160
|
});
|
|
162
161
|
}
|
|
@@ -395,7 +394,6 @@ async function normalizeOptions(host, options) {
|
|
|
395
394
|
projectType: 'application',
|
|
396
395
|
directory: options.directory,
|
|
397
396
|
projectNameAndRootFormat: options.projectNameAndRootFormat,
|
|
398
|
-
callingGenerator: '@nx/web:application',
|
|
399
397
|
});
|
|
400
398
|
options.projectNameAndRootFormat = projectNameAndRootFormat;
|
|
401
399
|
const nxJson = (0, devkit_1.readNxJson)(host);
|