@rxap/schematics-ts-morph 16.0.0-dev.22 → 16.0.0-dev.24
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,18 @@
|
|
|
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.0-dev.24](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@16.0.0-dev.23...@rxap/schematics-ts-morph@16.0.0-dev.24) (2023-10-02)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- align duplicated implementation ([801aee5](https://gitlab.com/rxap/packages/commit/801aee528f70db9f4736934b0186029d5650ed03))
|
|
11
|
+
|
|
12
|
+
# [16.0.0-dev.23](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@16.0.0-dev.22...@rxap/schematics-ts-morph@16.0.0-dev.23) (2023-10-02)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- remove user-interface- prefix from service name generation ([0388b2f](https://gitlab.com/rxap/packages/commit/0388b2f614bb666051260c4ade15f2c32dd03575))
|
|
17
|
+
|
|
6
18
|
# [16.0.0-dev.22](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@16.0.0-dev.21...@rxap/schematics-ts-morph@16.0.0-dev.22) (2023-09-28)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "16.0.0-dev.
|
|
2
|
+
"version": "16.0.0-dev.24",
|
|
3
3
|
"name": "@rxap/schematics-ts-morph",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@rxap/workspace-ts-morph": "^0.1.0-dev.9",
|
|
17
17
|
"ts-morph": "^18.0.0",
|
|
18
18
|
"tslib": "2.6.2",
|
|
19
|
-
"@rxap/node-utilities": "1.1.0-dev.
|
|
20
|
-
"@rxap/workspace-utilities": "0.1.0-dev.
|
|
19
|
+
"@rxap/node-utilities": "1.1.0-dev.13",
|
|
20
|
+
"@rxap/workspace-utilities": "0.1.0-dev.18"
|
|
21
21
|
},
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "Merzough Münker",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"directory": "packages/schematic/ts-morph"
|
|
62
62
|
},
|
|
63
63
|
"type": "commonjs",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "1897f1a0c8f0cc199fdb084ce42d071f425a947b",
|
|
65
65
|
"main": "./src/index.js",
|
|
66
66
|
"types": "./src/index.d.ts"
|
|
67
67
|
}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
import { Tree } from '@angular-devkit/schematics';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
4
|
+
*/
|
|
2
5
|
export interface BuildNestProjectNameOptions {
|
|
3
6
|
project: string;
|
|
4
7
|
feature?: string | null;
|
|
5
8
|
shared?: boolean;
|
|
6
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
12
|
+
*/
|
|
7
13
|
export declare function buildNestProjectName(options: BuildNestProjectNameOptions): string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
16
|
+
*/
|
|
8
17
|
export interface HasNestServiceProjectOptions {
|
|
9
18
|
project: string;
|
|
10
19
|
feature?: string | null;
|
|
11
20
|
shared?: boolean;
|
|
12
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
24
|
+
*/
|
|
13
25
|
export declare function HasNestServiceProject(tree: Tree, options: HasNestServiceProjectOptions): boolean;
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HasNestServiceProject = exports.buildNestProjectName = void 0;
|
|
4
4
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
7
|
+
*/
|
|
5
8
|
function buildNestProjectName(options) {
|
|
6
9
|
if (options.feature) {
|
|
7
10
|
if (options.shared) {
|
|
8
11
|
return `service-feature-${options.feature}`;
|
|
9
12
|
}
|
|
10
13
|
else {
|
|
11
|
-
return `service-app-${options.project}-${options.feature}`;
|
|
14
|
+
return `service-app-${options.project.replace(/user-interface-/, '')}-${options.feature}`;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
else {
|
|
@@ -16,6 +19,9 @@ function buildNestProjectName(options) {
|
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
exports.buildNestProjectName = buildNestProjectName;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated import from @rxap/workspace-utilities
|
|
24
|
+
*/
|
|
19
25
|
function HasNestServiceProject(tree, options) {
|
|
20
26
|
const projectName = buildNestProjectName(options);
|
|
21
27
|
return (0, schematics_utilities_1.HasProject)(tree, projectName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-utilities.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/project-utilities.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"project-utilities.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/ts-morph/src/lib/nest/project-utilities.ts"],"names":[],"mappings":";;;AACA,qEAAwD;AAYxD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,OAAoC;IACvE,IAAI,OAAO,CAAC,OAAO,EAAE;QACnB,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,OAAO,mBAAoB,OAAO,CAAC,OAAQ,EAAE,CAAC;SAC/C;aAAM;YACL,OAAO,eAAgB,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAE,IAAK,OAAO,CAAC,OAAQ,EAAE,CAAC;SAC/F;KACF;SAAM;QACL,OAAO,OAAO,CAAC,OAAO,CAAC;KACxB;AACH,CAAC;AAVD,oDAUC;AAWD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAU,EAAE,OAAqC;IACrF,MAAM,WAAW,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAClD,OAAO,IAAA,iCAAU,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AACvC,CAAC;AAHD,sDAGC"}
|