@o3r/schematics 11.6.0-prerelease.9 → 12.0.0-next.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/cli/environment.js.map +1 -0
  2. package/package.json +28 -23
  3. package/schematics/ng-add/index.d.ts.map +1 -1
  4. package/schematics/ng-add/index.js +5 -5
  5. package/schematics/ng-add/index.js.map +1 -0
  6. package/schematics/ng-add/schema.js.map +1 -0
  7. package/src/rule-factories/dev-tools/devtools-registration.d.ts +1 -1
  8. package/src/rule-factories/dev-tools/devtools-registration.d.ts.map +1 -1
  9. package/src/rule-factories/eslint-fix/index.js.map +1 -1
  10. package/src/rule-factories/ng-add/dependencies.d.ts +15 -0
  11. package/src/rule-factories/ng-add/dependencies.d.ts.map +1 -1
  12. package/src/rule-factories/ng-add/dependencies.js +13 -1
  13. package/src/rule-factories/ng-add/dependencies.js.map +1 -1
  14. package/src/rule-factories/ng-add/ng-add.helpers.d.ts +1 -1
  15. package/src/rule-factories/ng-add/ng-add.helpers.d.ts.map +1 -1
  16. package/src/rule-factories/ng-add/ng-add.helpers.js +1 -2
  17. package/src/rule-factories/ng-add/ng-add.helpers.js.map +1 -1
  18. package/src/utility/generation.d.ts +1 -1
  19. package/src/utility/generation.d.ts.map +1 -1
  20. package/src/utility/generation.js.map +1 -1
  21. package/src/utility/logo.d.ts +1 -1
  22. package/src/utility/logo.d.ts.map +1 -1
  23. package/src/utility/logo.js.map +1 -1
  24. package/src/utility/matching-peers.d.ts +3 -1
  25. package/src/utility/matching-peers.d.ts.map +1 -1
  26. package/src/utility/matching-peers.js +5 -3
  27. package/src/utility/matching-peers.js.map +1 -1
  28. package/src/utility/monorepo.d.ts +9 -3
  29. package/src/utility/monorepo.d.ts.map +1 -1
  30. package/src/utility/monorepo.js.map +1 -1
  31. package/src/utility/package-manager-runner.js.map +1 -1
  32. package/src/utility/wrapper.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.js","sourceRoot":"","sources":["../../cli/environment.ts"],"names":[],"mappings":";;AAAA,gDAE8B;AAE9B,yEAAyE;AACzE,OAAO,CAAC,IAAI,CAAC,4BAA4B,IAAA,mCAA2B,GAAE,EAAE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/schematics",
3
- "version": "11.6.0-prerelease.9",
3
+ "version": "12.0.0-next.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -15,27 +15,28 @@
15
15
  "nx": "nx",
16
16
  "ng": "yarn nx",
17
17
  "build": "yarn nx build schematics",
18
- "postbuild": "yarn cpy 'package.json' dist && patch-package-json-main",
19
- "prepare:publish": "prepare-publish ./dist",
20
- "prepare:build:builders": "yarn cpy 'schematics/**/*.json' dist/schematics && yarn cpy 'collection.json' dist",
21
18
  "build:source": "tsc -b tsconfig.build.json --pretty",
22
19
  "build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest",
23
- "build:cli": "tsc -b tsconfig.cli.json --pretty && yarn generate-cjs-manifest"
20
+ "build:cli": "tsc -b tsconfig.cli.json --pretty && yarn generate-cjs-manifest",
21
+ "postbuild": "yarn cpy 'package.json' dist && patch-package-json-main",
22
+ "prepare:publish": "prepare-publish ./dist",
23
+ "prepare:build:builders": "yarn cpy 'schematics/**/*.json' dist/schematics && yarn cpy 'collection.json' dist"
24
24
  },
