@o3r/schematics 10.0.0-next.27 → 10.0.0-next.46
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +34 -34
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +3 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/schema.json +1 -1
- package/src/modules/modules.display.rule.d.ts +0 -9
- package/src/modules/modules.display.rule.d.ts.map +1 -1
- package/src/modules/modules.display.rule.js +3 -21
- package/src/modules/modules.display.rule.js.map +1 -1
- package/src/modules/modules.helpers.d.ts +2 -2
- package/src/modules/modules.helpers.d.ts.map +1 -1
- package/src/modules/modules.helpers.js.map +1 -1
- package/src/utility/matching-peers.d.ts +1 -1
- package/src/utility/matching-peers.d.ts.map +1 -1
- package/src/utility/matching-peers.js +8 -2
- package/src/utility/matching-peers.js.map +1 -1
- package/src/utility/modules.js +6 -6
- package/src/utility/modules.js.map +1 -1
- package/src/utility/package-manager-runner.d.ts +2 -2
- package/src/utility/package-manager-runner.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@o3r/schematics",
|
3
|
-
"version": "10.0.0-next.
|
3
|
+
"version": "10.0.0-next.46",
|
4
4
|
"description": "Schematics module of the Otter framework",
|
5
5
|
"main": "./src/public_api.js",
|
6
6
|
"typings": "./src/public_api.d.ts",
|
@@ -21,13 +21,13 @@
|
|
21
21
|
"environment": "src/cli/environment.js"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
|
-
"@angular-devkit/architect": "~0.
|
25
|
-
"@angular-devkit/core": "~
|
26
|
-
"@angular-devkit/schematics": "~
|
27
|
-
"@angular/cli": "~
|
28
|
-
"@schematics/angular": "~
|
24
|
+
"@angular-devkit/architect": "~0.1700.0",
|
25
|
+
"@angular-devkit/core": "~17.0.0",
|
26
|
+
"@angular-devkit/schematics": "~17.0.0",
|
27
|
+
"@angular/cli": "~17.0.0",
|
28
|
+
"@schematics/angular": "~17.0.0",
|
29
29
|
"rxjs": "^7.8.1",
|
30
|
-
"typescript": "~5.
|
30
|
+
"typescript": "~5.2.2"
|
31
31
|
},
|
32
32
|
"peerDependenciesMeta": {
|
33
33
|
"@angular-devkit/architect": {
|
@@ -45,50 +45,49 @@
|
|
45
45
|
"tslib": "^2.5.3"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
|
-
"@angular-devkit/build-angular": "~
|
49
|
-
"@angular-devkit/core": "~
|
50
|
-
"@angular-devkit/schematics": "~
|
51
|
-
"@angular-eslint/eslint-plugin": "~
|
52
|
-
"@angular/cli": "~
|
53
|
-
"@angular/common": "~
|
54
|
-
"@angular/compiler": "~
|
55
|
-
"@angular/compiler-cli": "~
|
56
|
-
"@angular/core": "~
|
57
|
-
"@angular/platform-browser": "~
|
58
|
-
"@angular/platform-browser-dynamic": "~
|
48
|
+
"@angular-devkit/build-angular": "~17.0.3",
|
49
|
+
"@angular-devkit/core": "~17.0.3",
|
50
|
+
"@angular-devkit/schematics": "~17.0.3",
|
51
|
+
"@angular-eslint/eslint-plugin": "~17.1.0",
|
52
|
+
"@angular/cli": "~17.0.3",
|
53
|
+
"@angular/common": "~17.0.4",
|
54
|
+
"@angular/compiler": "~17.0.4",
|
55
|
+
"@angular/compiler-cli": "~17.0.4",
|
56
|
+
"@angular/core": "~17.0.4",
|
57
|
+
"@angular/platform-browser": "~17.0.4",
|
58
|
+
"@angular/platform-browser-dynamic": "~17.0.4",
|
59
59
|
"@babel/core": "~7.23.0",
|
60
60
|
"@babel/preset-typescript": "~7.23.0",
|
61
61
|
"@compodoc/compodoc": "^1.1.19",
|
62
|
-
"@nx/eslint
|
63
|
-
"@nx/
|
64
|
-
"@nx/
|
65
|
-
"@nx/
|
66
|
-
"@o3r/build-helpers": "^10.0.0-next.
|
67
|
-
"@o3r/
|
68
|
-
"@
|
69
|
-
"@schematics/angular": "~16.2.0",
|
62
|
+
"@nx/eslint": "~17.1.1",
|
63
|
+
"@nx/eslint-plugin": "~17.1.1",
|
64
|
+
"@nx/jest": "~17.1.1",
|
65
|
+
"@nx/js": "~17.1.1",
|
66
|
+
"@o3r/build-helpers": "^10.0.0-next.46",
|
67
|
+
"@o3r/eslint-plugin": "^10.0.0-next.46",
|
68
|
+
"@schematics/angular": "~17.0.3",
|
70
69
|
"@types/jest": "~29.5.2",
|
71
70
|
"@types/node": "^18.0.0",
|
72
71
|
"@types/semver": "^7.3.13",
|
73
|
-
"@typescript-eslint/eslint-plugin": "
|
74
|
-
"@typescript-eslint/parser": "^
|
72
|
+
"@typescript-eslint/eslint-plugin": "6.11.0",
|
73
|
+
"@typescript-eslint/parser": "^6.11.0",
|
75
74
|
"cpy-cli": "^4.2.0",
|
76
75
|
"eslint": "^8.42.0",
|
77
76
|
"eslint-import-resolver-node": "^0.3.4",
|
78
|
-
"eslint-plugin-jest": "~27.
|
79
|
-
"eslint-plugin-jsdoc": "~46.
|
77
|
+
"eslint-plugin-jest": "~27.6.0",
|
78
|
+
"eslint-plugin-jsdoc": "~46.9.0",
|
80
79
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
81
80
|
"eslint-plugin-unicorn": "^47.0.0",
|
82
81
|
"jest": "~29.7.0",
|
83
82
|
"jest-junit": "~16.0.0",
|
84
83
|
"jsonc-eslint-parser": "~2.4.0",
|
85
84
|
"jsonschema": "~1.4.1",
|
86
|
-
"nx": "~
|
85
|
+
"nx": "~17.1.1",
|
87
86
|
"rxjs": "^7.8.1",
|
88
87
|
"ts-jest": "~29.1.1",
|
89
88
|
"type-fest": "^3.12.0",
|
90
|
-
"typescript": "~5.
|
91
|
-
"zone.js": "~0.
|
89
|
+
"typescript": "~5.2.2",
|
90
|
+
"zone.js": "~0.14.2"
|
92
91
|
},
|
93
92
|
"engines": {
|
94
93
|
"node": ">=18.0.0"
|
@@ -158,5 +157,6 @@
|
|
158
157
|
],
|
159
158
|
"bugs": "https://github.com/AmadeusITGroup/otter/issues",
|
160
159
|
"repository": "https://github.com/AmadeusITGroup/otter",
|
161
|
-
"license": "BSD-3-Clause"
|
160
|
+
"license": "BSD-3-Clause",
|
161
|
+
"homepage": "https://amadeusitgroup.github.io/otter/"
|
162
162
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAA0B,MAAM,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAM/E;;GAEG;AACH,wBAAgB,KAAK,IAAI,IAAI,CA0B5B"}
|
@@ -4,13 +4,14 @@ exports.ngAdd = void 0;
|
|
4
4
|
const fs = require("node:fs");
|
5
5
|
const path = require("node:path");
|
6
6
|
const rxjs_1 = require("rxjs");
|
7
|
-
const schematics_1 = require("@o3r/schematics");
|
8
7
|
/**
|
9
8
|
* Add Otter schematics to an Angular Project
|
10
9
|
*/
|
11
10
|
function ngAdd() {
|
12
11
|
const schematicsDependencies = ['@angular-devkit/architect', '@angular-devkit/schematics', '@angular-devkit/core', '@schematics/angular', 'globby'];
|
13
12
|
return async (tree, context) => {
|
13
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
14
|
+
const { AddDevInstall } = await Promise.resolve().then(() => require('@o3r/schematics'));
|
14
15
|
context.logger.info('Running ng add for schematics');
|
15
16
|
const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
|
16
17
|
const treePackageJson = tree.readJson('./package.json');
|
@@ -23,7 +24,7 @@ function ngAdd() {
|
|
23
24
|
treePackageJson.devDependencies = { ...treePackageJson.devDependencies, [dependency]: version };
|
24
25
|
packageName = `${packageName} ${dependency}${version ? '@' + version : ''}`;
|
25
26
|
}
|
26
|
-
context.addTask(new
|
27
|
+
context.addTask(new AddDevInstall({
|
27
28
|
hideOutput: false,
|
28
29
|
packageName,
|
29
30
|
quiet: false
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AACA,8BAA8B;AAC9B,kCAAkC;AAClC,+BAAqC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AACA,8BAA8B;AAC9B,kCAAkC;AAClC,+BAAqC;AAGrC;;GAEG;AACH,SAAgB,KAAK;IACnB,MAAM,sBAAsB,GAAG,CAAC,2BAA2B,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;IACpJ,OAAO,KAAK,EAAE,IAAU,EAAE,OAAyB,EAAiB,EAAE;QACpE,gEAAgE;QAChE,MAAM,EAAE,aAAa,EAAE,GAAG,2CAAa,iBAAiB,EAAC,CAAC;QAC1D,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;QACrD,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAgB,CAAC;QACvE,MAAM,kBAAkB,GAAgB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAC,CAAC,CAAC,CAAC;QAC1G,MAAM,oBAAoB,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,kBAAkB,EAAE,YAAY,EAAE,CAAC,UAAU,CAAC,IAAI,kBAAkB,EAAE,gBAAgB,EAAE,CAAC,UAAU,CAAC,CAAC;QAC1J,IAAI,WAAW,GAAG,EAAE,CAAC;QACrB,KAAK,MAAM,UAAU,IAAI,sBAAsB,EAAE;YAC/C,MAAM,OAAO,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;YACjD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,UAAU,GAAG,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;YAChE,eAAe,CAAC,eAAe,GAAG,EAAC,GAAG,eAAe,CAAC,eAAe,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,EAAC,CAAC;YAC9F,WAAW,GAAG,GAAG,WAAW,IAAI,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;SAC7E;QACD,OAAO,CAAC,OAAO,CAAC,IAAI,aAAa,CAAC;YAChC,UAAU,EAAE,KAAK;YACjB,WAAW;YACX,KAAK,EAAE,KAAK;SACN,CAAC,CAAC,CAAC;QACX,MAAM,IAAA,oBAAa,EAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;QACvD,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC;QAClE,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC;AA1BD,sBA0BC"}
|
@@ -23,13 +23,4 @@ export interface DisplayModuleListOptions {
|
|
23
23
|
* @param options Options of the Display Module list
|
24
24
|
*/
|
25
25
|
export declare function displayModuleListRule(options?: Partial<DisplayModuleListOptions>): Rule;
|
26
|
-
/**
|
27
|
-
* @deprecated will be removed in v10, please use {@link displayModuleListRule} instead
|
28
|
-
* Display the list of available Otter modules
|
29
|
-
* @param keyword
|
30
|
-
* @param scopeWhitelist
|
31
|
-
* @param onlyCmsModules
|
32
|
-
* @param onlyNotInstalledModules
|
33
|
-
*/
|
34
|
-
export declare function displayModuleList(keyword: string, scopeWhitelist: string[] | readonly string[], onlyCmsModules?: boolean, onlyNotInstalledModules?: boolean): Rule;
|
35
26
|
//# sourceMappingURL=modules.display.rule.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modules.display.rule.d.ts","sourceRoot":"","sources":["../../../src/modules/modules.display.rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAMvD,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,cAAc,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAAC;IAC7C;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,cAAc,EAAE,OAAO,CAAC;IACxB,oEAAoE;IACpE,uBAAuB,EAAE,OAAO,CAAC;IACjC,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,IAAI,
|
1
|
+
{"version":3,"file":"modules.display.rule.d.ts","sourceRoot":"","sources":["../../../src/modules/modules.display.rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAMvD,0CAA0C;AAC1C,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,cAAc,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAAC;IAC7C;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,cAAc,EAAE,OAAO,CAAC;IACxB,oEAAoE;IACpE,uBAAuB,EAAE,OAAO,CAAC;IACjC,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAiCvF"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.displayModuleListRule = void 0;
|
4
4
|
const node_os_1 = require("node:os");
|
5
5
|
const modules_constants_1 = require("./modules.constants");
|
6
6
|
const utility_1 = require("../utility");
|
@@ -13,8 +13,7 @@ function displayModuleListRule(options) {
|
|
13
13
|
const scopeWhitelist = options?.scopeWhitelist || modules_constants_1.OTTER_MODULE_SUPPORTED_SCOPES;
|
14
14
|
const keyword = options?.keyword || modules_constants_1.OTTER_MODULE_KEYWORD;
|
15
15
|
return async (tree, context) => {
|
16
|
-
const
|
17
|
-
const tagMap = { [OTTER_KEYWORD_CMS]: 'CMS enabler' };
|
16
|
+
const tagMap = { [modules_constants_1.OTTER_KEYWORD_CMS]: 'CMS enabler' };
|
18
17
|
// const { getAvailableModulesWithLatestPackage, formatModuleDescription, getWorkspaceConfig, getPackageManagerExecutor } = await import('@o3r/schematics');
|
19
18
|
const workspaceConfig = (0, utility_1.getWorkspaceConfig)(tree);
|
20
19
|
try {
|
@@ -25,7 +24,7 @@ function displayModuleListRule(options) {
|
|
25
24
|
workspaceConfig
|
26
25
|
});
|
27
26
|
const message = modules
|
28
|
-
.filter((mod) => !options?.onlyCmsModules || mod.keywords?.includes(OTTER_KEYWORD_CMS))
|
27
|
+
.filter((mod) => !options?.onlyCmsModules || mod.keywords?.includes(modules_constants_1.OTTER_KEYWORD_CMS))
|
29
28
|
.map((mod) => (0, modules_helpers_1.formatModuleDescription)(mod, (0, utility_1.getPackageManagerExecutor)(workspaceConfig, options?.packageName), tagMap))
|
30
29
|
.filter((msg) => !!msg)
|
31
30
|
.join(node_os_1.EOL + node_os_1.EOL);
|
@@ -43,21 +42,4 @@ function displayModuleListRule(options) {
|
|
43
42
|
};
|
44
43
|
}
|
45
44
|
exports.displayModuleListRule = displayModuleListRule;
|
46
|
-
/**
|
47
|
-
* @deprecated will be removed in v10, please use {@link displayModuleListRule} instead
|
48
|
-
* Display the list of available Otter modules
|
49
|
-
* @param keyword
|
50
|
-
* @param scopeWhitelist
|
51
|
-
* @param onlyCmsModules
|
52
|
-
* @param onlyNotInstalledModules
|
53
|
-
*/
|
54
|
-
function displayModuleList(keyword, scopeWhitelist, onlyCmsModules = false, onlyNotInstalledModules = false) {
|
55
|
-
return displayModuleListRule({
|
56
|
-
keyword,
|
57
|
-
onlyCmsModules,
|
58
|
-
onlyNotInstalledModules,
|
59
|
-
scopeWhitelist
|
60
|
-
});
|
61
|
-
}
|
62
|
-
exports.displayModuleList = displayModuleList;
|
63
45
|
//# sourceMappingURL=modules.display.rule.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modules.display.rule.js","sourceRoot":"","sources":["../../../src/modules/modules.display.rule.ts"],"names":[],"mappings":";;;AACA,qCAA8B;AAC9B,
|
1
|
+
{"version":3,"file":"modules.display.rule.js","sourceRoot":"","sources":["../../../src/modules/modules.display.rule.ts"],"names":[],"mappings":";;;AACA,qCAA8B;AAC9B,2DAA2G;AAC3G,wCAA2E;AAC3E,uDAAkG;AAsBlG;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,OAA2C;IAE/E,MAAM,cAAc,GAAG,OAAO,EAAE,cAAc,IAAI,iDAA6B,CAAC;IAChF,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,wCAAoB,CAAC;IAEzD,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;QAC7B,MAAM,MAAM,GAA2B,EAAE,CAAC,qCAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;QAE9E,4JAA4J;QAC5J,MAAM,eAAe,GAAG,IAAA,4BAAkB,EAAC,IAAI,CAAC,CAAC;QACjD,IAAI;YACF,MAAM,OAAO,GAAG,MAAM,IAAA,sDAAoC,EAAC,OAAO,EAAE;gBAClE,cAAc;gBACd,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,uBAAuB;gBACpD,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,eAAe;aAChB,CAAC,CAAC;YACH,MAAM,OAAO,GAAG,OAAO;iBACpB,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,cAAc,IAAI,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,qCAAiB,CAAC,CAAC;iBACtF,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,yCAAuB,EAAC,GAAG,EAAE,IAAA,mCAAyB,EAAC,eAAe,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC;iBACpH,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;iBACtB,IAAI,CAAC,aAAG,GAAG,aAAG,CAAC,CAAC;YACnB,IAAI,OAAO,EAAE;gBACX,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,iGAAiG,CAAC,CAAC;gBACvH,qEAAqE;gBACrE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAG,GAAG,OAAO,CAAC,CAAC;aACpC;SACF;QAAC,OAAO,CAAM,EAAE;YACf,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;YAC7D,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;SAC3D;QACD,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC;AAjCD,sDAiCC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { NpmRegistryPackage } from './modules.constants';
|
2
2
|
import type { logging } from '@angular-devkit/core';
|
3
|
-
import { PackageManagerOptions
|
3
|
+
import { PackageManagerOptions } from '../utility';
|
4
4
|
/**
|
5
5
|
* Determine if the given keyword is an Otter tag
|
6
6
|
* @param keyword Keyword to identify
|
@@ -49,5 +49,5 @@ export declare function getAvailableModulesWithLatestPackage(keyword: string | u
|
|
49
49
|
* @param keywordTags Mapping of the NPM package Keywords and a displayed tag
|
50
50
|
* @param logger Logger to use to report package read failure (as debug message)
|
51
51
|
*/
|
52
|
-
export declare function formatModuleDescription(npmPackage: NpmRegistryPackage, runner?:
|
52
|
+
export declare function formatModuleDescription(npmPackage: NpmRegistryPackage, runner?: string, keywordTags?: Record<string, string>, logger?: logging.LoggerApi): string;
|
53
53
|
//# sourceMappingURL=modules.helpers.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modules.helpers.d.ts","sourceRoot":"","sources":["../../../src/modules/modules.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAuH,MAAM,qBAAqB,CAAC;AAG9K,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAUpD,OAAO,EAAqB,qBAAqB,EAAE,
|
1
|
+
{"version":3,"file":"modules.helpers.d.ts","sourceRoot":"","sources":["../../../src/modules/modules.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAuH,MAAM,qBAAqB,CAAC;AAG9K,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAUpD,OAAO,EAAqB,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAkDtE;;;;GAIG;AACH,eAAO,MAAM,UAAU,0CAA2C,GAAG,+EAGpE,CAAC;AAEF,+CAA+C;AAC/C,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAsBxK;AAED,gEAAgE;AAChE,MAAM,WAAW,uCAAwC,SAAQ,sBAAsB;IACrF;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAAC;CAC/C;AAED;;;;;GAKG;AACH,wBAAsB,oCAAoC,CAAC,OAAO,oBAA+B,EAAE,OAAO,EAAE,uCAAuC,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAoBlL;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACnC,UAAU,EAAE,kBAAkB,EAC9B,MAAM,GAAE,MAAc,EACtB,WAAW,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EACxC,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,UA8B7B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modules.helpers.js","sourceRoot":"","sources":["../../../src/modules/modules.helpers.ts"],"names":[],"mappings":";;;AAAA,2DAA8K;AAI9K,gEAAoE;AACpE,mCAAmC;AACnC,2CAAiC;AACjC,qCAA8B;AAC9B,8BAA8B;AAC9B,kCAAkC;AAClC,yCAAsC;AACtC,2DAA8C;AAC9C,+BAA+B;AAC/B,
|
1
|
+
{"version":3,"file":"modules.helpers.js","sourceRoot":"","sources":["../../../src/modules/modules.helpers.ts"],"names":[],"mappings":";;;AAAA,2DAA8K;AAI9K,gEAAoE;AACpE,mCAAmC;AACnC,2CAAiC;AACjC,qCAA8B;AAC9B,8BAA8B;AAC9B,kCAAkC;AAClC,yCAAsC;AACtC,2DAA8C;AAC9C,+BAA+B;AAC/B,wCAAsE;AAEtE,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAElD,KAAK,UAAU,iBAAiB,CAAuB,GAAW;IAChE,MAAM,GAAG,GAAG,MAAM,IAAI,OAAO,CAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,IAAA,gBAAG,EAAC,GAAG,EAAE,OAAO,CAAC;SAClF,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAEtC,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,EAAE,EA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AAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,UAAU,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7F,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAC3F,CAAC;IACF,OAAO,KAAK,CAAC,IAAI,CAAC,aAAG,CAAC,CAAC;AACzB,CAAC;AAlCD,0DAkCC"}
|
@@ -13,7 +13,7 @@ export declare function getPeerDepWithPattern(packageJsonPath: string, pattern?:
|
|
13
13
|
* Get the list of o3r peer deps from a given package.json file
|
14
14
|
*
|
15
15
|
* @param packageJsonPath The package json on which we search for o3r peer deps
|
16
|
-
* @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools and o3r/schematics) from the list of results
|
16
|
+
* @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools, o3r/workspace and o3r/schematics) from the list of results
|
17
17
|
* @param packagePattern Pattern of the package name to look in the packages peer dependencies.
|
18
18
|
*/
|
19
19
|
export declare function getO3rPeerDeps(packageJsonPath: string, filterBasics?: boolean, packagePattern?: RegExp): {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,SAA0B;;;;EAY/F;
|
1
|
+
{"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,SAA0B;;;;EAY/F;AASD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAO,EAAE,cAAc,SAAsB;;;;EAUhH"}
|
@@ -20,11 +20,17 @@ function getPeerDepWithPattern(packageJsonPath, pattern = /^@(otter|o3r|ama-sdk)
|
|
20
20
|
return { packageName, packageVersion, matchingPackages };
|
21
21
|
}
|
22
22
|
exports.getPeerDepWithPattern = getPeerDepWithPattern;
|
23
|
+
const basicsPackageName = new Set([
|
24
|
+
'@o3r/core',
|
25
|
+
'@o3r/schematics',
|
26
|
+
'@o3r/dev-tools',
|
27
|
+
'@o3r/workspace'
|
28
|
+
]);
|
23
29
|
/**
|
24
30
|
* Get the list of o3r peer deps from a given package.json file
|
25
31
|
*
|
26
32
|
* @param packageJsonPath The package json on which we search for o3r peer deps
|
27
|
-
* @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools and o3r/schematics) from the list of results
|
33
|
+
* @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools, o3r/workspace and o3r/schematics) from the list of results
|
28
34
|
* @param packagePattern Pattern of the package name to look in the packages peer dependencies.
|
29
35
|
*/
|
30
36
|
function getO3rPeerDeps(packageJsonPath, filterBasics = true, packagePattern = /^@(?:o3r|ama-sdk)/) {
|
@@ -33,7 +39,7 @@ function getO3rPeerDeps(packageJsonPath, filterBasics = true, packagePattern = /
|
|
33
39
|
packageName: depsInfo.packageName,
|
34
40
|
packageVersion: depsInfo.packageVersion,
|
35
41
|
o3rPeerDeps: filterBasics ?
|
36
|
-
depsInfo.matchingPackages.filter(peerDep => peerDep
|
42
|
+
depsInfo.matchingPackages.filter((peerDep) => !basicsPackageName.has(peerDep))
|
37
43
|
: depsInfo.matchingPackages
|
38
44
|
};
|
39
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":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;;;;GAMG;AACH,SAAgB,cAAc,CAAC,eAAuB,EAAE,YAAY,GAAG,IAAI,EAAE,cAAc,GAAG,mBAAmB;IAC/G,MAAM,QAAQ,GAAG,qBAAqB,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;IACxE,OAAO;QACL,WAAW,EAAE,QAAQ,CAAC,WAAW;QACjC,cAAc,EAAE,QAAQ,CAAC,cAAc;QACvC,WAAW,EAAE,YAAY,CAAC,CAAC;YACzB,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC9E,CAAC,CAAC,QAAQ,CAAC,gBAAgB;KAC9B,CAAC;AAEJ,CAAC;AAVD,wCAUC"}
|
package/src/utility/modules.js
CHANGED
@@ -23,7 +23,7 @@ function getAppModuleFilePath(tree, context, projectName) {
|
|
23
23
|
context.logger.debug('Aborted. App module file path will be searched only in application project.');
|
24
24
|
return undefined;
|
25
25
|
}
|
26
|
-
const mainFilePath = workspaceProject.architect.build.options.main;
|
26
|
+
const mainFilePath = workspaceProject.architect.build.options.main ?? workspaceProject.architect.build.options.browser;
|
27
27
|
const mainFile = tree.read(mainFilePath).toString();
|
28
28
|
const bootstrapModuleRegexpResult = mainFile.match(/bootstrapModule\(([^)]*)\)/m);
|
29
29
|
if (!bootstrapModuleRegexpResult || !bootstrapModuleRegexpResult[1]) {
|
@@ -36,12 +36,12 @@ function getAppModuleFilePath(tree, context, projectName) {
|
|
36
36
|
throw new schematics_1.SchematicsException('Could not find bootstrap module');
|
37
37
|
}
|
38
38
|
/** Path to the main module file */
|
39
|
-
const moduleFilePath = path.join(path.dirname(
|
39
|
+
const moduleFilePath = path.join(path.dirname(mainFilePath), bootstrapModuleFileRegExpResult[1] + '.ts');
|
40
40
|
const exportAppModuleClassRegExp = new RegExp(`class\\s+${bootstrapModule}`, 'gm');
|
41
41
|
if (tree.exists(moduleFilePath) && tree.read(moduleFilePath).toString().match(exportAppModuleClassRegExp)) {
|
42
42
|
return moduleFilePath;
|
43
43
|
}
|
44
|
-
const possibleAppModule = path.join(path.dirname(
|
44
|
+
const possibleAppModule = path.join(path.dirname(mainFilePath), path.dirname(bootstrapModuleFileRegExpResult[1]), 'app.module.ts');
|
45
45
|
if (tree.exists(possibleAppModule) && tree.read(possibleAppModule).toString().match(exportAppModuleClassRegExp)) {
|
46
46
|
return possibleAppModule;
|
47
47
|
}
|
@@ -54,8 +54,8 @@ function getAppModuleFilePath(tree, context, projectName) {
|
|
54
54
|
if (bootstrapModuleSymbol) {
|
55
55
|
const pathPlusModuleString = checker.getFullyQualifiedName(bootstrapModuleSymbol);
|
56
56
|
const filePath = pathPlusModuleString?.replace(new RegExp(`.${bootstrapModule}`), '').replace(/['"]/g, '');
|
57
|
-
const relativeFilePath = filePath ? path.relative(path.dirname(
|
58
|
-
const filePathInTree = relativeFilePath ? path.join(path.dirname(
|
57
|
+
const relativeFilePath = filePath ? path.relative(path.dirname(mainFilePath), `${filePath}.ts`) : undefined;
|
58
|
+
const filePathInTree = relativeFilePath ? path.join(path.dirname(mainFilePath), relativeFilePath) : undefined;
|
59
59
|
if (filePathInTree && tree.exists(filePathInTree) && tree.read(filePathInTree).toString().match(exportAppModuleClassRegExp)) {
|
60
60
|
return filePathInTree;
|
61
61
|
}
|
@@ -77,7 +77,7 @@ function getMainFilePath(tree, context, projectName) {
|
|
77
77
|
context.logger.debug('Register localization on main module only in application project');
|
78
78
|
return undefined;
|
79
79
|
}
|
80
|
-
const mainFilePath = workspaceProject.architect.build.options.main;
|
80
|
+
const mainFilePath = workspaceProject.architect.build.options.main ?? workspaceProject.architect.build.options.browser;
|
81
81
|
return mainFilePath;
|
82
82
|
}
|
83
83
|
exports.getMainFilePath = getMainFilePath;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../src/utility/modules.ts"],"names":[],"mappings":";;;AAAA,2DAAuG;AACv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CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SACpJ;IACH,CAAC,CAAC,CAAC;IACL,OAAO,QAAQ,CAAC;AAClB,CAAC;AAbD,0DAaC;AAED;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,IAAY,EAAE,IAAY,EAAE,QAAwB,EAAE,WAAmB;IAC1G,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE;QACtD,OAAO,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,CAAC,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC;KAC5D;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AALD,gDAKC"}
|
@@ -31,13 +31,13 @@ export declare function getPackageManager(options?: PackageManagerOptions): Supp
|
|
31
31
|
* @param workspaceConfig Workspace configuration
|
32
32
|
* @param packageName Name of the package of the workspace to run the script (name from package.json)
|
33
33
|
*/
|
34
|
-
export declare function getPackageManagerRunner(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined):
|
34
|
+
export declare function getPackageManagerRunner(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): string;
|
35
35
|
/**
|
36
36
|
* Get command to execute bin command with your package manager
|
37
37
|
* @param workspaceConfig Workspace configuration
|
38
38
|
* @param packageName Name of the package of the workspace to execute the command
|
39
39
|
*/
|
40
|
-
export declare function getPackageManagerExecutor(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined):
|
40
|
+
export declare function getPackageManagerExecutor(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): string;
|
41
41
|
/**
|
42
42
|
* Determine if the given package is installed
|
43
43
|
* @param packageName name of the package to check
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"package-manager-runner.d.ts","sourceRoot":"","sources":["../../../src/utility/package-manager-runner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,mCAAmC;AACnC,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEtD,mCAAmC;AACnC,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,MAAM,GAAG,MAAM,CAAC;AAExF,mCAAmC;AACnC,MAAM,MAAM,gCAAgC,GAAG,GAAG,wBAAwB,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAOnG,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC,8BAA8B;IAC9B,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;IAElD,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,IAAI,wBAAwB,CAEtF;AAYD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,qBAAqB,4BAWhE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,
|
1
|
+
{"version":3,"file":"package-manager-runner.d.ts","sourceRoot":"","sources":["../../../src/utility/package-manager-runner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,mCAAmC;AACnC,MAAM,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