@o3r/core 11.0.0-prerelease.34 → 11.0.0-prerelease.35

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/core",
3
- "version": "11.0.0-prerelease.34",
3
+ "version": "11.0.0-prerelease.35",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,7 +26,7 @@
26
26
  "@ngrx/store": "~17.2.0",
27
27
  "@nrwl/devkit": "~18.3.0",
28
28
  "@nx/angular": "~18.3.0",
29
- "@o3r/telemetry": "^11.0.0-prerelease.34",
29
+ "@o3r/telemetry": "^11.0.0-prerelease.35",
30
30
  "@schematics/angular": "~17.3.0",
31
31
  "chokidar": "^3.5.2",
32
32
  "globby": "^11.1.0",
@@ -63,7 +63,7 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@o3r/schematics": "^11.0.0-prerelease.34",
66
+ "@o3r/schematics": "^11.0.0-prerelease.35",
67
67
  "tslib": "^2.6.2",
68
68
  "uuid": "^9.0.0"
69
69
  },
@@ -73,7 +73,7 @@
73
73
  "@ngrx/router-store": "~17.2.0",
74
74
  "@ngrx/effects": "~17.2.0",
75
75
  "@ngrx/store-devtools": "~17.2.0",
76
- "@o3r/store-sync": "^11.0.0-prerelease.34",
76
+ "@o3r/store-sync": "^11.0.0-prerelease.35",
77
77
  "@types/jest": "~29.5.2",
78
78
  "nx": "~18.3.0",
79
79
  "@typescript-eslint/parser": "^7.2.0",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AACjF,OAAO,EASL,KAAK,wBAAwB,EAC9B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAkBnD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,EACjK,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,IAAI,CAmIrD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AACjF,OAAO,EASL,KAAK,wBAAwB,EAC9B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAkBnD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAAC,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,EACjK,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,IAAI,CAoIrD"}
@@ -44,14 +44,15 @@ function updateStore(options, projectType) {
44
44
  /**
45
45
  * Change package.json with the new dependencies
46
46
  * @param tree
47
+ * @param context
47
48
  */
48
- const updatePackageJson = (tree) => {
49
+ const updatePackageJson = (tree, context) => {
49
50
  const workspaceConfig = (0, schematics_2.getWorkspaceConfig)(tree);
50
51
  const workspaceProject = options.projectName && workspaceConfig?.projects?.[options.projectName] || undefined;
51
52
  const appDeps = [ngrxEffectsDep, ngrxRouterStore, ngrxRouterStoreDevToolDep];
52
53
  const corePeerDeps = [ngrxEntityDep, ngrxStoreDep];
53
54
  const dependenciesList = projectType === 'application' ? [...corePeerDeps, ...appDeps] : [...corePeerDeps];
54
- Object.entries((0, schematics_2.getExternalDependenciesVersionRange)(dependenciesList, corePackageJsonPath)).forEach(([dep, range]) => {
55
+ Object.entries((0, schematics_2.getExternalDependenciesVersionRange)(dependenciesList, corePackageJsonPath, context.logger)).forEach(([dep, range]) => {
55
56
  options.dependenciesSetupConfig.dependencies[dep] = {
56
57
  inManifest: [{
57
58
  range,