Bluesky app fork with some witchin' additions 💫

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

authored by samuel.fm and committed by

GitHub 36b2a87a f001af2f

+4 -2
+2 -1
.github/workflows/pull-request-commit.yml
··· 50 git config --global user.name "github-actions[bot]" 51 git merge --no-edit ${{ github.head_ref }} 52 yarn install 53 54 - name: 🔦 Generate stats file for PR 55 run: | ··· 73 if: ${{ !steps.get-base-stats.outputs.cache-hit }} 74 run: | 75 yarn install 76 yarn generate-webpack-stats-file 77 mv stats.json stats-base.json 78 ··· 143 with: 144 header: fingerprint-diff 145 delete: true 146 -
··· 50 git config --global user.name "github-actions[bot]" 51 git merge --no-edit ${{ github.head_ref }} 52 yarn install 53 + yarn intl:build 54 55 - name: 🔦 Generate stats file for PR 56 run: | ··· 74 if: ${{ !steps.get-base-stats.outputs.cache-hit }} 75 run: | 76 yarn install 77 + yarn intl:build 78 yarn generate-webpack-stats-file 79 mv stats.json stats-base.json 80 ··· 145 with: 146 header: fingerprint-diff 147 delete: true
+2 -1
package.json
··· 20 }, 21 "scripts": { 22 "prepare": "is-ci || husky install", 23 - "postinstall": "patch-package && yarn intl:compile", 24 "prebuild": "expo prebuild --clean", 25 "android": "expo run:android", 26 "android:prod": "expo run:android --variant release", ··· 58 "intl:extract": "lingui extract --clean --locale en", 59 "intl:extract:all": "lingui extract --clean", 60 "intl:compile": "lingui compile", 61 "intl:pull": "crowdin download translations --verbose -b main", 62 "intl:push": "crowdin push translations --verbose -b main", 63 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
··· 20 }, 21 "scripts": { 22 "prepare": "is-ci || husky install", 23 + "postinstall": "patch-package && yarn intl:compile-if-needed", 24 "prebuild": "expo prebuild --clean", 25 "android": "expo run:android", 26 "android:prod": "expo run:android --variant release", ··· 58 "intl:extract": "lingui extract --clean --locale en", 59 "intl:extract:all": "lingui extract --clean", 60 "intl:compile": "lingui compile", 61 + "intl:compile-if-needed": "is-ci || [ -f src/locale/locales/en/messages.js ] || yarn intl:compile", 62 "intl:pull": "crowdin download translations --verbose -b main", 63 "intl:push": "crowdin push translations --verbose -b main", 64 "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",