@bigbinary/neeto-commons-frontend 2.1.27 → 2.1.28
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.
|
@@ -5,7 +5,14 @@ const { mergeDeepLeft } = require("ramda");
|
|
|
5
5
|
|
|
6
6
|
const packageDir = path.join(__dirname, "../");
|
|
7
7
|
|
|
8
|
-
const getPkgTransPath = pkg =>
|
|
8
|
+
const getPkgTransPath = pkg => {
|
|
9
|
+
const basePath = path.join(packageDir, pkg);
|
|
10
|
+
|
|
11
|
+
const transPath1 = path.join(basePath, "app/javascript/src/translations");
|
|
12
|
+
const transPath2 = path.join(basePath, "src/translations");
|
|
13
|
+
|
|
14
|
+
return fs.existsSync(transPath1) ? transPath1 : transPath2;
|
|
15
|
+
};
|
|
9
16
|
|
|
10
17
|
const packages = fs.readdirSync(packageDir);
|
|
11
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.28",
|
|
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>",
|