@vocab/phrase 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import type { TranslationsByLanguage } from '@vocab/types';
1
+ import type { TranslationsByLanguage } from '@vocab/core';
2
2
  export declare function translationsToCsv(translations: TranslationsByLanguage, devLanguage: string): {
3
3
  csvString: string;
4
4
  localeMapping: {
@@ -1,4 +1,4 @@
1
- import type { TranslationsByLanguage } from '@vocab/types';
1
+ import type { TranslationsByLanguage } from '@vocab/core';
2
2
  import fetch from 'node-fetch';
3
3
  export declare function callPhrase<T = any>(relativePath: string, options?: Parameters<typeof fetch>[1]): Promise<T>;
4
4
  export declare function pullAllTranslations(branch: string): Promise<TranslationsByLanguage>;
@@ -1,4 +1,4 @@
1
- import type { UserConfig } from '@vocab/types';
1
+ import type { UserConfig } from '@vocab/core';
2
2
  interface PullOptions {
3
3
  branch?: string;
4
4
  deleteUnusedKeys?: boolean;
@@ -1,4 +1,4 @@
1
- import { UserConfig } from '@vocab/types';
1
+ import type { UserConfig } from '@vocab/core';
2
2
  interface PushOptions {
3
3
  branch: string;
4
4
  deleteUnusedKeys?: boolean;
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@vocab/phrase",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "main": "dist/vocab-phrase.cjs.js",
5
5
  "module": "dist/vocab-phrase.esm.js",
6
6
  "author": "SEEK",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vocab/core": "^1.2.4",
10
- "@vocab/types": "^1.1.2",
9
+ "@vocab/core": "^1.3.0",
11
10
  "chalk": "^4.1.0",
12
11
  "csv-stringify": "^6.2.3",
13
12
  "debug": "^4.3.1",