@o3r/application 10.0.0-prerelease.4 → 10.0.0-prerelease.41

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/application",
3
- "version": "10.0.0-prerelease.4",
3
+ "version": "10.0.0-prerelease.41",
4
4
  "description": "This module provides development help to monitor your Otter Application",
5
5
  "keywords": [
6
6
  "application",
@@ -25,11 +25,11 @@
25
25
  "@angular-devkit/schematics": "~17.0.0",
26
26
  "@angular/common": "~17.0.2",
27
27
  "@angular/core": "~17.0.2",
28
- "@o3r/core": "^10.0.0-prerelease.4",
29
- "@o3r/logger": "^10.0.0-prerelease.4",
30
- "@o3r/routing": "^10.0.0-prerelease.4",
31
- "@o3r/schematics": "^10.0.0-prerelease.4",
32
- "@o3r/testing": "^10.0.0-prerelease.4",
28
+ "@o3r/core": "^10.0.0-prerelease.41",
29
+ "@o3r/logger": "^10.0.0-prerelease.41",
30
+ "@o3r/routing": "^10.0.0-prerelease.41",
31
+ "@o3r/schematics": "^10.0.0-prerelease.41",
32
+ "@o3r/testing": "^10.0.0-prerelease.41",
33
33
  "@schematics/angular": "~17.0.0",
34
34
  "rxjs": "^7.8.1",
35
35
  "typescript": "~5.2.2"
@@ -4,5 +4,5 @@ import type { NgAddSchematicsSchema } from './schema';
4
4
  * Add Otter application to an Angular Project
5
5
  * @param options The options to pass to ng-add execution
6
6
  */
7
- export declare function ngAdd(options: NgAddSchematicsSchema): Rule;
7
+ export declare const ngAdd: (options: NgAddSchematicsSchema) => Rule;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAG/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD;;;GAGG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAmF1D"}
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;AAI/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AA6FtD;;;GAGG;AACH,eAAO,MAAM,KAAK,0CAAiD,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = void 0;
4
4
  const schematics_1 = require("@angular-devkit/schematics");
5
+ const schematics_2 = require("@o3r/schematics");
5
6
  const path = require("node:path");
6
7
  const devtools_registration_1 = require("./helpers/devtools-registration");
7
8
  const cms_registration_1 = require("./helpers/cms-registration");
@@ -9,7 +10,7 @@ const cms_registration_1 = require("./helpers/cms-registration");
9
10
  * Add Otter application to an Angular Project
10
11
  * @param options The options to pass to ng-add execution
11
12
  */
12
- function ngAdd(options) {
13
+ function ngAddFn(options) {
13
14
  /* ng add rules */
14
15
  return async (tree, context) => {
15
16
  try {
@@ -62,5 +63,9 @@ function ngAdd(options) {
62
63
  }
63
64
  };
64
65
  }
65
- exports.ngAdd = ngAdd;
66
+ /**
67
+ * Add Otter application to an Angular Project
68
+ * @param options The options to pass to ng-add execution
69
+ */
70
+ exports.ngAdd = (0, schematics_2.createSchematicWithMetricsIfInstalled)(ngAddFn);
66
71
  //# sourceMappingURL=index.js.map