@nx/web 17.0.0-beta.1 → 17.0.0-beta.4
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/generators.json +0 -20
- package/package.json +6 -6
- package/src/generators/application/application.d.ts +0 -1
- package/src/generators/application/application.js +1 -2
- package/src/generators/init/init.d.ts +0 -1
- package/src/generators/init/init.js +1 -2
- package/src/generators/static-serve/static-serve-configuration.d.ts +0 -1
- package/src/generators/static-serve/static-serve-configuration.js +1 -2
package/generators.json
CHANGED
|
@@ -21,25 +21,5 @@
|
|
|
21
21
|
"schema": "./src/generators/static-serve/schema.json",
|
|
22
22
|
"description": "Add a new static-serve target to a project."
|
|
23
23
|
}
|
|
24
|
-
},
|
|
25
|
-
"schematics": {
|
|
26
|
-
"init": {
|
|
27
|
-
"factory": "./src/generators/init/init#webInitSchematic",
|
|
28
|
-
"schema": "./src/generators/init/schema.json",
|
|
29
|
-
"description": "Add `@nrwl/web` to a project.",
|
|
30
|
-
"hidden": true
|
|
31
|
-
},
|
|
32
|
-
"application": {
|
|
33
|
-
"factory": "./src/generators/application/application#applicationSchematic",
|
|
34
|
-
"schema": "./src/generators/application/schema.json",
|
|
35
|
-
"aliases": ["app"],
|
|
36
|
-
"x-type": "application",
|
|
37
|
-
"description": "Create an web application."
|
|
38
|
-
},
|
|
39
|
-
"static-config": {
|
|
40
|
-
"factory": "./src/generators/static-serve/static-serve-configuration#compat",
|
|
41
|
-
"schema": "./src/generators/static-serve/schema.json",
|
|
42
|
-
"description": "Add a new static-serve target to a project."
|
|
43
|
-
}
|
|
44
24
|
}
|
|
45
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/web",
|
|
3
|
-
"version": "17.0.0-beta.
|
|
3
|
+
"version": "17.0.0-beta.4",
|
|
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": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"url": "https://github.com/nrwl/nx/issues"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://nx.dev",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"generators": "./generators.json",
|
|
27
|
+
"executors": "./executors.json",
|
|
28
28
|
"ng-update": {
|
|
29
29
|
"requirements": {},
|
|
30
30
|
"migrations": "./migrations.json"
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"detect-port": "^1.5.1",
|
|
35
35
|
"http-server": "^14.1.0",
|
|
36
36
|
"tslib": "^2.3.0",
|
|
37
|
-
"@nx/devkit": "17.0.0-beta.
|
|
38
|
-
"@nx/js": "17.0.0-beta.
|
|
39
|
-
"@nrwl/web": "17.0.0-beta.
|
|
37
|
+
"@nx/devkit": "17.0.0-beta.4",
|
|
38
|
+
"@nx/js": "17.0.0-beta.4",
|
|
39
|
+
"@nrwl/web": "17.0.0-beta.4"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
@@ -3,4 +3,3 @@ import { Schema } from './schema';
|
|
|
3
3
|
export declare function applicationGenerator(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
4
4
|
export declare function applicationGeneratorInternal(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
5
5
|
export default applicationGenerator;
|
|
6
|
-
export declare const applicationSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.applicationGeneratorInternal = exports.applicationGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
|
|
6
6
|
const js_1 = require("@nx/js");
|
|
@@ -280,4 +280,3 @@ async function normalizeOptions(host, options) {
|
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
282
|
exports.default = applicationGenerator;
|
|
283
|
-
exports.applicationSchematic = (0, devkit_1.convertNxGenerator)(applicationGenerator);
|
|
@@ -2,4 +2,3 @@ import { GeneratorCallback, Tree } from '@nx/devkit';
|
|
|
2
2
|
import { Schema } from './schema';
|
|
3
3
|
export declare function webInitGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
4
4
|
export default webInitGenerator;
|
|
5
|
-
export declare const webInitSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.webInitGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const js_1 = require("@nx/js");
|
|
6
6
|
const versions_1 = require("../../utils/versions");
|
|
@@ -54,4 +54,3 @@ async function webInitGenerator(tree, schema) {
|
|
|
54
54
|
}
|
|
55
55
|
exports.webInitGenerator = webInitGenerator;
|
|
56
56
|
exports.default = webInitGenerator;
|
|
57
|
-
exports.webInitSchematic = (0, devkit_1.convertNxGenerator)(webInitGenerator);
|
|
@@ -5,5 +5,4 @@ interface WebStaticServeSchema {
|
|
|
5
5
|
targetName?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function webStaticServeGenerator(tree: Tree, options: WebStaticServeSchema): void;
|
|
8
|
-
export declare const compat: (generatorOptions: WebStaticServeSchema) => (tree: any, context: any) => Promise<any>;
|
|
9
8
|
export default webStaticServeGenerator;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.webStaticServeGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
function webStaticServeGenerator(tree, options) {
|
|
6
6
|
const opts = normalizeOptions(tree, options);
|
|
@@ -70,5 +70,4 @@ function addStaticConfig(tree, opts) {
|
|
|
70
70
|
projectConfig.targets[opts.targetName] = staticServeOptions;
|
|
71
71
|
(0, devkit_1.updateProjectConfiguration)(tree, opts.projectName, projectConfig);
|
|
72
72
|
}
|
|
73
|
-
exports.compat = (0, devkit_1.convertNxGenerator)(webStaticServeGenerator);
|
|
74
73
|
exports.default = webStaticServeGenerator;
|