@rxap/workspace-ts-morph 19.1.9-dev.9 → 19.1.10-dev.0

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,30 @@
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.1.10-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9...@rxap/workspace-ts-morph@19.1.10-dev.0) (2025-02-17)
7
+
8
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
9
+
10
+ ## [19.1.9](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.13...@rxap/workspace-ts-morph@19.1.9) (2025-02-13)
11
+
12
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
13
+
14
+ ## [19.1.9-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.12...@rxap/workspace-ts-morph@19.1.9-dev.13) (2025-02-13)
15
+
16
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
17
+
18
+ ## [19.1.9-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.11...@rxap/workspace-ts-morph@19.1.9-dev.12) (2025-02-11)
19
+
20
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
21
+
22
+ ## [19.1.9-dev.11](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.10...@rxap/workspace-ts-morph@19.1.9-dev.11) (2025-02-11)
23
+
24
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
25
+
26
+ ## [19.1.9-dev.10](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.9...@rxap/workspace-ts-morph@19.1.9-dev.10) (2025-02-10)
27
+
28
+ **Note:** Version bump only for package @rxap/workspace-ts-morph
29
+
6
30
  ## [19.1.9-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/workspace-ts-morph@19.1.9-dev.8...@rxap/workspace-ts-morph@19.1.9-dev.9) (2025-02-07)
7
31
 
8
32
  ### Bug Fixes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @rxap/workspace-ts-morph
1
+ This package provides utilities for transforming workspace files using the TypeScript compiler API via ts-morph. It includes functions to add directories to a ts-morph project, apply ts-morph project changes to a tree, and perform transformations on Angular and Nest projects. The package also offers an init generator for adding peer dependencies to a project.
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@rxap/workspace-ts-morph?style=flat-square)](https://www.npmjs.com/package/@rxap/workspace-ts-morph)
4
4
  [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
@@ -9,6 +9,7 @@
9
9
 
10
10
  - [Installation](#installation)
11
11
  - [Generators](#generators)
12
+ - [init](#init)
12
13
 
13
14
  # Installation
14
15
 
@@ -26,5 +27,5 @@ yarn nx g @rxap/workspace-ts-morph:init
26
27
  > Initialize the package in the workspace
27
28
 
28
29
  ```bash
29
- yarn nx g @rxap/workspace-ts-morph:init
30
+ nx g @rxap/workspace-ts-morph:init
30
31
  ```
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
- "version": "19.1.9-dev.9",
2
+ "version": "19.1.10-dev.0",
3
3
  "name": "@rxap/workspace-ts-morph",
4
+ "description": "This package provides utilities for transforming workspace files using the TypeScript compiler API via ts-morph. It includes functions to add directories to a ts-morph project, apply ts-morph project changes to a tree, and perform transformations on Angular and Nest projects. The package also offers an init generator for adding peer dependencies to a project.\n",
4
5
  "license": "GPL-3.0-or-later",
5
6
  "dependencies": {
6
- "@nx/devkit": "20.4.1",
7
- "@rxap/ts-morph": "^1.5.3-dev.4",
8
- "@rxap/utilities": "^16.4.2-dev.3",
9
- "@rxap/workspace-utilities": "^19.6.1-dev.8",
7
+ "@nx/devkit": "20.4.2",
8
+ "@rxap/ts-morph": "^1.5.3",
9
+ "@rxap/utilities": "^16.4.2",
10
+ "@rxap/workspace-utilities": "^19.6.2-dev.0",
10
11
  "ts-morph": "^18.0.0",
11
12
  "tslib": "2.6.2"
12
13
  },
@@ -37,8 +38,9 @@
37
38
  "url": "https://gitlab.com/rxap/packages.git",
38
39
  "directory": "packages/workspace/ts-morph"
39
40
  },
41
+ "schematics": "./generators.json",
40
42
  "type": "commonjs",
41
- "gitHead": "8752e61e1fece0611811cb06ac2e31f0e6610549",
43
+ "gitHead": "0b022b6165e06718ce3edf73ae1d5375f0ff3413",
42
44
  "types": "./src/index.d.ts",
43
45
  "main": "./src/index.js"
44
46
  }
@@ -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/workspace/ts-morph/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"}