@o3r/localization 12.1.0-prerelease.22 → 12.1.0-prerelease.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/localization",
3
- "version": "12.1.0-prerelease.22",
3
+ "version": "12.1.0-prerelease.24",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,11 +40,11 @@
40
40
  "@formatjs/intl-numberformat": "^8.0.2",
41
41
  "@ngrx/store": "^19.0.0",
42
42
  "@ngx-translate/core": "~16.0.4",
43
- "@o3r/core": "^12.1.0-prerelease.22",
44
- "@o3r/dynamic-content": "^12.1.0-prerelease.22",
45
- "@o3r/extractors": "^12.1.0-prerelease.22",
46
- "@o3r/logger": "^12.1.0-prerelease.22",
47
- "@o3r/schematics": "^12.1.0-prerelease.22",
43
+ "@o3r/core": "^12.1.0-prerelease.24",
44
+ "@o3r/dynamic-content": "^12.1.0-prerelease.24",
45
+ "@o3r/extractors": "^12.1.0-prerelease.24",
46
+ "@o3r/logger": "^12.1.0-prerelease.24",
47
+ "@o3r/schematics": "^12.1.0-prerelease.24",
48
48
  "@schematics/angular": "^19.0.0",
49
49
  "@yarnpkg/cli": "^4.3.1",
50
50
  "@yarnpkg/core": "^4.1.1",
@@ -9,5 +9,5 @@ export declare function ngAddLocalizationKeyFn(options: NgAddLocalizationKeySche
9
9
  * Add localization key to an existing component
10
10
  * @param options
11
11
  */
12
- export declare const ngAddLocalizationKey: (options: NgAddLocalizationKeySchematicsSchema) => Rule;
12
+ export declare const ngAddLocalizationKey: (options: any) => Rule;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/add-localization-key/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,IAAI,EAIL,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,oCAAoC,EACrC,MAAM,UAAU,CAAC;AA8FlB;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,oCAAoC,GAAG,IAAI,CAoM1F;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,yDAAgE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/add-localization-key/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,IAAI,EAIL,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,oCAAoC,EACrC,MAAM,UAAU,CAAC;AA8FlB;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,oCAAoC,GAAG,IAAI,CAoM1F;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,wBAA+C,CAAC"}
@@ -209,5 +209,5 @@ function ngAddLocalizationKeyFn(options) {
209
209
  * Add localization key to an existing component
210
210
  * @param options
211
211
  */
212
- exports.ngAddLocalizationKey = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngAddLocalizationKeyFn);
212
+ exports.ngAddLocalizationKey = (0, schematics_2.createOtterSchematic)(ngAddLocalizationKeyFn);
213
213
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,5 @@ import { Rule } from '@angular-devkit/schematics';
4
4
  * @param options @see RuleFactory.options
5
5
  * @param options.projectName
6
6
  */
7
- export declare const updateCmsAdapter: (options: {
8
- projectName?: string | undefined;
9
- }) => Rule;
7
+ export declare const updateCmsAdapter: (options: any) => Rule;
10
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAuFpC;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;kBA/EwB,MAAM,GAAG,SAAS;UA+EkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAuFpC;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,wBAA2C,CAAC"}
@@ -77,5 +77,5 @@ function updateCmsAdapterFn(options) {
77
77
  * @param options @see RuleFactory.options
78
78
  * @param options.projectName
79
79
  */
80
- exports.updateCmsAdapter = (0, schematics_2.createSchematicWithMetricsIfInstalled)(updateCmsAdapterFn);
80
+ exports.updateCmsAdapter = (0, schematics_2.createOtterSchematic)(updateCmsAdapterFn);
81
81
  //# sourceMappingURL=index.js.map
@@ -8,7 +8,5 @@ import { Rule } from '@angular-devkit/schematics';
8
8
  export declare function updateLocalization(options: {
9
9
  projectName?: string | null | undefined;
10
10
  }, rootPath: string): Rule;
11
- export declare const updateI18n: (options: {
12
- projectName?: string | undefined;
13
- }) => Rule;
11
+ export declare const updateI18n: (options: any) => Rule;
14
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/localization-base/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAqCpC;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CA6Z/G;AA4CD,eAAO,MAAM,UAAU;kBA1CwB,MAAM,GAAG,SAAS;UA0CY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/localization-base/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAqCpC;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CA6Z/G;AA4CD,eAAO,MAAM,UAAU,wBAAqC,CAAC"}
@@ -380,5 +380,5 @@ function updateI18nFn(options) {
380
380
  updateAngularJson
381
381
  ]);
382
382
  }
