@nx/nest 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.
Files changed (38) hide show
  1. package/generators.json +0 -98
  2. package/package.json +7 -7
  3. package/src/generators/application/application.d.ts +0 -1
  4. package/src/generators/application/application.js +1 -2
  5. package/src/generators/class/class.d.ts +0 -1
  6. package/src/generators/class/class.js +1 -3
  7. package/src/generators/controller/controller.d.ts +0 -1
  8. package/src/generators/controller/controller.js +1 -3
  9. package/src/generators/decorator/decorator.d.ts +0 -1
  10. package/src/generators/decorator/decorator.js +1 -3
  11. package/src/generators/filter/filter.d.ts +0 -1
  12. package/src/generators/filter/filter.js +1 -3
  13. package/src/generators/gateway/gateway.d.ts +0 -1
  14. package/src/generators/gateway/gateway.js +1 -3
  15. package/src/generators/guard/guard.d.ts +0 -1
  16. package/src/generators/guard/guard.js +1 -3
  17. package/src/generators/init/init.d.ts +0 -1
  18. package/src/generators/init/init.js +1 -2
  19. package/src/generators/interceptor/interceptor.d.ts +0 -1
  20. package/src/generators/interceptor/interceptor.js +1 -3
  21. package/src/generators/interface/interface.d.ts +0 -1
  22. package/src/generators/interface/interface.js +1 -3
  23. package/src/generators/library/library.d.ts +0 -1
  24. package/src/generators/library/library.js +1 -2
  25. package/src/generators/middleware/middleware.d.ts +0 -1
  26. package/src/generators/middleware/middleware.js +1 -3
  27. package/src/generators/module/module.d.ts +0 -1
  28. package/src/generators/module/module.js +1 -3
  29. package/src/generators/pipe/pipe.d.ts +0 -1
  30. package/src/generators/pipe/pipe.js +1 -3
  31. package/src/generators/provider/provider.d.ts +0 -1
  32. package/src/generators/provider/provider.js +1 -3
  33. package/src/generators/resolver/resolver.d.ts +0 -1
  34. package/src/generators/resolver/resolver.js +1 -3
  35. package/src/generators/resource/resource.d.ts +0 -1
  36. package/src/generators/resource/resource.js +1 -3
  37. package/src/generators/service/service.d.ts +0 -1
  38. package/src/generators/service/service.js +1 -3
package/generators.json CHANGED
@@ -2,104 +2,6 @@
2
2
  "name": "nx/nest",
3
3
  "version": "0.1",
4
4
  "extends": ["@nx/workspace"],
