@rxap/plugin-gpt 16.0.1-dev.1 → 16.0.1-dev.2

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.0.1-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-gpt@16.0.1-dev.1...@rxap/plugin-gpt@16.0.1-dev.2) (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.0.1-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-gpt@16.0.1-dev.0...@rxap/plugin-gpt@16.0.1-dev.1) (2023-08-04)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -18,7 +18,7 @@ yarn add @rxap/plugin-gpt
18
18
  ```
19
19
  **Install peer dependencies:**
20
20
  ```bash
21
- yarn add @nx/devkit@^16.5.0 @rxap/generator-ts-morph@^1.0.1-dev.2 @rxap/generator-utilities@^1.0.1-dev.2 gpt-3-encoder@^1.1.4 openai@^3.3.0 ts-morph@^18.0.0
21
+ yarn add @nx/devkit@^16.5.0 @rxap/generator-ts-morph@^1.0.1-dev.3 @rxap/generator-utilities@^1.1.0-dev.2 gpt-3-encoder@^1.1.4 openai@^3.3.0 ts-morph@^18.0.0
22
22
  ```
23
23
  # Generators
24
24
 
@@ -28,3 +28,10 @@ yarn add @nx/devkit@^16.5.0 @rxap/generator-ts-morph@^1.0.1-dev.2 @rxap/generato
28
28
  ```bash
29
29
  yarn nx g @rxap/plugin-gpt:documentation
30
30
  ```
31
+
32
+ ## documentation
33
+ > documentation generator
34
+
35
+ ```bash
36
+ yarn nx g @rxap/plugin-gpt:documentation
37
+ ```
package/generators.json CHANGED
@@ -5,5 +5,12 @@
5
5
  "schema": "./src/generators/documentation/schema.json",
6
6
  "description": "documentation generator"
7
7
  }
8
+ },
9
+ "schematics": {
10
+ "documentation": {
11
+ "factory": "./src/generators/documentation/index",
12
+ "schema": "./src/generators/documentation/schema.json",
13
+ "description": "documentation generator"
14
+ }
8
15
  }
9
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/plugin-gpt",
3
- "version": "16.0.1-dev.1",
3
+ "version": "16.0.1-dev.2",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -39,29 +39,30 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@nx/devkit": "^16.5.0",
42
- "@rxap/generator-ts-morph": "^1.0.1-dev.2",
43
- "@rxap/generator-utilities": "^1.0.1-dev.2",
42
+ "@rxap/generator-ts-morph": "^1.0.1-dev.3",
43
+ "@rxap/generator-utilities": "^1.1.0-dev.2",
44
44
  "gpt-3-encoder": "^1.1.4",
45
45
  "openai": "^3.3.0",
46
46
  "ts-morph": "^18.0.0",
47
47
  "@rxap/node-utilities": "1.1.0-dev.1",
48
48
  "@rxap/utilities": "16.0.0-dev.6",
49
- "@rxap/workspace-ts-morph": "0.0.2-dev.1",
50
- "@rxap/workspace-utilities": "0.1.0-dev.2"
49
+ "@rxap/workspace-ts-morph": "0.1.0-dev.0",
50
+ "@rxap/workspace-utilities": "0.1.0-dev.3"
51
51
  },
52
52
  "nx-migrations": {
53
53
  "packageGroup": [
54
54
  {
55
55
  "package": "@rxap/generator-ts-morph",
56
- "version": "1.0.1-dev.2"
56
+ "version": "1.0.1-dev.3"
57
57
  },
58
58
  {
59
59
  "package": "@rxap/generator-utilities",
60
- "version": "1.0.1-dev.2"
60
+ "version": "1.1.0-dev.2"
61
61
  }
62
62
  ]
63
63
  },
64
- "gitHead": "20620e6fe09d85f69aedad8c9193f03a12e58951",
64
+ "schematics": "./generators.json",
65
+ "gitHead": "8f010d8945a8bd56c8968c2af129b1e0b2f656cf",
65
66
  "main": "./src/index.js",
66
67
  "types": "./src/index.d.ts"
67
68
  }
@@ -0,0 +1,2 @@
1
+ declare const schematic: (generatorOptions: import("./schema").DocumentationGeneratorSchema) => (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/gpt/src/generators/documentation/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}