@umituz/react-native-settings 4.23.135 → 4.23.136
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": "@umituz/react-native-settings",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.136",
|
|
4
4
|
"description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -80,7 +80,8 @@ async function translateMissing(targetDir, srcDir) {
|
|
|
80
80
|
console.log('\n✅ All translations completed!');
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
const isMainModule = import.meta.url.endsWith('translate-missing.js');
|
|
84
|
+
if (isMainModule) {
|
|
84
85
|
const args = process.argv.slice(2).filter(arg => !arg.startsWith('--'));
|
|
85
86
|
const targetDir = args[0] || 'src/domains/localization/infrastructure/locales';
|
|
86
87
|
const srcDir = args[1];
|