From e365349b1fe34dd504cf441c4d65a1c57f0b3ec6 Mon Sep 17 00:00:00 2001 From: Aris Katsikaridis Date: Tue, 24 Feb 2026 14:28:59 +0200 Subject: [PATCH] Implement command to force source update --- packages/cli/README.md | 3 ++- packages/cli/src/api/upload.js | 1 + packages/cli/src/commands/push.js | 5 +++++ packages/native/README.md | 3 +++ packages/native/src/TxNative.js | 2 ++ packages/native/src/index.d.ts | 2 +- 6 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/cli/README.md b/packages/cli/README.md index 27058d36..c2b78712 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -103,7 +103,7 @@ detect and push source content to Transifex ``` USAGE $ txjs-cli push [PATTERN] [--dry-run] [--fake] [-v] [--purge] [--no-wait] [--token ] [--secret ] [--append-tags ] [--with-tags-only ] [--without-tags-only ] - [--cds-host ] [--do-not-keep-translations] [--override-tags] [--override-occurrences] [--parser auto|i18next|txnativejson] [--key-generator source|hash] + [--cds-host ] [--do-not-keep-translations] [--override-tags] [--override-occurrences] [--force-source-update] [--parser auto|i18next|txnativejson] [--key-generator source|hash] ARGUMENTS PATTERN [default: **/*.{js,jsx,ts,tsx,html,vue,pug,ejs}] file pattern to scan for strings @@ -120,6 +120,7 @@ FLAGS --no-wait disable polling for upload results --override-occurrences override occurrences when pushing content --override-tags override tags when pushing content + --force-source-update force the update of the source strings --parser=