383
- exports.updateI18n = (0, schematics_2.createSchematicWithMetricsIfInstalled)(updateI18nFn);
383
+ exports.updateI18n = (0, schematics_2.createOtterSchematic)(updateI18nFn);
384
384
  //# sourceMappingURL=index.js.map
@@ -9,5 +9,5 @@ export declare function ngAddLocalizationFn(options: NgAddLocalizationSchematics
9
9
  * Add localization architecture to an existing component
10
10
  * @param options
11
11
  */
12
- export declare const ngAddLocalization: (options: NgAddLocalizationSchematicsSchema) => Rule;
12
+ export declare const ngAddLocalization: (options: any) => Rule;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/localization-to-component/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAML,MAAM,4BAA4B,CAAC;AA0BpC,OAAO,KAAK,EACV,iCAAiC,EAClC,MAAM,UAAU,CAAC;AAkClB;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iCAAiC,GAAG,IAAI,CAkTpF;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sDAA6D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/localization-to-component/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAML,MAAM,4BAA4B,CAAC;AA0BpC,OAAO,KAAK,EACV,iCAAiC,EAClC,MAAM,UAAU,CAAC;AAkClB;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iCAAiC,GAAG,IAAI,CAkTpF;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wBAA4C,CAAC"}
@@ -248,5 +248,5 @@ const mockTranslationsCompilerProvider: Provider = {
248
248
  * Add localization architecture to an existing component
249
249
  * @param options
250
250
  */
251
- exports.ngAddLocalization = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngAddLocalizationFn);
251
+ exports.ngAddLocalization = (0, schematics_2.createOtterSchematic)(ngAddLocalizationFn);
252
252
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AA4ElB;;;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,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AA4ElB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAKtD,CAAC"}
@@ -71,8 +71,8 @@ function ngAddFn(options) {
71
71
  * @param options for the dependencies installations
72
72
  */
73
73
  const ngAdd = (options) => async (_, { logger }) => {
74
- const { createSchematicWithMetricsIfInstalled } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
75
- return createSchematicWithMetricsIfInstalled(ngAddFn)(options);
74
+ const { createOtterSchematic } = await Promise.resolve().then(() => require('@o3r/schematics')).catch(reportMissingSchematicsDep(logger));
75
+ return createOtterSchematic(ngAddFn)(options);
76
76
  };
77
77
  exports.ngAdd = ngAdd;
78
78
  //# sourceMappingURL=index.js.map
@@ -2,5 +2,5 @@ import { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Update of Otter library V10.0
4
4
  */
5
- export declare const updateV10_0: (options: unknown) => Rule;
5
+ export declare const updateV10_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/v10-0/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AA8BpC;;GAEG;AAEH,eAAO,MAAM,WAAW,4BAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-update/v10-0/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AA8BpC;;GAEG;AAEH,eAAO,MAAM,WAAW,wBAAsC,CAAC"}
@@ -27,5 +27,5 @@ function updateV10_0Fn() {
27
27
  * Update of Otter library V10.0
28
28
  */
29
29
  // eslint-disable-next-line @typescript-eslint/naming-convention -- contains the version number
30
- exports.updateV10_0 = (0, schematics_2.createSchematicWithMetricsIfInstalled)(updateV10_0Fn);
30
+ exports.updateV10_0 = (0, schematics_2.createOtterSchematic)(updateV10_0Fn);
31
31
  //# 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