@barcidev/ngx-autogen 0.1.59 → 0.1.60

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": "@barcidev/ngx-autogen",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "A collection of Angular schematics for essential functionalities.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -112,7 +112,7 @@ function updateAppI18nTypeRule(options) {
112
112
  const match = content.match(regex);
113
113
  if (match) {
114
114
  const oldObjectStr = match[1];
115
- const propertyKey = camelName;
115
+ const propertyKey = `[${i18nConstantName}.scope]`;
116
116
  const propertyValue = `${i18nConstantName}.translations['en-US']`;
117
117
  // Placeholder para evitar comillas de JSON
118
118
  const placeholder = `__REF__${i18nConstantName}`;