@o3r/configuration 12.1.0-prerelease.22 → 12.1.0-prerelease.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/configuration",
3
- "version": "12.1.0-prerelease.22",
3
+ "version": "12.1.0-prerelease.23",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,13 +29,13 @@
29
29
  "types": "./rules-engine/index.d.ts",
30
30
  "default": "./fesm2022/o3r-configuration-rules-engine.mjs"
31
31
  },
32
- "./fixtures/jasmine": {
33
- "types": "./fixtures/jasmine/index.d.ts",
34
- "default": "./fesm2022/o3r-configuration-fixtures-jasmine.mjs"
35
- },
36
32
  "./fixtures/jest": {
37
33
  "types": "./fixtures/jest/index.d.ts",
38
34
  "default": "./fesm2022/o3r-configuration-fixtures-jest.mjs"
35
+ },
36
+ "./fixtures/jasmine": {
37
+ "types": "./fixtures/jasmine/index.d.ts",
38
+ "default": "./fesm2022/o3r-configuration-fixtures-jasmine.mjs"
39
39
  }
40
40
  },
41
41
  "peerDependencies": {
@@ -44,10 +44,10 @@
44
44
  "@angular/platform-browser-dynamic": "^19.0.0",
45
45
  "@ngrx/entity": "^19.0.0",
46
46
  "@ngrx/store": "^19.0.0",
47
- "@o3r/core": "^12.1.0-prerelease.22",
48
- "@o3r/logger": "^12.1.0-prerelease.22",
49
- "@o3r/schematics": "^12.1.0-prerelease.22",
50
- "@o3r/testing": "^12.1.0-prerelease.22",
47
+ "@o3r/core": "^12.1.0-prerelease.23",
48
+ "@o3r/logger": "^12.1.0-prerelease.23",
49
+ "@o3r/schematics": "^12.1.0-prerelease.23",
50
+ "@o3r/testing": "^12.1.0-prerelease.23",
51
51
  "@schematics/angular": "^19.0.0",
52
52
  "cheerio": "^1.0.0-rc.10",
53
53
  "express-interceptor": "^1.2.0",
@@ -9,5 +9,5 @@ export declare function ngAddConfigFn(options: NgAddConfigSchematicsSchema): Rul
9
9
  * Add configuration to an existing component
10
10
  * @param options
11
11
  */
12
- export declare const ngAddConfig: (options: NgAddConfigSchematicsSchema) => Rule;
12
+ export declare const ngAddConfig: (options: any) => Rule;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/configuration-to-component/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAML,MAAM,4BAA4B,CAAC;AAoBpC,OAAO,KAAK,EACV,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAkClB;;;GAGG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B,GAAG,IAAI,CAoXxE;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,gDAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/configuration-to-component/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAML,MAAM,4BAA4B,CAAC;AAoBpC,OAAO,KAAK,EACV,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAkClB;;;GAGG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B,GAAG,IAAI,CAoXxE;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,wBAAsC,CAAC"}
@@ -283,5 +283,5 @@ function ngAddConfigFn(options) {
283
283
  * Add configuration to an existing component
284
284
  * @param options
285
285
  */
286
- exports.ngAddConfig = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngAddConfigFn);
286
+ exports.ngAddConfig = (0, schematics_2.createOtterSchematic)(ngAddConfigFn);
287
287
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AA2DlB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAGtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AA2DlB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAKtD,CAAC"}
@@ -57,8 +57,8 @@ function ngAddFn(options) {
57
57
  * @param options The options to pass to ng-add execution
58
58
  */
59
59
  const ngAdd = (options) => async (_, { logger }) => {
60
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
61
- return createSchematicWithMetricsIfInstalled(ngAddFn)(options);
60
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
61
+ return createOtterSchematic(ngAddFn)(options);
62
62
  };
63
63
  exports.ngAdd = ngAdd;
64
64
  //# sourceMappingURL=index.js.map
@@ -2,5 +2,5 @@ import type { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Update of Otter configuration V10.3
4
4
  */
5
- export declare const updateV10_3: (options: unknown) => Rule;
5
+ export declare const updateV10_3: (options: any) => Rule;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v10-3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EAEL,MAAM,4BAA4B,CAAC;AAqBpC;;GAEG;AAEH,eAAO,MAAM,WAAW,4BAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v10-3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EAEL,MAAM,4BAA4B,CAAC;AAqBpC;;GAEG;AAEH,eAAO,MAAM,WAAW,wBAAsC,CAAC"}
@@ -19,5 +19,5 @@ function updateV10_3Fn() {
19
19
  * Update of Otter configuration V10.3
20
20
  */
21
21
  // eslint-disable-next-line @typescript-eslint/naming-convention -- version in the function name
22
- exports.updateV10_3 = (0, schematics_1.createSchematicWithMetricsIfInstalled)(updateV10_3Fn);
22
+ exports.updateV10_3 = (0, schematics_1.createOtterSchematic)(updateV10_3Fn);
23
23
  //# sourceMappingURL=index.js.map
@@ -2,5 +2,5 @@ import type { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Update of Otter configuration V11.6
4
4
  */
5
- export declare const updateV116: (options: unknown) => Rule;
5
+ export declare const updateV116: (options: any) => Rule;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v11-6/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EAEL,MAAM,4BAA4B,CAAC;AAqBpC;;GAEG;AACH,eAAO,MAAM,UAAU,4BAAsD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v11-6/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,EAEL,MAAM,4BAA4B,CAAC;AAqBpC;;GAEG;AACH,eAAO,MAAM,UAAU,wBAAqC,CAAC"}
@@ -18,5 +18,5 @@ function updateV116Fn() {
18
18
  /**
19
19
  * Update of Otter configuration V11.6
20
20
  */
21
- exports.updateV116 = (0, schematics_1.createSchematicWithMetricsIfInstalled)(updateV116Fn);
21
+ exports.updateV116 = (0, schematics_1.createOtterSchematic)(updateV116Fn);
22
22
  //# sourceMappingURL=index.js.map
@@ -2,5 +2,5 @@ import { type Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Update of Otter configuration V12.0
4
4
  */
5
- export declare const updateV12_0: (options: unknown) => Rule;
5
+ export declare const updateV12_0: (options: any) => Rule;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v12-0/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AA+BpC;;GAEG;AAEH,eAAO,MAAM,WAAW,4BAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v12-0/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AA+BpC;;GAEG;AAEH,eAAO,MAAM,WAAW,wBAAsC,CAAC"}
@@ -28,5 +28,5 @@ function updateV12_0Fn() {
28
28
  * Update of Otter configuration V12.0
29
29
  */
30
30
  // eslint-disable-next-line @typescript-eslint/naming-convention -- version in the function name
31
- exports.updateV12_0 = (0, schematics_2.createSchematicWithMetricsIfInstalled)(updateV12_0Fn);
31
+ exports.updateV12_0 = (0, schematics_2.createOtterSchematic)(updateV12_0Fn);
32
32
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,7 @@
1
1
  import { type Rule } from '@angular-devkit/schematics';
2
- import type { NgUseConfigSignalSchematicsSchema } from './schema';
3
2
  /**
4
3
  * Migrate from configuration observable to signal
5
4
  * @param options
6
5
  */
7
- export declare const ngUseConfigSignal: (options: NgUseConfigSignalSchematicsSchema) => Rule;
6
+ export declare const ngUseConfigSignal: (options: any) => Rule;
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/use-config-signal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,IAAI,EAEV,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,iCAAiC,EAClC,MAAM,UAAU,CAAC;AA+HlB;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sDAA6D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/use-config-signal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,IAAI,EAEV,MAAM,4BAA4B,CAAC;AA6IpC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wBAA4C,CAAC"}
@@ -90,5 +90,5 @@ function ngUseConfigSignalFn(options) {
90
90
  * Migrate from configuration observable to signal
91
91
  * @param options
92
92
  */
93
- exports.ngUseConfigSignal = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngUseConfigSignalFn);
93
+ exports.ngUseConfigSignal = (0, schematics_2.createOtterSchematic)(ngUseConfigSignalFn);
94
94
  //# sourceMappingURL=index.js.map