@rxap/plugin-angular 16.1.0-dev.6 → 16.1.0-dev.7

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.7](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.6...@rxap/plugin-angular@16.1.0-dev.7) (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.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.5...@rxap/plugin-angular@16.1.0-dev.6) (2023-08-04)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-angular
19
19
  ```
20
20
  **Install peer dependencies:**
21
21
  ```bash
22
- yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.1 @rxap/plugin-localazy@^16.1.0-dev.0 @rxap/plugin-utilities@^16.1.0-dev.3 @rxap/schematics-ts-morph@^16.0.0-dev.6 @rxap/workspace-ts-morph@^0.0.2-dev.0 @rxap/workspace-utilities@^0.1.0-dev.1 nx@^16.5.0 ts-morph@^18.0.0
22
+ yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.2 @rxap/plugin-localazy@^16.1.0-dev.1 @rxap/plugin-utilities@^16.1.0-dev.4 @rxap/schematics-ts-morph@^16.0.0-dev.7 @rxap/workspace-ts-morph@^0.0.2-dev.1 @rxap/workspace-utilities@^0.1.0-dev.2 nx@^16.5.0 ts-morph@^18.0.0
23
23
  ```
24
24
  **Execute the init generator:**
25
25
  ```bash
@@ -58,6 +58,41 @@ yarn nx g @rxap/plugin-angular:fix-schematic
58
58
  ## schematic
59
59
  > Create a Schematic for a project.
60
60
 
61
+ ```bash
62
+ yarn nx g @rxap/plugin-angular:schematic
63
+ ```
64
+
65
+ ## init
66
+ > init generator
67
+
68
+ ```bash
69
+ yarn nx g @rxap/plugin-angular:init
70
+ ```
71
+
72
+ ## init-application
73
+ > init-application generator
74
+
75
+ ```bash
76
+ yarn nx g @rxap/plugin-angular:init-application
77
+ ```
78
+
79
+ ## init-library
80
+ > init-library generator
81
+
82
+ ```bash
83
+ yarn nx g @rxap/plugin-angular:init-library
84
+ ```
85
+
86
+ ## fix-schematic
87
+ > fix-schematic generator
88
+
89
+ ```bash
90
+ yarn nx g @rxap/plugin-angular:fix-schematic
91
+ ```
92
+
93
+ ## schematic
94
+ > Create a Schematic for a project.
95
+
61
96
  ```bash
62
97
  yarn nx g @rxap/plugin-angular:schematic
63
98
  ```
package/generators.json CHANGED
@@ -25,5 +25,32 @@
25
25
  "schema": "./src/generators/schematic/schema.json",
26
26
  "description": "Create a Schematic for a project."
27
27
  }
28
+ },
29
+ "schematics": {
30
+ "init": {
31
+ "factory": "./src/generators/init/index",
32
+ "schema": "./src/generators/init/schema.json",
33
+ "description": "init 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
+ "init-library": {
41
+ "factory": "./src/generators/init-library/index",
42
+ "schema": "./src/generators/init-library/schema.json",
43
+ "description": "init-library generator"
44
+ },
45
+ "fix-schematic": {
46
+ "factory": "./src/generators/fix-schematic/index",
47
+ "schema": "./src/generators/fix-schematic/schema.json",
48
+ "description": "fix-schematic generator"
49
+ },
50
+ "schematic": {
51
+ "factory": "./src/generators/schematic/index",
52
+ "schema": "./src/generators/schematic/schema.json",
53
+ "description": "Create a Schematic for a project."
54
+ }
28
55
  }
29
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/plugin-angular",
3
- "version": "16.1.0-dev.6",
3
+ "version": "16.1.0-dev.7",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "publishConfig": {
@@ -39,12 +39,12 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@nx/devkit": "^16.5.0",
42
- "@rxap/generator-utilities": "^1.1.0-dev.1",
43
- "@rxap/plugin-localazy": "^16.1.0-dev.0",
44
- "@rxap/plugin-utilities": "^16.1.0-dev.3",
45
- "@rxap/schematics-ts-morph": "^16.0.0-dev.6",
46
- "@rxap/workspace-ts-morph": "^0.0.2-dev.0",
47
- "@rxap/workspace-utilities": "^0.1.0-dev.1",
42
+ "@rxap/generator-utilities": "^1.1.0-dev.2",
43
+ "@rxap/plugin-localazy": "^16.1.0-dev.1",
44
+ "@rxap/plugin-utilities": "^16.1.0-dev.4",
45
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.7",
46
+ "@rxap/workspace-ts-morph": "^0.0.2-dev.1",
47
+ "@rxap/workspace-utilities": "^0.1.0-dev.2",
48
48
  "nx": "^16.5.0",
49
49
  "ts-morph": "^18.0.0",
50
50
  "@rxap/node-utilities": "1.1.0-dev.1",
@@ -55,32 +55,33 @@
55
55
  "packageGroup": [
56
56
  {
57
57
  "package": "@rxap/generator-utilities",
58
- "version": "1.1.0-dev.1"
58
+ "version": "1.1.0-dev.2"
59
59
  },
60
60
  {
61
61
  "package": "@rxap/plugin-localazy",
62
- "version": "16.1.0-dev.0"
62
+ "version": "16.1.0-dev.1"
63
63
  },
64
64
  {
65
65
  "package": "@rxap/plugin-utilities",
66
- "version": "16.1.0-dev.3"
66
+ "version": "16.1.0-dev.4"
67
67
  },
68
68
  {
69
69
  "package": "@rxap/schematics-ts-morph",
70
- "version": "16.0.0-dev.6"
70
+ "version": "16.0.0-dev.7"
71
71
  },
72
72
  {
73
73
  "package": "@rxap/workspace-ts-morph",
74
- "version": "0.0.2-dev.0"
74
+ "version": "0.0.2-dev.1"
75
75
  },
76
76
  {
77
77
  "package": "@rxap/workspace-utilities",
78
- "version": "0.1.0-dev.1"
78
+ "version": "0.1.0-dev.2"
79
79
  }
80
80
  ]
81
81
  },
82
82
  "executors": "./executors.json",
83
- "gitHead": "20620e6fe09d85f69aedad8c9193f03a12e58951",
83
+ "schematics": "./generators.json",
84
+ "gitHead": "8f010d8945a8bd56c8968c2af129b1e0b2f656cf",
84
85
  "main": "./src/index.js",
85
86
  "types": "./src/index.d.ts"
86
87
  }
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").FixSchematicGeneratorSchema) => (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/angular/src/generators/fix-schematic/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").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/angular/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/angular/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("./schema").InitLibraryGeneratorSchema) => (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/angular/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").SchematicGeneratorSchema) => (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/angular/src/generators/schematic/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}