Skip to content

Commit

Permalink
import GLOBAL_KEY from config instead
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankencana committed Oct 20, 2023
1 parent e7de704 commit 522c0b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/phrase/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export { pull } from './pull-translations';
export { push } from './push-translations';

export const GLOBAL_KEY = 'global-key';
3 changes: 2 additions & 1 deletion packages/phrase/src/push-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 522c0b3

Please sign in to comment.