@o3r/core 14.0.0-prerelease.12 → 14.0.0-prerelease.14
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": "14.0.0-prerelease.
|
|
3
|
+
"version": "14.0.0-prerelease.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@ngrx/entity": "^21.0.0",
|
|
39
39
|
"@ngrx/store": "^21.0.0",
|
|
40
40
|
"@nx/angular": "^22.0.0",
|
|
41
|
-
"@o3r/telemetry": "~14.0.0-prerelease.
|
|
41
|
+
"@o3r/telemetry": "~14.0.0-prerelease.14",
|
|
42
42
|
"@schematics/angular": "^21.0.0",
|
|
43
43
|
"chokidar": "^4.0.3",
|
|
44
44
|
"globby": "^11.1.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@o3r/schematics": "~14.0.0-prerelease.
|
|
79
|
+
"@o3r/schematics": "~14.0.0-prerelease.14",
|
|
80
80
|
"tslib": "^2.6.2",
|
|
81
81
|
"uuid": "~13.0.0"
|
|
82
82
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@ngrx/store": "~21.0.0",
|
|
89
89
|
"@ngrx/store-devtools": "~21.0.0",
|
|
90
90
|
"@nx/eslint-plugin": "~22.3.3",
|
|
91
|
-
"@o3r/store-sync": "~14.0.0-prerelease.
|
|
91
|
+
"@o3r/store-sync": "~14.0.0-prerelease.14",
|
|
92
92
|
"@stylistic/eslint-plugin": "~5.6.0",
|
|
93
93
|
"@types/jest": "~30.0.0",
|
|
94
94
|
"@typescript-eslint/eslint-plugin": "~8.52.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/customization-environment/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAOL,IAAI,EAML,MAAM,4BAA4B,CAAC;AAoBpC;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/customization-environment/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAOL,IAAI,EAML,MAAM,4BAA4B,CAAC;AAoBpC;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAoGnK"}
|
|
@@ -44,9 +44,8 @@ function updateCustomizationEnvironment(rootPath, o3rCoreVersion, options, isLib
|
|
|
44
44
|
if (!fileInfo.moduleFilePath || !fileInfo.appModuleFile || !fileInfo.sourceFile) {
|
|
45
45
|
return tree;
|
|
46
46
|
}
|
|
47
|
-
// if we already
|
|
48
|
-
if ((0, ast_utils_1.isImported)(fileInfo.sourceFile, '
|
|
49
|
-
|| (0, ast_utils_1.isImported)(fileInfo.sourceFile, 'provideCustomComponents', '@o3r/components')) {
|
|
47
|
+
// if we already provide the customization, do nothing to avoid overriding custom configs with the empty ones
|
|
48
|
+
if ((0, ast_utils_1.isImported)(fileInfo.sourceFile, 'provideCustomComponents', '@o3r/components')) {
|
|
50
49
|
return tree;
|
|
51
50
|
}
|
|
52
51
|
const fileContent = tree.readText(fileInfo.moduleFilePath).replace(/\s*/g, '');
|