@rxap/plugin-gpt 19.0.5-dev.7 → 19.0.5

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,14 @@
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
+ ## [19.0.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-gpt@19.0.5-dev.8...@rxap/plugin-gpt@19.0.5) (2024-07-30)
7
+
8
+ **Note:** Version bump only for package @rxap/plugin-gpt
9
+
10
+ ## [19.0.5-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/plugin-gpt@19.0.5-dev.7...@rxap/plugin-gpt@19.0.5-dev.8) (2024-07-30)
11
+
12
+ **Note:** Version bump only for package @rxap/plugin-gpt
13
+
6
14
  ## [19.0.5-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/plugin-gpt@19.0.5-dev.6...@rxap/plugin-gpt@19.0.5-dev.7) (2024-07-09)
7
15
 
8
16
  **Note:** Version bump only for package @rxap/plugin-gpt
package/README.md CHANGED
@@ -16,9 +16,9 @@
16
16
  ```bash
17
17
  yarn add @rxap/plugin-gpt
18
18
  ```
19
- **Install peer dependencies:**
19
+ **Execute the init generator:**
20
20
  ```bash
21
- yarn add @nx/devkit@^19.1.1 @rxap/generator-ts-morph@^1.0.7 @rxap/ts-morph@^1.2.2 @rxap/workspace-utilities@^19.0.1 gpt-3-encoder@^1.1.4 openai@^3.3.0 ts-morph@^18.0.0
21
+ yarn nx g @rxap/plugin-gpt:init
22
22
  ```
23
23
  # Generators
24
24
 
@@ -29,9 +29,23 @@ yarn add @nx/devkit@^19.1.1 @rxap/generator-ts-morph@^1.0.7 @rxap/ts-morph@^1.2.
29
29
  yarn nx g @rxap/plugin-gpt:documentation
30
30
  ```
31
31
 
32
+ ## init
33
+ > Initialize the package in the workspace
34
+
35
+ ```bash
36
+ yarn nx g @rxap/plugin-gpt:init
37
+ ```
38
+
32
39
  ## documentation
33
40
  > documentation generator
34
41
 
35
42
  ```bash
36
43
  yarn nx g @rxap/plugin-gpt:documentation
37
44
  ```
45
+
46
+ ## init
47
+ > Initialize the package in the workspace
48
+
49
+ ```bash
50
+ yarn nx g @rxap/plugin-gpt:init
51
+ ```
package/generators.json CHANGED
@@ -16,6 +16,11 @@
16
16
  "factory": "./src/generators/documentation/index",
17
17
  "schema": "./src/generators/documentation/schema.json",
18
18
  "description": "documentation generator"
19
+ },
20
+ "init": {
21
+ "factory": "./src/generators/init/index",
22
+ "schema": "./src/generators/init/schema.json",
23
+ "description": "Initialize the package in the workspace"
19
24
  }
20
25
  }
21
26
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "version": "19.0.5-dev.7",
2
+ "version": "19.0.5",
3
3
  "name": "@rxap/plugin-gpt",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
6
6
  "@nx/devkit": "19.4.2",
7
- "@rxap/ts-morph": "^1.4.3-dev.3",
8
- "@rxap/workspace-ts-morph": "^19.1.3-dev.7",
9
- "@rxap/workspace-utilities": "^19.4.0-dev.6",
7
+ "@rxap/ts-morph": "^1.4.3",
8
+ "@rxap/workspace-ts-morph": "^19.1.3",
9
+ "@rxap/workspace-utilities": "^19.4.0",
10
10
  "gpt-3-encoder": "^1.1.4",
11
11
  "openai": "^4.52.0",
12
12
  "ts-morph": "18.0.0",
@@ -43,6 +43,6 @@
43
43
  },
44
44
  "schematics": "./generators.json",
45
45
  "type": "commonjs",
46
- "gitHead": "31fdf513912a70c112035d9c825cf5b072924d81",
46
+ "gitHead": "dc81d957aa2a2bd4232af34f2e0550dd52643f40",
47
47
  "main": "./src/index.js"
48
48
  }
@@ -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/gpt/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"}