@bigbinary/neeto-commons-frontend 4.13.124 → 4.13.126

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.
@@ -48,11 +48,14 @@ const generatePackageTranslations = () => {
48
48
  };
49
49
 
50
50
  const getHostTranslations = () => {
51
- const hostTranslationsDir = "./app/javascript/src/translations";
51
+ const transPath1 = "./app/javascript/src/translations";
52
+ const transPath2 = "./src/translations";
52
53
 
53
- return fs.existsSync(hostTranslationsDir)
54
- ? loadTranslations(hostTranslationsDir)
55
- : {};
54
+ if (fs.existsSync(transPath1)) return loadTranslations(transPath1);
55
+
56
+ if (fs.existsSync(transPath2)) return loadTranslations(transPath2);
57
+
58
+ return {};
56
59
  };
57
60
 
58
61
  const generateMergedTranslations = () => {
package/configs/utils.js CHANGED
@@ -66,6 +66,25 @@ const generateTransformer = (packageName, aliasName) => {
66
66
  transform: `${packageName}/\${member}`,
67
67
  preventFullImport: false,
68
68
  },
69
+ // v2 (neeto-atoms migration)
70
+ [`${packageName}/v2`]: {
71
+ transform: createImportTransformer(`${packageName}/v2`),
72
+ preventFullImport: true,
73
+ skipDefaultConversion: true,
74
+ },
75
+ [`${aliasName}/v2`]: {
76
+ transform: createImportTransformer(`${aliasName}/v2`),
77
+ preventFullImport: true,
78
+ skipDefaultConversion: true,
79
+ },
80
+ [`${aliasName}/v2/([A-Z][a-zA-Z]+)$`]: {
81
+ transform: `${aliasName}/v2/\${member}`,
82
+ preventFullImport: false,
83
+ },
84
+ [`${packageName}/v2/([A-Z][a-zA-Z]+)$`]: {
85
+ transform: `${packageName}/v2/\${member}`,
86
+ preventFullImport: false,
87
+ },
69
88
  };
70
89
  };
71
90
 
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-04-30T15:30:38.414Z
1
+ Built at 2026-05-08T07:54:19.538Z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "4.13.124",
3
+ "version": "4.13.126",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",