From 522c0b300dc9ec927c88afef4f839a22ed417eff Mon Sep 17 00:00:00 2001 From: Adrian Kencana Date: Fri, 20 Oct 2023 16:25:21 +1100 Subject: [PATCH] import GLOBAL_KEY from config instead --- packages/phrase/src/index.ts | 2 ++ packages/phrase/src/push-translations.ts | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/phrase/src/index.ts b/packages/phrase/src/index.ts index 9575d217..e0eba2a9 100644 --- a/packages/phrase/src/index.ts +++ b/packages/phrase/src/index.ts @@ -1,2 +1,4 @@ export { pull } from './pull-translations'; export { push } from './push-translations'; + +export const GLOBAL_KEY = 'global-key'; diff --git a/packages/phrase/src/push-translations.ts b/packages/phrase/src/push-translations.ts index 67c206ee..1e5245b6 100644 --- a/packages/phrase/src/push-translations.ts +++ b/packages/phrase/src/push-translations.ts @@ -10,7 +10,8 @@ import { pushTranslations, } from './phrase-api'; import { trace } from './logger'; -import { loadAllTranslations, getUniqueKey, GLOBAL_KEY } from '@vocab/core'; +import { loadAllTranslations, getUniqueKey } from '@vocab/core'; +import { GLOBAL_KEY } from './config'; interface PushOptions { branch: string;