5
- "schematics": {
6
- "application": {
7
- "factory": "./src/generators/application/application#applicationSchematic",
8
- "schema": "./src/generators/application/schema.json",
9
- "aliases": ["app"],
10
- "x-type": "application",
11
- "description": "Create a NestJS application."
12
- },
13
- "init": {
14
- "factory": "./src/generators/init/init#initSchematic",
15
- "schema": "./src/generators/init/schema.json",
16
- "description": "Initialize the `@nrwl/nest` plugin.",
17
- "aliases": ["ng-add"],
18
- "hidden": true
19
- },
20
- "library": {
21
- "factory": "./src/generators/library/library#librarySchematic",
22
- "schema": "./src/generators/library/schema.json",
23
- "aliases": ["lib"],
24
- "x-type": "library",
25
- "description": "Create a new NestJS library."
26
- },
27
- "class": {
28
- "factory": "./src/generators/class/class#classSchematic",
29
- "schema": "./src/generators/class/schema.json",
30
- "description": "Run the `class` NestJS generator with Nx project support."
31
- },
32
- "controller": {
33
- "factory": "./src/generators/controller/controller#controllerSchematic",
34
- "schema": "./src/generators/controller/schema.json",
35
- "description": "Run the `controller` NestJS generator with Nx project support."
36
- },
37
- "decorator": {
38
- "factory": "./src/generators/decorator/decorator#decoratorSchematic",
39
- "schema": "./src/generators/decorator/schema.json",
40
- "description": "Run the `decorator` NestJS generator with Nx project support."
41
- },
42
- "filter": {
43
- "factory": "./src/generators/filter/filter#filterSchematic",
44
- "schema": "./src/generators/filter/schema.json",
45
- "description": "Run the `filter` NestJS generator with Nx project support."
46
- },
47
- "gateway": {
48
- "factory": "./src/generators/gateway/gateway#gatewaySchematic",
49
- "schema": "./src/generators/gateway/schema.json",
50
- "description": "Run the `gateway` NestJS generator with Nx project support."
51
- },
52
- "guard": {
53
- "factory": "./src/generators/guard/guard#guardSchematic",
54
- "schema": "./src/generators/guard/schema.json",
55
- "description": "Run the `guard` NestJS generator with Nx project support."
56
- },
57
- "interceptor": {
58
- "factory": "./src/generators/interceptor/interceptor#interceptorSchematic",
59
- "schema": "./src/generators/interceptor/schema.json",
60
- "description": "Run the `interceptor` NestJS generator with Nx project support."
61
- },
62
- "interface": {
63
- "factory": "./src/generators/interface/interface#interfaceSchematic",
64
- "schema": "./src/generators/interface/schema.json",
65
- "description": "Run the `interface` NestJS generator with Nx project support."
66
- },
67
- "middleware": {
68
- "factory": "./src/generators/middleware/middleware#middlewareSchematic",
69
- "schema": "./src/generators/middleware/schema.json",
70
- "description": "Run the `middleware` NestJS generator with Nx project support."
71
- },
72
- "module": {
73
- "factory": "./src/generators/module/module#moduleSchematic",
74
- "schema": "./src/generators/module/schema.json",
75
- "description": "Run the `module` NestJS generator with Nx project support."
76
- },
77
- "pipe": {
78
- "factory": "./src/generators/pipe/pipe#pipeSchematic",
79
- "schema": "./src/generators/pipe/schema.json",
80
- "description": "Run the `pipe` NestJS generator with Nx project support."
81
- },
82
- "provider": {
83
- "factory": "./src/generators/provider/provider#providerSchematic",
84
- "schema": "./src/generators/provider/schema.json",
85
- "description": "Run the `provider` NestJS generator with Nx project support."
86
- },
87
- "resolver": {
88
- "factory": "./src/generators/resolver/resolver#resolverSchematic",
89
- "schema": "./src/generators/resolver/schema.json",
90
- "description": "Run the `resolver` NestJS generator with Nx project support."
91
- },
92
- "resource": {
93
- "factory": "./src/generators/resource/resource#resourceSchematic",
94
- "schema": "./src/generators/resource/schema.json",
95
- "description": "Run the `resource` NestJS generator with Nx project support."
96
- },
97
- "service": {
98
- "factory": "./src/generators/service/service#serviceSchematic",
99
- "schema": "./src/generators/service/schema.json",
100
- "description": "Run the `service` NestJS generator with Nx project support."
101
- }
102
- },
103
5
  "generators": {
104
6
  "application": {
105
7
  "factory": "./src/generators/application/application#applicationGeneratorInternal",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/nest",
3
- "version": "17.0.0-beta.1",
3
+ "version": "17.0.0-beta.4",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.",
6
6
  "repository": {
@@ -24,20 +24,20 @@
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
33
  "@nestjs/schematics": "^9.1.0",
34
- "@nx/devkit": "17.0.0-beta.1",
35
- "@nx/js": "17.0.0-beta.1",
36
- "@nx/linter": "17.0.0-beta.1",
37
- "@nx/node": "17.0.0-beta.1",
34
+ "@nx/devkit": "17.0.0-beta.4",
35
+ "@nx/js": "17.0.0-beta.4",
36
+ "@nx/linter": "17.0.0-beta.4",
37
+ "@nx/node": "17.0.0-beta.4",
38
38
  "@phenomnomnominal/tsquery": "~5.0.1",
39
39
  "tslib": "^2.3.0",
40
- "@nrwl/nest": "17.0.0-beta.1"
40
+ "@nrwl/nest": "17.0.0-beta.4"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -3,4 +3,3 @@ import type { ApplicationGeneratorOptions } from './schema';
3
3
  export declare function applicationGenerator(tree: Tree, rawOptions: ApplicationGeneratorOptions): Promise<GeneratorCallback>;
4
4
  export declare function applicationGeneratorInternal(tree: Tree, rawOptions: ApplicationGeneratorOptions): Promise<GeneratorCallback>;
5
5
  export default applicationGenerator;
6
- export declare const applicationSchematic: (generatorOptions: ApplicationGeneratorOptions) => (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 node_1 = require("@nx/node");
6
6
  const init_1 = require("../init/init");
@@ -29,4 +29,3 @@ async function applicationGeneratorInternal(tree, rawOptions) {
29
29
  }
30
30
  exports.applicationGeneratorInternal = applicationGeneratorInternal;
31
31
  exports.default = applicationGenerator;
32
- exports.applicationSchematic = (0, devkit_1.convertNxGenerator)(applicationGenerator);
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type ClassGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function classGenerator(tree: Tree, rawOptions: ClassGeneratorOptions): Promise<any>;
5
5
  export default classGenerator;
6
- export declare const classSchematic: (generatorOptions: ClassGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.classSchematic = exports.classGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.classGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function classGenerator(tree, rawOptions) {
7
6
  const options = normalizeClassOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function classGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.classGenerator = classGenerator;
11
10
  exports.default = classGenerator;
12
- exports.classSchematic = (0, devkit_1.convertNxGenerator)(classGenerator);
13
11
  function normalizeClassOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -6,4 +6,3 @@ export type ControllerGeneratorOptions = NestGeneratorWithLanguageOption & NestG
6
6
  };
7
7
  export declare function controllerGenerator(tree: Tree, rawOptions: ControllerGeneratorOptions): Promise<any>;
8
8
  export default controllerGenerator;
9
- export declare const controllerSchematic: (generatorOptions: ControllerGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.controllerSchematic = exports.controllerGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.controllerGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function controllerGenerator(tree, rawOptions) {
7
6
  const options = normalizeControllerOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function controllerGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.controllerGenerator = controllerGenerator;
11
10
  exports.default = controllerGenerator;
12
- exports.controllerSchematic = (0, devkit_1.convertNxGenerator)(controllerGenerator);
13
11
  function normalizeControllerOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption } from '../utils';
3
3
  export type DecoratorGeneratorOptions = NestGeneratorWithLanguageOption;
4
4
  export declare function decoratorGenerator(tree: Tree, rawOptions: DecoratorGeneratorOptions): Promise<any>;
5
5
  export default decoratorGenerator;
6
- export declare const decoratorSchematic: (generatorOptions: NestGeneratorWithLanguageOption) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decoratorSchematic = exports.decoratorGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.decoratorGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function decoratorGenerator(tree, rawOptions) {
7
6
  const options = normalizeDecoratorOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function decoratorGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.decoratorGenerator = decoratorGenerator;
11
10
  exports.default = decoratorGenerator;
12
- exports.decoratorSchematic = (0, devkit_1.convertNxGenerator)(decoratorGenerator);
13
11
  function normalizeDecoratorOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type FilterGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function filterGenerator(tree: Tree, rawOptions: FilterGeneratorOptions): Promise<any>;
5
5
  export default filterGenerator;
6
- export declare const filterSchematic: (generatorOptions: FilterGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterSchematic = exports.filterGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.filterGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function filterGenerator(tree, rawOptions) {
7
6
  const options = normalizeFilterOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function filterGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.filterGenerator = filterGenerator;
11
10
  exports.default = filterGenerator;
12
- exports.filterSchematic = (0, devkit_1.convertNxGenerator)(filterGenerator);
13
11
  function normalizeFilterOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type GatewayGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function gatewayGenerator(tree: Tree, rawOptions: GatewayGeneratorOptions): Promise<any>;
5
5
  export default gatewayGenerator;
6
- export declare const gatewaySchematic: (generatorOptions: GatewayGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.gatewaySchematic = exports.gatewayGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.gatewayGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function gatewayGenerator(tree, rawOptions) {
7
6
  const options = normalizeGatewayOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function gatewayGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.gatewayGenerator = gatewayGenerator;
11
10
  exports.default = gatewayGenerator;
12
- exports.gatewaySchematic = (0, devkit_1.convertNxGenerator)(gatewayGenerator);
13
11
  function normalizeGatewayOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type GuardGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function guardGenerator(tree: Tree, rawOptions: GuardGeneratorOptions): Promise<any>;
5
5
  export default guardGenerator;
6
- export declare const guardSchematic: (generatorOptions: GuardGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.guardSchematic = exports.guardGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.guardGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function guardGenerator(tree, rawOptions) {
7
6
  const options = normalizeGuardOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function guardGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.guardGenerator = guardGenerator;
11
10
  exports.default = guardGenerator;
12
- exports.guardSchematic = (0, devkit_1.convertNxGenerator)(guardGenerator);
13
11
  function normalizeGuardOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -2,4 +2,3 @@ import type { GeneratorCallback, Tree } from '@nx/devkit';
2
2
  import type { InitGeneratorOptions } from './schema';
3
3
  export declare function initGenerator(tree: Tree, rawOptions: InitGeneratorOptions): Promise<GeneratorCallback>;
4
4
  export default initGenerator;
5
- export declare const initSchematic: (generatorOptions: InitGeneratorOptions) => (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 lib_1 = require("./lib");
@@ -23,4 +23,3 @@ async function initGenerator(tree, rawOptions) {
23
23
  }
24
24
  exports.initGenerator = initGenerator;
25
25
  exports.default = initGenerator;
26
- exports.initSchematic = (0, devkit_1.convertNxGenerator)(initGenerator);
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type InterceptorGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function interceptorGenerator(tree: Tree, rawOptions: InterceptorGeneratorOptions): Promise<any>;
5
5
  export default interceptorGenerator;
6
- export declare const interceptorSchematic: (generatorOptions: InterceptorGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.interceptorSchematic = exports.interceptorGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.interceptorGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function interceptorGenerator(tree, rawOptions) {
7
6
  const options = normalizeInterceptorOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function interceptorGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.interceptorGenerator = interceptorGenerator;
11
10
  exports.default = interceptorGenerator;
12
- exports.interceptorSchematic = (0, devkit_1.convertNxGenerator)(interceptorGenerator);
13
11
  function normalizeInterceptorOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorOptions } from '../utils';
3
3
  export type InterfaceGeneratorOptions = NestGeneratorOptions;
4
4
  export declare function interfaceGenerator(tree: Tree, rawOptions: InterfaceGeneratorOptions): Promise<any>;
5
5
  export default interfaceGenerator;
6
- export declare const interfaceSchematic: (generatorOptions: NestGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.interfaceSchematic = exports.interfaceGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.interfaceGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function interfaceGenerator(tree, rawOptions) {
7
6
  const options = (0, utils_1.normalizeOptions)(tree, rawOptions);
@@ -9,4 +8,3 @@ function interfaceGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.interfaceGenerator = interfaceGenerator;
11
10
  exports.default = interfaceGenerator;
12
- exports.interfaceSchematic = (0, devkit_1.convertNxGenerator)(interfaceGenerator);
@@ -3,4 +3,3 @@ import type { LibraryGeneratorOptions } from './schema';
3
3
  export declare function libraryGenerator(tree: Tree, rawOptions: LibraryGeneratorOptions): Promise<GeneratorCallback>;
4
4
  export declare function libraryGeneratorInternal(tree: Tree, rawOptions: LibraryGeneratorOptions): Promise<GeneratorCallback>;
5
5
  export default libraryGenerator;
6
- export declare const librarySchematic: (generatorOptions: LibraryGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.librarySchematic = exports.libraryGeneratorInternal = exports.libraryGenerator = void 0;
3
+ exports.libraryGeneratorInternal = exports.libraryGenerator = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const js_1 = require("@nx/js");
6
6
  const lib_1 = require("../init/lib");
@@ -28,4 +28,3 @@ async function libraryGeneratorInternal(tree, rawOptions) {
28
28
  }
29
29
  exports.libraryGeneratorInternal = libraryGeneratorInternal;
30
30
  exports.default = libraryGenerator;
31
- exports.librarySchematic = (0, devkit_1.convertNxGenerator)(libraryGenerator);
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type MiddlewareGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function middlewareGenerator(tree: Tree, rawOptions: MiddlewareGeneratorOptions): Promise<any>;
5
5
  export default middlewareGenerator;
6
- export declare const middlewareSchematic: (generatorOptions: MiddlewareGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.middlewareSchematic = exports.middlewareGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.middlewareGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function middlewareGenerator(tree, rawOptions) {
7
6
  const options = normalizeMiddlewareOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function middlewareGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.middlewareGenerator = middlewareGenerator;
11
10
  exports.default = middlewareGenerator;
12
- exports.middlewareSchematic = (0, devkit_1.convertNxGenerator)(middlewareGenerator);
13
11
  function normalizeMiddlewareOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -6,4 +6,3 @@ export type ModuleGeneratorOptions = NestGeneratorWithLanguageOption & {
6
6
  };
7
7
  export declare function moduleGenerator(tree: Tree, rawOptions: ModuleGeneratorOptions): Promise<any>;
8
8
  export default moduleGenerator;
9
- export declare const moduleSchematic: (generatorOptions: ModuleGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.moduleSchematic = exports.moduleGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.moduleGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function moduleGenerator(tree, rawOptions) {
7
6
  const options = normalizeModuleOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function moduleGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.moduleGenerator = moduleGenerator;
11
10
  exports.default = moduleGenerator;
12
- exports.moduleSchematic = (0, devkit_1.convertNxGenerator)(moduleGenerator);
13
11
  function normalizeModuleOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type PipeGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function pipeGenerator(tree: Tree, rawOptions: PipeGeneratorOptions): Promise<any>;
5
5
  export default pipeGenerator;
6
- export declare const pipeSchematic: (generatorOptions: PipeGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pipeSchematic = exports.pipeGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.pipeGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function pipeGenerator(tree, rawOptions) {
7
6
  const options = normalizePipeOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function pipeGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.pipeGenerator = pipeGenerator;
11
10
  exports.default = pipeGenerator;
12
- exports.pipeSchematic = (0, devkit_1.convertNxGenerator)(pipeGenerator);
13
11
  function normalizePipeOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type ProviderGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function providerGenerator(tree: Tree, rawOptions: ProviderGeneratorOptions): Promise<any>;
5
5
  export default providerGenerator;
6
- export declare const providerSchematic: (generatorOptions: ProviderGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.providerSchematic = exports.providerGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.providerGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function providerGenerator(tree, rawOptions) {
7
6
  const options = normalizeProviderOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function providerGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.providerGenerator = providerGenerator;
11
10
  exports.default = providerGenerator;
12
- exports.providerSchematic = (0, devkit_1.convertNxGenerator)(providerGenerator);
13
11
  function normalizeProviderOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type ResolverGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function resolverGenerator(tree: Tree, rawOptions: ResolverGeneratorOptions): Promise<any>;
5
5
  export default resolverGenerator;
6
- export declare const resolverSchematic: (generatorOptions: ResolverGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolverSchematic = exports.resolverGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.resolverGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function resolverGenerator(tree, rawOptions) {
7
6
  const options = normalizeResolverOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function resolverGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.resolverGenerator = resolverGenerator;
11
10
  exports.default = resolverGenerator;
12
- exports.resolverSchematic = (0, devkit_1.convertNxGenerator)(resolverGenerator);
13
11
  function normalizeResolverOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithResourceOption,
3
3
  export type ResourceGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption & NestGeneratorWithResourceOption;
4
4
  export declare function resourceGenerator(tree: Tree, rawOptions: ResourceGeneratorOptions): Promise<any>;
5
5
  export default resourceGenerator;
6
- export declare const resourceSchematic: (generatorOptions: ResourceGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resourceSchematic = exports.resourceGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.resourceGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function resourceGenerator(tree, rawOptions) {
7
6
  const options = normalizeResourceOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function resourceGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.resourceGenerator = resourceGenerator;
11
10
  exports.default = resourceGenerator;
12
- exports.resourceSchematic = (0, devkit_1.convertNxGenerator)(resourceGenerator);
13
11
  function normalizeResourceOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),
@@ -3,4 +3,3 @@ import type { NestGeneratorWithLanguageOption, NestGeneratorWithTestOption } fro
3
3
  export type ServiceGeneratorOptions = NestGeneratorWithLanguageOption & NestGeneratorWithTestOption;
4
4
  export declare function serviceGenerator(tree: Tree, rawOptions: ServiceGeneratorOptions): Promise<any>;
5
5
  export default serviceGenerator;
6
- export declare const serviceSchematic: (generatorOptions: ServiceGeneratorOptions) => (tree: any, context: any) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serviceSchematic = exports.serviceGenerator = void 0;
4
- const devkit_1 = require("@nx/devkit");
3
+ exports.serviceGenerator = void 0;
5
4
  const utils_1 = require("../utils");
6
5
  function serviceGenerator(tree, rawOptions) {
7
6
  const options = normalizeServiceOptions(tree, rawOptions);
@@ -9,7 +8,6 @@ function serviceGenerator(tree, rawOptions) {
9
8
  }
10
9
  exports.serviceGenerator = serviceGenerator;
11
10
  exports.default = serviceGenerator;
12
- exports.serviceSchematic = (0, devkit_1.convertNxGenerator)(serviceGenerator);
13
11
  function normalizeServiceOptions(tree, options) {
14
12
  return {
15
13
  ...(0, utils_1.normalizeOptions)(tree, options),