25
25
  "bin": {
26
26
  "o3r-environment": "./cli/environment.js"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular-devkit/architect": "~0.1802.0",
30
- "@angular-devkit/core": "~18.2.0",
31
- "@angular-devkit/schematics": "~18.2.0",
32
- "@angular/cli": "~18.2.0",
33
- "@o3r/telemetry": "^11.6.0-prerelease.9",
34
- "@schematics/angular": "~18.2.0",
35
- "eslint": "~9.14.0",
29
+ "@angular-devkit/architect": "^0.1802.0",
30
+ "@angular-devkit/core": "^18.2.0",
31
+ "@angular-devkit/schematics": "^18.2.0",
32
+ "@angular/cli": "^18.2.0",
33
+ "@o3r/telemetry": "^12.0.0-next.0",
34
+ "@schematics/angular": "^18.2.0",
35
+ "eslint": "^9.14.0",
36
36
  "rxjs": "^7.8.1",
37
37
  "type-fest": "^4.10.2",
38
- "typescript": "~5.5.4"
38
+ "typescript": "^5.5.4",
39
+ "ts-node": "~10.9.2"
39
40
  },
40
41
  "peerDependenciesMeta": {
41
42
  "@angular-devkit/architect": {
@@ -53,6 +54,9 @@
53
54
  "eslint": {
54
55
  "optional": true
55
56
  },
57
+ "rxjs": {
58
+ "optional": true
59
+ },
56
60
  "type-fest": {
57
61
  "optional": true
58
62
  }
@@ -81,20 +85,21 @@
81
85
  "@babel/preset-typescript": "~7.26.0",
82
86
  "@compodoc/compodoc": "^1.1.19",
83
87
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
84
- "@nx/eslint": "~19.5.0",
85
- "@nx/eslint-plugin": "~19.5.0",
86
- "@nx/jest": "~19.5.0",
87
- "@nx/js": "~19.5.0",
88
- "@o3r/build-helpers": "^11.6.0-prerelease.9",
89
- "@o3r/eslint-plugin": "^11.6.0-prerelease.9",
90
- "@o3r/telemetry": "^11.6.0-prerelease.9",
88
+ "@nx/eslint": "~19.8.0",
89
+ "@nx/eslint-plugin": "~19.8.0",
90
+ "@nx/jest": "~19.8.0",
91
+ "@nx/js": "~19.8.0",
92
+ "@o3r/build-helpers": "^12.0.0-next.0",
93
+ "@o3r/eslint-plugin": "^12.0.0-next.0",
94
+ "@o3r/telemetry": "^12.0.0-next.0",
91
95
  "@schematics/angular": "~18.2.0",
92
96
  "@stylistic/eslint-plugin": "~2.7.0",
97
+ "@swc/helpers": "~0.5.0",
93
98
  "@types/inquirer": "~8.2.10",
94
99
  "@types/jest": "~29.5.2",
95
100
  "@types/node": "^20.0.0",
96
101
  "@types/semver": "^7.3.13",
97
- "@typescript-eslint/parser": "~8.12.2",
102
+ "@typescript-eslint/parser": "~8.17.0",
98
103
  "angular-eslint": "~18.4.0",
99
104
  "cpy-cli": "^5.0.0",
100
105
  "eslint": "~9.14.0",
@@ -112,13 +117,13 @@
112
117
  "jest-junit": "~16.0.0",
113
118
  "jsonc-eslint-parser": "~2.4.0",
114
119
  "jsonschema": "~1.4.1",
115
- "nx": "~19.5.0",
120
+ "nx": "~19.8.0",
116
121
  "rxjs": "^7.8.1",
117
122
  "ts-jest": "~29.2.0",
118
123
  "ts-node": "~10.9.2",
119
124
  "type-fest": "^4.10.2",
120
125
  "typescript": "~5.5.4",
121
- "typescript-eslint": "~8.12.2",
126
+ "typescript-eslint": "~8.17.0",
122
127
  "zone.js": "~0.14.2"
123
128
  },
124
129
  "engines": {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AA0ClB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAEtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAUpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAoClB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAEtD,CAAC"}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = void 0;
4
4
  const path = require("node:path");
5
5
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
6
- const schematics_1 = require("@o3r/schematics");
6
+ const public_api_1 = require("../../src/public_api");
7
7
  /**
8
8
  * Add Otter schematics to an Angular Project
9
9
  * @param options schematics options
@@ -12,7 +12,7 @@ function ngAddFn(options) {
12
12
  const schematicsDependencies = ['@angular-devkit/architect', '@angular-devkit/schematics', '@angular-devkit/core', '@schematics/angular', 'globby'];
13
13
  return (_, context) => {
14
14
  const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
15
- const dependencies = Object.entries((0, schematics_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger)).reduce((acc, [dep, range]) => {
15
+ const dependencies = Object.entries((0, public_api_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger)).reduce((acc, [dep, range]) => {
16
16
  acc[dep] = {
17
17
  inManifest: [{
18
18
  range,
@@ -21,7 +21,7 @@ function ngAddFn(options) {
21
21
  };
22
22
  return acc;
23
23
  }, {});
24
- Object.entries((0, schematics_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger))
24
+ Object.entries((0, public_api_1.getExternalDependenciesVersionRange)(schematicsDependencies, packageJsonPath, context.logger))
25
25
  .forEach(([dep, range]) => {
26
26
  dependencies[dep] = {
27
27
  inManifest: [{
@@ -30,7 +30,7 @@ function ngAddFn(options) {
30
30
  }]
31
31
  };
32
32
  });
33
- return (0, schematics_1.setupDependencies)({
33
+ return (0, public_api_1.setupDependencies)({
34
34
  projectName: options.projectName,
35
35
  dependencies,
36
36
  skipInstall: false
@@ -42,7 +42,7 @@ function ngAddFn(options) {
42
42
  * @param options
43
43
  */
44
44
  const ngAdd = (options) => () => {
45
- return (0, schematics_1.createSchematicWithMetricsIfInstalled)(ngAddFn)(options);
45
+ return (0, public_api_1.createSchematicWithMetricsIfInstalled)(ngAddFn)(options);
46
46
  };
47
47
  exports.ngAdd = ngAdd;
48
48
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAIlC,2EAEkD;AAClD,qDAK8B;AAK9B;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,MAAM,sBAAsB,GAAG,CAAC,2BAA2B,EAAE,4BAA4B,EAAE,sBA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AC,OAAO,CAAC,CAAC;AACjE,CAAC,CAAC;AAFW,QAAA,KAAK,SAEhB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { Rule } from '@angular-devkit/schematics';
1
+ import { type Rule } from '@angular-devkit/schematics';
2
2
  /** Options for the devtools register rule factory */
3
3
  export interface DevtoolRegisterOptions {
4
4
  /** Name of the devtool module */
@@ -1 +1 @@
1
- {"version":3,"file":"devtools-registration.d.ts","sourceRoot":"","sources":["../../../../src/rule-factories/dev-tools/devtools-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EACL,MAAM,4BAA4B,CAAC;AA8BpC,qDAAqD;AACrD,MAAM,WAAW,sBAAsB;IACrC,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAoCD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,YAAa,sBAAsB,KAAG,IAmErE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,YAAa,sBAAsB,KAAG,IAsB/E,CAAC"}
1
+ {"version":3,"file":"devtools-registration.d.ts","sourceRoot":"","sources":["../../../../src/rule-factories/dev-tools/devtools-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EACV,MAAM,4BAA4B,CAAC;AA8BpC,qDAAqD;AACrD,MAAM,WAAW,sBAAsB;IACrC,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,WAAW,CAAC,EAAE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AG,GAAG,GAAG,CAAC,MAAM,CAAC;QACnB,CAAC,QAAQ,GAAG,KAAK,IAAI,EAAE;QAEvB,IAAI,GAAG,KAAK,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YAClC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;yGAC+E,CAAC,CAAC;YACrG,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,GAAG,CACnB,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAC/E,CAAC;QAEF,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;YACnB,OAAO,CAAC,OAAO,CACb,IAAI,qBAAa,CACf,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EACjB,SAAS,EACT,YAAY,EACZ,aAAa,CACd,EACD,OAAO,EAAE,iBAAiB,CAC3B,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC"}
@@ -34,6 +34,11 @@ export interface DependencyToAdd {
34
34
  ngAddOptions?: NgAddSchematicOptions;
35
35
  /** Determine if the dependency require to be installed */
36
36
  requireInstall?: boolean;
37
+ /**
38
+ * Enforce the usage of tilde instead of caret in a dependency range
39
+ * If not specified, the context option value will be used
40
+ */
41
+ enforceTildeRange?: boolean;
37
42
  }
38
43
  export interface SetupDependenciesOptions {
39
44
  /** Map of dependencies to install */
@@ -61,6 +66,11 @@ export interface SetupDependenciesOptions {
61
66
  scheduleTaskCallback?: (taskIds?: TaskId[]) => void;
62
67
  /** Working directory for the installation process only */
63
68
  workingDirectory?: string;
69
+ /**
70
+ * Enforce the usage of tilde instead of caret in a dependency range
71
+ * @default true
72
+ */
73
+ enforceTildeRange?: boolean;
64
74
  }
65
75
  /** Result of the Setup Dependencies task scheduling process */
66
76
  export interface SetupDependenciesResult {
@@ -84,6 +94,11 @@ export declare const hasSetupInformation: (context: SchematicContext) => context
84
94
  * @param exactO3rVersion Use a pinned version of the o3r package
85
95
  */
86
96
  export declare const getPackageInstallConfig: (packageJsonPath: string, tree: Tree, projectName?: string, devDependencyOnly?: boolean, exactO3rVersion?: boolean) => Record<string, DependencyToAdd>;
97
+ /**
98
+ * Replace the caret ranges by tilde ranges
99
+ * @param range Range to replace
100
+ */
101
+ export declare const enforceTildeRange: (range?: string) => string | undefined;
87
102
  /**
88
103
  * Setup dependency to a repository.
89
104
  * Will run manually the ngAdd schematics according to the parameters and install the packages if required
@@ -1 +1 @@
1
- {"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../../src/rule-factories/ng-add/dependencies.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,IAAI,EAEJ,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,IAAI,EACL,MAAM,4BAA4B,CAAC;AAKpC,OAAO,EACL,kBAAkB,EACnB,MAAM,0CAA0C,CAAC;AAKlD,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,eAAe,CAAC;AASvB;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,gCAAgC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iDAAiD;IACjD,UAAU,EAAE,oBAAoB,EAAE,CAAC;IACnC,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sCAAsC;IACtC,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,sCAAsC;IACtC,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,sDAAsD;IACtD,oBAAoB,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpD,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,+DAA+D;AAC/D,MAAM,WAAW,uBAAuB;IACtC,2DAA2D;IAC3D,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,YAAa,gBAAgB,KAAG,OAAO,IAAI,gBAAgB,GAAG;IAAE,iBAAiB,EAAE,uBAAuB,CAAA;CAEzI,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,oBAAqB,MAAM,QAAQ,IAAI,gBAAgB,MAAM,sBAAsB,OAAO,oBAAoB,OAAO,KAAG,MAAM,CAAC,MAAM,EAAE,eAAe,CAiBzL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAAY,MAAM,uBAE/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,YAAa,wBAAwB,KAAG,IAwIrE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setupDependencies = exports.getPackageInstallConfig = exports.hasSetupInformation = void 0;
3
+ exports.setupDependencies = exports.enforceTildeRange = exports.getPackageInstallConfig = exports.hasSetupInformation = void 0;
4
4
  const node_fs_1 = require("node:fs");
5
5
  const path = require("node:path");
6
6
  const schematics_1 = require("@angular-devkit/schematics");
@@ -44,6 +44,14 @@ const getPackageInstallConfig = (packageJsonPath, tree, projectName, devDependen
44
44
  };
45
45
  };
46
46
  exports.getPackageInstallConfig = getPackageInstallConfig;
47
+ /**
48
+ * Replace the caret ranges by tilde ranges
49
+ * @param range Range to replace
50
+ */
51
+ const enforceTildeRange = (range) => {
52
+ return range?.replace(/\^/g, '~');
53
+ };
54
+ exports.enforceTildeRange = enforceTildeRange;
47
55
  /**
48
56
  * Setup dependency to a repository.
49
57
  * Will run manually the ngAdd schematics according to the parameters and install the packages if required
@@ -63,6 +71,10 @@ const setupDependencies = (options) => {
63
71
  }
64
72
  const packageJsonContent = tree.readJson(packageJsonPath);
65
73
  dependency.inManifest.forEach(({ range, types }) => {
74
+ const isTildeRangeEnforced = dependency.enforceTildeRange === undefined ? (options.enforceTildeRange === undefined || options.enforceTildeRange) : dependency.enforceTildeRange;
75
+ if (isTildeRangeEnforced) {
76
+ range = (0, exports.enforceTildeRange)(range);
77
+ }
66
78
  (types || [dependencies_1.NodeDependencyType.Default]).forEach((depType) => {
67
79
  if (packageJsonContent[depType]?.[packageToInstall]) {
68
80
  if (range && semver.validRange(range)) {
@@ -1 +1 @@
1
- {"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../../src/rule-factories/ng-add/dependencies.ts"],"names":[],"mappings":";;;AAAA,qCAEiB;AACjB,kCAAkC;AAClC,2DAOoC;AACpC,4DAG0C;AAC1C,2EAEkD;AAClD,iCAAiC;AAOjC,mDAG+B;AAC/B,iFAE8C;AA4E9C;;;GAGG;AACI,MAAM,mBAAmB,GAAG,CAAC,OAAyB,EAAgF,EAAE;IAC7I,OAAO,CAAC,CAAE,OAAe,CAAC,iBAAiB,CAAC;AAC9C,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEF;;;;;;;;GAQG;AACI,MAAM,uBAAuB,GAAG,CAAC,eAAuB,EAAE,IAAU,EAAE,WAAoB,EAAE,iBAA2B,EAAE,eAAyB,EAAmC,EAAE;IAC5L,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,EAAE,CAAC;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iBAAiB,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC;YACjE,CAAC;YAED,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;gBACjC,OAAO,CAAC,oBAAoB,CAAC,YAAY,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC,CAAC;QAEF,OAAO,IAAA,kBAAK,EAAC;YACX,eAAe;YACf,kBAAkB;SACnB,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AAxIW,QAAA,iBAAiB,qBAwI5B"}
@@ -1,4 +1,4 @@
1
- import { Rule } from '@angular-devkit/schematics';
1
+ import { type Rule } from '@angular-devkit/schematics';
2
2
  import type { NgAddPackageOptions } from '../../tasks/index';
3
3
  /**
4
4
  * Install via `ng add` a list of npm packages.
@@ -1 +1 @@
1
- {"version":3,"file":"ng-add.helpers.d.ts","sourceRoot":"","sources":["../../../../src/rule-factories/ng-add/ng-add.helpers.ts"],"names":[],"mappings":"AAMA,OAAO,EAIL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAapC,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAqB3B;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAA;CAAE,EAAE,eAAe,SAAkB,GAAG,IAAI,CA2GzL"}
1
+ {"version":3,"file":"ng-add.helpers.d.ts","sourceRoot":"","sources":["../../../../src/rule-factories/ng-add/ng-add.helpers.ts"],"names":[],"mappings":"AAMA,OAAO,EAIL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AAUpC,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAqB3B;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAA;CAAE,EAAE,eAAe,SAAkB,GAAG,IAAI,CA8GzL"}
@@ -6,7 +6,6 @@ const path = require("node:path");
6
6
  const schematics_1 = require("@angular-devkit/schematics");
7
7
  const tasks_1 = require("@angular-devkit/schematics/tasks");
8
8
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
9
- const rxjs_1 = require("rxjs");
10
9
  const index_1 = require("../../utility/index");
11
10
  const getNgAddSchema = (packageName, context) => {
12
11
  try {
@@ -121,7 +120,7 @@ function ngAddPackages(packages, options, packageJsonPath = '/package.json') {
121
120
  hideOutput: false,
122
121
  quiet: false
123
122
  }));
124
- await (0, rxjs_1.lastValueFrom)(context.engine.executePostTasks());
123
+ await new Promise((resolve, reject) => context.engine.executePostTasks().subscribe({ next: () => { }, complete: () => resolve(), error: (errors) => reject(errors) }));
125
124
  const ngAddsToApply = packagesToInstall
126
125
  .map((packageName) => ({ packageName, ngAddCollection: getNgAddSchema(packageName, context) }))
127
126
  .filter(({ packageName, ngAddCollection }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ng-add.helpers.js","sourceRoot":"","sources":["../../../../src/rule-factories/ng-add/ng-add.helpers.ts"],"names":[],"mappings":";;AAuDA,sCA2GC;AAlKD,qCAIiB;AACjB,kCAAkC;AAClC,2DAOoC;AACpC,4DAE0C;AAC1C,2EAEkD;AAClD,+BAEc;AAOd,+CAE6B;AAE7B,MAAM,cAAc,GAAG,CAAC,WAAmB,EAAE,OAAyB,EAAE,EAAE;IACxE,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;QAChE,OAAO,UAAU,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC9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AAA,kBAAK,EAAC,aAAa,CAAC,CAAC;QAC9B,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -2,7 +2,7 @@ import type { Tree } from '@angular-devkit/schematics';
2
2
  /** Type of generated item */
3
3
  export type GeneratedItemType = '@o3r/core:component' | '@o3r/core:page' | '@o3r/core:service' | '@o3r/core:store' | '@o3r/core:schematics-update' | '@o3r/testing:playwright-scenario' | '@o3r/testing:playwright-sanity';
4
4
  /** List of Otter items types */
5
- export declare const OTTER_ITEM_TYPES: GeneratedItemType[];
5
+ export declare const OTTER_ITEM_TYPES: ["@o3r/core:component", "@o3r/core:page", "@o3r/core:service", "@o3r/core:store", "@o3r/core:schematics-update", "@o3r/testing:playwright-scenario", "@o3r/testing:playwright-sanity"];
6
6
  /** List of the default destination paths for each generated entity */
7
7
  export declare const TYPES_DEFAULT_FOLDER: {
8
8
  [key in GeneratedItemType]: {
@@ -1 +1 @@
1
- {"version":3,"file":"generation.d.ts","sourceRoot":"","sources":["../../../src/utility/generation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAWpC,6BAA6B;AAC7B,MAAM,MAAM,iBAAiB,GAC3B,qBAAqB,GACrB,gBAAgB,GAChB,mBAAmB,GACnB,iBAAiB,GACjB,6BAA6B,GAC7B,kCAAkC,GAClC,gCAAgC,CAAC;AAEnC,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,EAAE,iBAAiB,EAQ/C,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE;CAQ9F,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAmBnJ"}
1
+ {"version":3,"file":"generation.d.ts","sourceRoot":"","sources":["../../../src/utility/generation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,IAAI,EACL,MAAM,4BAA4B,CAAC;AAWpC,6BAA6B;AAC7B,MAAM,MAAM,iBAAiB,GAC3B,qBAAqB,GACrB,gBAAgB,GAChB,mBAAmB,GACnB,iBAAiB,GACjB,6BAA6B,GAC7B,kCAAkC,GAClC,gCAAgC,CAAC;AAEnC,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wLAQW,CAAC;AAEzC,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE;CAQ9F,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAmBnJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"generation.js","sourceRoot":"","sources":["../../../src/utility/generation.ts"],"names":[],"mappings":";;;AAuDA,gDAmBC;AApED,6CAEsB;AACtB,mCAEiB;AACjB,uCAEmB;AAYnB,gCAAgC;AACnB,QAAA,gBAAgB,GAAwB;IACnD,qBAAqB;IACrB,gBAAgB;IAChB,mBAAmB;IACnB,iBAAiB;IACjB,6BAA6B;IAC7B,kCAAkC;IAClC,gCAAgC;CACjC,CAAC;AAEF,sEAAsE;AACzD,QAAA,oBAAoB,GAAmE;IAClG,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,EAAE;IACvE,gBAAgB,EAAE,EAAE,G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,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,WAAW,EAAE,WAAW,IAAI,SAAS,EAAE,CAAC,CACjI,IAAI,IAAI,CAAa,CAAC,CAAC,2FAA2F;IACrH,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,qBAAqB,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChE,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC,IAAc,CAAC;IAC/B,CAAC;IAED,MAAM,IAAI,mBAAW,CAAC,sCAAsC,CAAC,CAAC;AAChE,CAAC"}
@@ -2,5 +2,5 @@
2
2
  * Generate Logo for Otter Project
3
3
  * @param size Size of the logo to generate
4
4
  */
5
- export declare const getLogo: (size?: "medium" | "small") => string;
5
+ export declare const getLogo: (size?: "medium" | "small") => "\n @ @\n ******/****************@*****@\n @****************************%\n *****************************@\n @********************************@\n ********@@*****@@@@@@****@@********@\n @@****@*******************************@@\n ***************@@****@*********@*****@\n @**************************%*********@ ..|''|| . .\n @**********************************@ .|' || .||. .||. .... ... ..\n @***************************(@ || || || || .|...|| ||' ''\n ****@ @******************************@ '|. || || || || ||\n@******& ***** ********************@*****@ ''|...|' '|.' '|.' '|...' .||.\n @******@*********@**************@*********@\n *****%************** ******@*************\n @***@*****@(*******@******@*******@(*****\n @**@************************************\n @*****************@*@****************@\n @@*******************************************(@\n @************************************************\n @**********************(((/********************@\n " | "\n ..|''|| . .\n .|' || .||. .||. .... ... ..\n || || || || .|...|| ||' ''\n '|. || || || || ||\n ''|...|' '|.' '|.' '|...' .||.\n ";
6
6
  //# sourceMappingURL=logo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":"AAgCA;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAU,QAAQ,GAAG,OAAO,WAM/C,CAAC"}
1
+ {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":"AAgCA;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAU,QAAQ,GAAG,OAAO,46CAM/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":";;;AAAA,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AAEJ,MAAM,SAAS,GAAG;;;;;;GAMf,CAAC;AAEJ;;;GAGG;AACI,MAAM,OAAO,GAAG,CAAC,OAA2B,QAAQ,EAAE,EAAE;IAC7D,MAAM,KAAK,GAAgC;QACzC,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,SAAS;KACjB,CAAC;IACF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC,CAAC;AANW,QAAA,OAAO,WAMlB"}
1
+ {"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":";;;AAAA,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AAEJ,MAAM,SAAS,GAAG;;;;;;GAMf,CAAC;AAEJ;;;GAGG;AACI,MAAM,OAAO,GAAG,CAAC,OAA2B,QAAQ,EAAE,EAAE;IAC7D,MAAM,KAAK,GAAG;QACZ,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,SAAS;KAC8B,CAAC;IACjD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC,CAAC;AANW,QAAA,OAAO,WAMlB"}
@@ -1,9 +1,11 @@
1
+ import * as fs from 'node:fs';
1
2
  /**
2
3
  * Retrieve the peer dependencies with the given pattern from the given package json file
3
4
  * @param packageJsonPath
4
5
  * @param pattern
6
+ * @param readFileSync
5
7
  */
6
- export declare function getPeerDepWithPattern(packageJsonPath: string, pattern?: RegExp | string[]): {
8
+ export declare function getPeerDepWithPattern(packageJsonPath: string, pattern?: RegExp | string[], readFileSync?: typeof fs.readFileSync): {
7
9
  packageName: string | undefined;
8
10
  packageVersion: string | undefined;
9
11
  matchingPackages: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,GAAE,MAAM,GAAG,MAAM,EAA4B;;;;;;;EAelH;AASD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAO,EAAE,cAAc,SAAsB,EAAE,kBAAkB,SAAK;;;;EASzI;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,MAAM,EAAE,cAAc,SAAsB;;;;EAYhG"}
1
+ {"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAK9B;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,GAAE,MAAM,GAAG,MAAM,EAA4B,EAAE,YAAY,yBAAkB;;;;;;;EAgBlJ;AASD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAO,EAAE,cAAc,SAAsB,EAAE,kBAAkB,SAAK;;;;EASzI;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,MAAM,EAAE,cAAc,SAAsB;;;;EAYhG"}
@@ -8,16 +8,18 @@ const fs = require("node:fs");
8
8
  * Retrieve the peer dependencies with the given pattern from the given package json file
9
9
  * @param packageJsonPath
10
10
  * @param pattern
11
+ * @param readFileSync
11
12
  */
12
- function getPeerDepWithPattern(packageJsonPath, pattern = /^@(otter|o3r|ama-sdk)/) {
13
- const packageJsonContent = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: 'utf8' }));
13
+ function getPeerDepWithPattern(packageJsonPath, pattern = /^@(otter|o3r|ama-sdk)/, readFileSync = fs.readFileSync) {
14
+ const packageJsonContent = JSON.parse(readFileSync(packageJsonPath, { encoding: 'utf8' }));
14
15
  const packageName = packageJsonContent.name;
15
16
  const packageVersion = packageJsonContent.version;
16
17
  const optionalPackages = Object.entries(packageJsonContent.peerDependenciesMeta || {})
17
18
  .filter(([, dep]) => dep?.optional)
18
19
  .map(([depName]) => depName);
19
20
  const matchingPackagesVersions = Object.fromEntries(Object.entries(packageJsonContent.peerDependencies || {})
20
- .filter(([peerDep]) => (Array.isArray(pattern) ? pattern.includes(peerDep) : pattern.test(peerDep)) && !optionalPackages.includes(peerDep)));
21
+ .filter(([peerDep]) => (Array.isArray(pattern) ? pattern.includes(peerDep) : pattern.test(peerDep)) && !optionalPackages.includes(peerDep))
22
+ .map(([peerDep, range]) => ([peerDep, packageJsonContent.generatorDependencies?.[peerDep] || range])));
21
23
  const matchingPackages = Object.keys(matchingPackagesVersions);
22
24
  return { packageName, packageVersion, matchingPackages, matchingPackagesVersions };
23
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"matching-peers.js","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":";;AAUA,sDAeC;AAgBD,wCASC;AAOD,kDAYC;AArED,8BAA8B;AAK9B;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,eAAuB,EAAE,UAA6B,uBAAuB;IACjH,MAAM,kBAAkB,GAAgB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAC3G,MAAM,WAAW,GAAG,kBAAkB,CAAC,IAAI,CAAC;IAC5C,MAAM,cAAc,GAAG,kBAAkB,CAAC,OAAO,CAAC;IAClD,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,oBA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AAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IAE/B,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,IAAI,EAAE,CAAC;SAC5E,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE5F,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAC3D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { SchematicContext, Tree } from '@angular-devkit/schematics';
2
- import type { WorkspaceLayout, WorkspaceProject, WorkspaceSchema } from '../interfaces/index';
2
+ import type { WorkspaceProject, WorkspaceSchema } from '../interfaces/index';
3
3
  /**
4
4
  * Find the relative path to a configuration file at the monorepo root
5
5
  * @param tree
@@ -28,9 +28,15 @@ export declare const LIBRARIES_FOLDER_NAME = "libs";
28
28
  /** Default name of the folder where applications will be generated inside monorepo */
29
29
  export declare const APPLICATIONS_FOLDER_NAME = "apps";
30
30
  /** Default directories for generated apps/libs inside a monorepo */
31
- export declare const DEFAULT_ROOT_FOLDERS: WorkspaceLayout;
31
+ export declare const DEFAULT_ROOT_FOLDERS: {
32
+ readonly libsDir: "libs";
33
+ readonly appsDir: "apps";
34
+ };
32
35
  /** Root folders map for apps/libs inside a monorepo */
33
- export declare const BASE_ROOT_FOLDERS_MAP: Record<WorkspaceProject['projectType'], keyof WorkspaceLayout>;
36
+ export declare const BASE_ROOT_FOLDERS_MAP: {
37
+ readonly library: "libsDir";
38
+ readonly application: "appsDir";
39
+ };
34
40
  /**
35
41
  * Retrieve the project base root generation folder, based on the given projectType.
36
42
  * - The default project root will be returned if there is no project root found in nx.json or angular.json (in schematics options)
@@ -1 +1 @@
1
- {"version":3,"file":"monorepo.d.ts","sourceRoot":"","sources":["../../../src/utility/monorepo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AC,OAAO,CAAC,YAAY,EAAE;YACzD,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC;YACnC,GAAG,EAAE;gBACH,GAAG,OAAO,CAAC,GAAG;gBACd,uGAAuG;gBACvG,kBAAkB,EAAE,GAAG;gBACvB,0BAA0B,EAAE,OAAO;aACpC;SACF,CAAC,CAAC,IAAI,EAAE,CAAC;IACZ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,OAA+B;IACnE,OAAO;QACL,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC;QAChC,OAAO,EAAE,wBAAwB,CAAC,OAAO,CAAC;KAC3C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"package-manager-runner.js","sourceRoot":"","sources":["../../../src/utility/package-manager-runner.ts"],"names":[],"mappings":";;AA2CA,8DAEC;AAiBD,8CAWC;AAOD,0DAMC;AAOD,8DAMC;AAMD,gDAMC;AAMD,4DAeC;AAMD,sDAKC;AA/ID,2DAE4B;AAC5B,yCAEmB;AAiBnB,MAAM,iCAAiC,GAAG;IACxC,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,WAAW;CAC0C,CAAC;AAc9D;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,IAAU;IAClD,OAAO,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,KAAK,CAAC;AAC3C,CAAC;AAED;;;GAGG;AACH,SAAS,qBAAqB,CAAC,kBAA6C;IAC1E,MAAM,uBAAuB,GAAG,yBAAyB,CAAC,OAAO,CAAC,GAAG,EAAE,wBAAwB,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC;IACzI,MAAM,qBAAqB,GAAG,OAAO,CAAC,GAAG,EAAE,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;IACpF,OA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