Skip intl:compile if not needed (#8837)

* skip intl compile if not needed

* add intl:compile to pull request ci

* compile -> build just to match others
This commit is contained in:
Samuel Newman
2025-08-14 00:58:42 +03:00
committed by GitHub
parent f001af2fe3
commit 36b2a87a06
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -20,7 +20,7 @@
},
"scripts": {
"prepare": "is-ci || husky install",
"postinstall": "patch-package && yarn intl:compile",
"postinstall": "patch-package && yarn intl:compile-if-needed",
"prebuild": "expo prebuild --clean",
"android": "expo run:android",
"android:prod": "expo run:android --variant release",
@@ -58,6 +58,7 @@
"intl:extract": "lingui extract --clean --locale en",
"intl:extract:all": "lingui extract --clean",
"intl:compile": "lingui compile",
"intl:compile-if-needed": "is-ci || [ -f src/locale/locales/en/messages.js ] || yarn intl:compile",
"intl:pull": "crowdin download translations --verbose -b main",
"intl:push": "crowdin push translations --verbose -b main",
"nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",