From 870eecdf8a07825a6be5b34de5a0224c3a6aba54 Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Thu, 20 Aug 2020 09:31:06 -0700 Subject: [PATCH] Generate source strings before fetching Transifex translations (#547) --- v2/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/package.json b/v2/package.json index 4efbdeff3..c95e48591 100644 --- a/v2/package.json +++ b/v2/package.json @@ -53,7 +53,7 @@ "fbt-collect": "babel-node node_modules/.bin/fbt-collect --pretty --hash-module 'fb-tiger-hash/src/hashPhrases' --manifest < .src_manifest.json > .source_strings.json", "fbt-transifex": "npm run fbt-manifest && npm run fbt-collect && bin/fbt-generate-transifex.bin.js", "fbt-translate": "rm src/i18n/translations.json; node node_modules/babel-plugin-fbt/bin/translate.js --pretty --jenkins --translations src/i18n/locales/*.json > src/i18n/translations.json", - "fbt-fetch": "bin/fbt-fetch-transifex.bin.js && npm run fbt-translate" + "fbt-fetch": "npm run fbt-manifest && npm run fbt-collect && bin/fbt-fetch-transifex.bin.js && npm run fbt-translate" }, "repository": { "type": "git",