@o3r/components 11.6.0-prerelease.47 → 11.6.0-prerelease.48
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/builders/component-extractor/helpers/component/component.parser.d.ts.map +1 -1
- package/builders/component-extractor/helpers/component/component.parser.js +3 -2
- package/builders/component-extractor/index.d.ts +2 -2
- package/builders/component-extractor/index.d.ts.map +1 -1
- package/builders/component-extractor/index.js +0 -1
- package/package.json +13 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.parser.d.ts","sourceRoot":"","sources":["../../../../../builders/component-extractor/helpers/component/component.parser.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"component.parser.d.ts","sourceRoot":"","sources":["../../../../../builders/component-extractor/helpers/component/component.parser.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACR,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAKnB,OAAO,EAEL,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AAItC,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IAEb,uCAAuC;IACvC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,2CAA2C;IAC3C,aAAa,CAAC,EAAE,+BAA+B,CAAC;CACjD;AAED,kBAAkB;AAClB,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE,kBAAkB;IAClB,SAAS,EAAE,oBAAoB,CAAC;CACjC;AAED,kBAAkB;AAClB,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE,kBAAkB;IAClB,aAAa,EAAE,+BAA+B,CAAC;CAChD;AAED,2BAA2B;AAC3B,MAAM,WAAW,YAAY;IAC3B,gCAAgC;IAChC,UAAU,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAAA;KAAE,CAAC;IAE1D,mCAAmC;IACnC,cAAc,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,6BAA6B,CAAA;KAAE,CAAC;CACnE;AAED;;GAEG;AACH,qBAAa,eAAe;IAaxB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAjBzC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAsB;IAEhE;;;;;;;;OAQG;gBAEgB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,OAAO,CAAC,SAAS,EACzB,UAAU,UAAQ,EAClB,SAAS,GAAE,MAAM,EAAO,EACxB,sBAAsB,GAAE,mBAAmB,EAAO;IAKrE,kDAAkD;IAClD,OAAO,CAAC,uBAAuB;IAe/B,8CAA8C;IAC9C,OAAO,CAAC,oBAAoB;IAK5B;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAKpB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAuCxB;;;OAGG;IACU,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC;CA4B5C"}
|
|
@@ -4,10 +4,11 @@ exports.ComponentParser = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path = tslib_1.__importStar(require("node:path"));
|
|
6
6
|
const schematics_1 = require("@o3r/schematics");
|
|
7
|
-
const globby_1 = tslib_1.__importDefault(require("globby"));
|
|
8
7
|
const ts = tslib_1.__importStar(require("typescript"));
|
|
9
8
|
const component_class_extractor_1 = require("./component-class.extractor");
|
|
10
9
|
const component_config_extractor_1 = require("./component-config.extractor");
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports -- default import not working when used inside Otter mono-repository
|
|
11
|
+
const globby = require('globby');
|
|
11
12
|
/**
|
|
12
13
|
* Component extractor parser.
|
|
13
14
|
*/
|
|
@@ -46,7 +47,7 @@ class ComponentParser {
|
|
|
46
47
|
/** Get the list of file from tsconfig.json */
|
|
47
48
|
getFilesFromTsConfig() {
|
|
48
49
|
const { include, exclude, cwd } = this.getPatternsFromTsConfig();
|
|
49
|
-
return (
|
|
50
|
+
return globby(include, { ignore: exclude, cwd, absolute: true });
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
53
|
* Extract a component of a given file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../builders/component-extractor/index.ts"],"names":[],"mappings":"AAuBA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../builders/component-extractor/index.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EACV,+BAA+B,EAChC,MAAM,UAAU,CAAC;AAKlB,mBAAmB,UAAU,CAAC;AAE9B;;;GAGG;AACH,eAAO,MAAM,kBAAkB,gBAAgB,MAAM,KAAmB,MAGvE,CAAC;;AA6BF,wBAgJI"}
|
|
@@ -9,7 +9,6 @@ const extractors_1 = require("@o3r/extractors");
|
|
|
9
9
|
const schematics_1 = require("@o3r/schematics");
|
|
10
10
|
const chokidar = tslib_1.__importStar(require("chokidar"));
|
|
11
11
|
const index_1 = require("./helpers/component/index");
|
|
12
|
-
tslib_1.__exportStar(require("./schema"), exports);
|
|
13
12
|
/**
|
|
14
13
|
* Get the library name from package.json
|
|
15
14
|
* @param currentDir
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/components",
|
|
3
|
-
"version": "11.6.0-prerelease.
|
|
3
|
+
"version": "11.6.0-prerelease.48",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"@ngrx/effects": "^18.0.0",
|
|
46
46
|
"@ngrx/entity": "^18.0.0",
|
|
47
47
|
"@ngrx/store": "^18.0.0",
|
|
48
|
-
"@o3r/analytics": "^11.6.0-prerelease.
|
|
49
|
-
"@o3r/configuration": "^11.6.0-prerelease.
|
|
50
|
-
"@o3r/core": "^11.6.0-prerelease.
|
|
51
|
-
"@o3r/dynamic-content": "^11.6.0-prerelease.
|
|
52
|
-
"@o3r/extractors": "^11.6.0-prerelease.
|
|
53
|
-
"@o3r/localization": "^11.6.0-prerelease.
|
|
54
|
-
"@o3r/logger": "^11.6.0-prerelease.
|
|
55
|
-
"@o3r/rules-engine": "^11.6.0-prerelease.
|
|
56
|
-
"@o3r/schematics": "^11.6.0-prerelease.
|
|
57
|
-
"@o3r/testing": "^11.6.0-prerelease.
|
|
48
|
+
"@o3r/analytics": "^11.6.0-prerelease.48",
|
|
49
|
+
"@o3r/configuration": "^11.6.0-prerelease.48",
|
|
50
|
+
"@o3r/core": "^11.6.0-prerelease.48",
|
|
51
|
+
"@o3r/dynamic-content": "^11.6.0-prerelease.48",
|
|
52
|
+
"@o3r/extractors": "^11.6.0-prerelease.48",
|
|
53
|
+
"@o3r/localization": "^11.6.0-prerelease.48",
|
|
54
|
+
"@o3r/logger": "^11.6.0-prerelease.48",
|
|
55
|
+
"@o3r/rules-engine": "^11.6.0-prerelease.48",
|
|
56
|
+
"@o3r/schematics": "^11.6.0-prerelease.48",
|
|
57
|
+
"@o3r/testing": "^11.6.0-prerelease.48",
|
|
58
58
|
"@schematics/angular": "^18.2.0",
|
|
59
59
|
"@yarnpkg/cli": "^4.0.0",
|
|
60
60
|
"@yarnpkg/core": "^4.1.1",
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
"jsonpath-plus": "^9.0.0 || ^10.0.0",
|
|
67
67
|
"rxjs": "^7.8.1",
|
|
68
68
|
"semver": "^7.5.2",
|
|
69
|
-
"typescript": "^5.5.4"
|
|
69
|
+
"typescript": "^5.5.4",
|
|
70
|
+
"ts-node": "~10.9.2"
|
|
70
71
|
},
|
|
71
72
|
"peerDependenciesMeta": {
|
|
72
73
|
"@angular-devkit/core": {
|