@rxap/plugin-nestjs 16.1.0-dev.5 → 16.1.0-dev.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.5...@rxap/plugin-nestjs@16.1.0-dev.6) (2023-08-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - expose generators as schematics ([679ca36](https://gitlab.com/rxap/packages/commit/679ca36d3712a11e4dc838762bca2f7c471e1e04))
11
+
6
12
  # [16.1.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.4...@rxap/plugin-nestjs@16.1.0-dev.5) (2023-08-05)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-nestjs
19
19
  ```
20
20
  **Install peer dependencies:**
21
21
  ```bash
22
- yarn add @nx/devkit@^16.5.0 @nx/js@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.2 @rxap/plugin-utilities@^16.1.0-dev.4 @rxap/workspace-utilities@^0.1.0-dev.2 nx@^16.5.0
22
+ yarn add @nx/devkit@^16.5.0 @nx/js@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.4 @rxap/plugin-utilities@^16.1.0-dev.4 @rxap/workspace-utilities@^0.1.0-dev.2 nx@^16.5.0
23
23
  ```
24
24
  **Execute the init generator:**
25
25
  ```bash
@@ -51,6 +51,34 @@ yarn nx g @rxap/plugin-nestjs:init-application
51
51
  ## swagger
52
52
  > swagger generator
53
53
 
54
+ ```bash
55
+ yarn nx g @rxap/plugin-nestjs:swagger
56
+ ```
57
+
58
+ ## init
59
+ > init generator
60
+
61
+ ```bash
62
+ yarn nx g @rxap/plugin-nestjs:init
63
+ ```
64
+
65
+ ## init-library
66
+ > init-library generator
67
+
68
+ ```bash
69
+ yarn nx g @rxap/plugin-nestjs:init-library
70
+ ```
71
+
72
+ ## init-application
73
+ > init-application generator
74
+
75
+ ```bash
76
+ yarn nx g @rxap/plugin-nestjs:init-application
77
+ ```
78
+
79
+ ## swagger
80
+ > swagger generator
81
+
54
82
  ```bash
55
83
  yarn nx g @rxap/plugin-nestjs:swagger
56
84
  ```
package/generators.json CHANGED
@@ -20,5 +20,27 @@
20
20
  "schema": "./src/generators/swagger/schema.json",
21
21
  "description": "swagger generator"
22
22
  }
23
+ },
24
+ "schematics": {
25
+ "init": {
26
+ "factory": "./src/generators/init/index",
27
+ "schema": "./src/generators/init/schema.json",
28
+ "description": "init generator"
29
+ },
30
+ "init-library": {
31
+ "factory": "./src/generators/init-library/index",
32
+ "schema": "./src/generators/init-library/schema.json",
33
+ "description": "init-library generator"
34
+ },
35
+ "init-application": {
36
+ "factory": "./src/generators/init-application/index",
37
+ "schema": "./src/generators/init-application/schema.json",
38
+ "description": "init-application generator"
39
+ },
40
+ "swagger": {
41
+ "factory": "./src/generators/swagger/index",
42
+ "schema": "./src/generators/swagger/schema.json",
43
+ "description": "swagger generator"
44
+ }
23
45
  }
24
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/plugin-nestjs",
3
- "version": "16.1.0-dev.5",
3
+ "version": "16.1.0-dev.6",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "peerDependencies": {
40
40
  "@nx/devkit": "^16.5.0",
41
41
  "@nx/js": "^16.5.0",
42
- "@rxap/generator-utilities": "^1.1.0-dev.2",
42
+ "@rxap/generator-utilities": "^1.1.0-dev.4",
43
43
  "@rxap/plugin-utilities": "^16.1.0-dev.4",
44
44
  "@rxap/workspace-utilities": "^0.1.0-dev.2",
45
45
  "nx": "^16.5.0",
@@ -50,7 +50,7 @@
50
50
  "packageGroup": [
51
51
  {
52
52
  "package": "@rxap/generator-utilities",
53
- "version": "1.1.0-dev.2"
53
+ "version": "1.1.0-dev.4"
54
54
  },
55
55
  {
56
56
  "package": "@rxap/plugin-utilities",
@@ -63,7 +63,8 @@
63
63
  ]
64
64
  },
65
65
  "executors": "./executors.json",
66
- "gitHead": "a4bf01690b37d510083b9b1e1d4c17631ba9d8a8",
66
+ "schematics": "./generators.json",
67
+ "gitHead": "8f010d8945a8bd56c8968c2af129b1e0b2f656cf",
67
68
  "main": "./src/index.js",
68
69
  "types": "./src/index.d.ts"
69
70
  }
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").InitGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/init/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").InitApplicationGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/init-application/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("../init-application/schema").InitApplicationGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/init-library/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").SwaggerGeneratorSchema) => (tree: any, context: any) => Promise<any>;
2
+ export default schematic;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const generator_1 = require("./generator");
5
+ const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
6
+ exports.default = schematic;
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/swagger/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}