@nx/express 17.0.0-beta.2 → 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 CHANGED
@@ -10,7 +10,6 @@
10
10
  "aliases": ["ng-add"],
11
11
  "hidden": true
12
12
  },
13
-
14
13
  "application": {
15
14
  "factory": "./src/generators/application/application#applicationGeneratorInternal",
16
15
  "schema": "./src/generators/application/schema.json",
@@ -18,22 +17,5 @@
18
17
  "x-type": "application",
19
18
  "description": "Create an Express application."
20
19
  }
21
- },
22
- "schematics": {
23
- "init": {
24
- "factory": "./src/generators/init/init#initSchematic",
25
- "schema": "./src/generators/init/schema.json",
26
- "description": "Initialize the `@nrwl/express` plugin.",
27
- "aliases": ["ng-add"],
28
- "hidden": true
29
- },
30
-
31
- "application": {
32
- "factory": "./src/generators/application/application#applicationSchematic",
33
- "schema": "./src/generators/application/schema.json",
34
- "aliases": ["app"],
35
- "x-type": "application",
36
- "description": "Create an Express application."
37
- }
38
20
  }
39
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/express",
3
- "version": "17.0.0-beta.2",
3
+ "version": "17.0.0-beta.4",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.",
6
6
  "repository": {
@@ -24,16 +24,16 @@
24
24
  "url": "https://github.com/nrwl/nx/issues"
25
25
  },
26
26
  "homepage": "https://nx.dev",
27
- "schematics": "./generators.json",
27
+ "generators": "./generators.json",
28
28
  "ng-update": {
29
29
  "requirements": {},
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nx/devkit": "17.0.0-beta.2",
34
- "@nx/node": "17.0.0-beta.2",
33
+ "@nx/devkit": "17.0.0-beta.4",
34
+ "@nx/node": "17.0.0-beta.4",
35
35
  "tslib": "^2.3.0",
36
- "@nrwl/express": "17.0.0-beta.2"
36
+ "@nrwl/express": "17.0.0-beta.4"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "express": "^4.18.1"
@@ -3,4 +3,3 @@ import type { Schema } from './schema';
3
3
  export declare function applicationGenerator(tree: Tree, schema: Schema): Promise<() => Promise<void>>;
4
4
  export declare function applicationGeneratorInternal(tree: Tree, schema: Schema): Promise<() => Promise<void>>;
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.applicationSchematic = exports.applicationGeneratorInternal = exports.applicationGenerator = void 0;
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 node_1 = require("@nx/node");
@@ -66,7 +66,6 @@ async function applicationGeneratorInternal(tree, schema) {
66
66
  }
67
67
  exports.applicationGeneratorInternal = applicationGeneratorInternal;
68
68
  exports.default = applicationGenerator;
69
- exports.applicationSchematic = (0, devkit_1.convertNxGenerator)(applicationGenerator);
70
69
  async function normalizeOptions(host, options) {
71
70
  const { projectName: appProjectName, projectRoot: appProjectRoot, projectNameAndRootFormat, } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(host, {
72
71
  name: options.name,
@@ -2,4 +2,3 @@ import { Tree } from '@nx/devkit';
2
2
  import type { Schema } from './schema';
3
3
  export declare function initGenerator(tree: Tree, schema: Schema): Promise<() => Promise<void>>;
4
4
  export default initGenerator;
5
- export declare const initSchematic: (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.initSchematic = exports.initGenerator = void 0;
3
+ exports.initGenerator = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const node_1 = require("@nx/node");
6
6
  const versions_1 = require("@nx/node/src/utils/versions");
@@ -31,4 +31,3 @@ async function initGenerator(tree, schema) {
31
31
  }
32
32
  exports.initGenerator = initGenerator;
33
33
  exports.default = initGenerator;
34
- exports.initSchematic = (0, devkit_1.convertNxGenerator)(initGenerator);