@nx/web 16.4.0-beta.1 → 16.4.0-beta.10
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": "16.4.0-beta.
|
|
3
|
+
"version": "16.4.0-beta.10",
|
|
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, 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": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"migrations": "./migrations.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nrwl/web": "16.4.0-beta.
|
|
34
|
-
"@nx/devkit": "16.4.0-beta.
|
|
35
|
-
"@nx/js": "16.4.0-beta.
|
|
33
|
+
"@nrwl/web": "16.4.0-beta.10",
|
|
34
|
+
"@nx/devkit": "16.4.0-beta.10",
|
|
35
|
+
"@nx/js": "16.4.0-beta.10",
|
|
36
36
|
"chalk": "^4.1.0",
|
|
37
37
|
"chokidar": "^3.5.1",
|
|
38
38
|
"detect-port": "^1.5.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"types": "./index.d.ts",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d2bde0605c692a023bc9c28686f3a3037bbd56d3"
|
|
48
48
|
}
|
|
@@ -108,9 +108,7 @@ function applicationGenerator(host, schema) {
|
|
|
108
108
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
109
109
|
const options = normalizeOptions(host, schema);
|
|
110
110
|
const tasks = [];
|
|
111
|
-
const webTask = yield (0, init_1.webInitGenerator)(host, Object.assign(Object.assign({}, options), { skipFormat: true
|
|
112
|
-
// Vite does not use babel by default
|
|
113
|
-
skipBabelConfig: options.bundler === 'vite' }));
|
|
111
|
+
const webTask = yield (0, init_1.webInitGenerator)(host, Object.assign(Object.assign({}, options), { skipFormat: true }));
|
|
114
112
|
tasks.push(webTask);
|
|
115
113
|
createApplicationFiles(host, options);
|
|
116
114
|
yield addProject(host, options);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.webInitSchematic = exports.webInitGenerator = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const add_babel_inputs_1 = require("@nx/js/src/utils/add-babel-inputs");
|
|
7
6
|
const js_1 = require("@nx/js");
|
|
8
7
|
const versions_1 = require("../../utils/versions");
|
|
9
8
|
function updateDependencies(tree, schema) {
|
|
@@ -42,7 +41,6 @@ function webInitGenerator(tree, schema) {
|
|
|
42
41
|
const installTask = updateDependencies(tree, schema);
|
|
43
42
|
tasks.push(installTask);
|
|
44
43
|
}
|
|
45
|
-
(0, add_babel_inputs_1.addBabelInputs)(tree);
|
|
46
44
|
if (!schema.skipFormat) {
|
|
47
45
|
yield (0, devkit_1.formatFiles)(tree);
|
|
48
46
|
}
|
|
@@ -34,11 +34,6 @@
|
|
|
34
34
|
"type": "boolean",
|
|
35
35
|
"default": false,
|
|
36
36
|
"x-priority": "internal"
|
|
37
|
-
},
|
|
38
|
-
"skipBabelConfig": {
|
|
39
|
-
"description": "Do not generate a root babel.config.json (if babel is not needed).",
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"default": false
|
|
42
37
|
}
|
|
43
38
|
},
|
|
44
39
|
"required": []
|