sheet-i18n 0.1.7 → 0.1.8

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,6 +1,6 @@
1
1
 
2
2
  
3
- > sheet-i18n@0.1.7 build /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
3
+ > sheet-i18n@0.1.8 build /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
4
4
  > tsup
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,10 +11,10 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.mjs 1.34 MB
15
- ESM ⚡️ Build success in 186ms
16
- CJS dist/index.js 1.34 MB
17
- CJS ⚡️ Build success in 186ms
14
+ CJS dist/index.js 1.08 KB
15
+ CJS ⚡️ Build success in 7ms
16
+ ESM dist/index.mjs 54.00 B
17
+ ESM ⚡️ Build success in 7ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 356ms
20
- DTS dist/index.d.ts 949.00 B
19
+ DTS ⚡️ Build success in 316ms
20
+ DTS dist/index.d.ts 38.00 B
package/dist/index.d.ts CHANGED
@@ -1,29 +1 @@
1
- interface GoogleSheetCredentials {
2
- sheetId: string;
3
- clientEmail: string;
4
- privateKey: string;
5
- }
6
- type RowNumber = number;
7
-
8
- interface GoogleSheetExporterPreRequisites {
9
- credentials: GoogleSheetCredentials;
10
- defaultLocale: string;
11
- }
12
- interface GoogleSheetExporterConfig {
13
- /**@param headerStartRowNumber: row number of header */
14
- headerStartRowNumber?: RowNumber;
15
- /**@param ignoredSheets: sheets to be ignored */
16
- ignoredSheets?: string[];
17
- /**@param exportPath: path to export(run only in node.js environment) */
18
- exportPath?: string;
19
- }
20
- interface GoogleSheetExporterParams extends GoogleSheetExporterPreRequisites, GoogleSheetExporterConfig {
21
- }
22
- declare function googleSheetExporter(googleSheetExporterParams: GoogleSheetExporterParams): Promise<{
23
- getTranslations: () => Promise<{
24
- [k: string]: Record<string, {}>;
25
- }>;
26
- exportTranslations: () => Promise<void>;
27
- }>;
28
-
29
- export { googleSheetExporter };
1
+ export * from '@sheet-i18n/exporter';