sheet-i18n 0.1.5 → 0.1.6
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.
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-publish$colon$npm.log +0 -36
- package/.turbo/turbo-publish$colon$pnpm.log +38 -0
- package/CHANGELOG.md +0 -26
- package/README.md +4 -22
- package/dist/chunk-KN4CC7MI.mjs +32505 -0
- package/dist/exporter/index.d.ts +32 -19
- package/dist/exporter/index.js +32483 -8
- package/dist/exporter/index.mjs +6 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +32486 -15
- package/dist/index.mjs +1 -1
- package/package.json +9 -13
- package/src/exporter/index.ts +1 -1
- package/dist/chunk-7AQPNLGW.mjs +0 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> sheet-i18n@0.1.
|
|
3
|
+
> sheet-i18n@0.1.6 build /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
|
|
4
4
|
> tsup
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts, src/exporter/index.ts
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[32mESM[39m [1mdist/index.mjs [22m[32m102.00 B[39m
|
|
15
|
-
[32mESM[39m [1mdist/
|
|
16
|
-
[32mESM[39m [1mdist/
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
-
[32mCJS[39m [1mdist/index.js [22m[32m1.
|
|
19
|
-
[32mCJS[39m [1mdist/exporter/index.js [22m[32m1.
|
|
20
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mESM[39m [1mdist/exporter/index.mjs [22m[32m97.00 B[39m
|
|
16
|
+
[32mESM[39m [1mdist/chunk-KN4CC7MI.mjs [22m[32m1.34 MB[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 158ms
|
|
18
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.34 MB[39m
|
|
19
|
+
[32mCJS[39m [1mdist/exporter/index.js [22m[32m1.34 MB[39m
|
|
20
|
+
[32mCJS[39m ⚡️ Build success in 158ms
|
|
21
21
|
[34mDTS[39m Build start
|
|
22
|
-
[32mDTS[39m ⚡️ Build success in
|
|
23
|
-
[32mDTS[39m [1mdist/exporter/index.d.ts [22m[
|
|
24
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
22
|
+
[32mDTS[39m ⚡️ Build success in 383ms
|
|
23
|
+
[32mDTS[39m [1mdist/exporter/index.d.ts [22m[32m1.10 KB[39m
|
|
24
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m53.00 B[39m
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> sheet-i18n@0.1.4 publish:npm /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
|
|
4
|
-
> npm publish
|
|
5
|
-
|
|
6
|
-
[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m
|
|
7
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 📦 sheet-i18n@0.1.4
|
|
8
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m [0m[35m=== Tarball Contents ===[0m
|
|
9
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.1kB .turbo/turbo-build.log
|
|
10
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 566B .turbo/turbo-changelog.log
|
|
11
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 0B .turbo/turbo-publish$colon$npm.log
|
|
12
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.3kB CHANGELOG.md
|
|
13
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.4MB dist/chunk-KN4CC7MI.mjs
|
|
14
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 592B dist/exporter/index.d.ts
|
|
15
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.4MB dist/exporter/index.js
|
|
16
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 97B dist/exporter/index.mjs
|
|
17
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 84B dist/index.d.ts
|
|
18
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.4MB dist/index.js
|
|
19
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 102B dist/index.mjs
|
|
20
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 844B package.json
|
|
21
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 38B src/exporter/index.ts
|
|
22
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 40B src/index.ts
|
|
23
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 196B tsconfig.json
|
|
24
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 236B tsup.config.ts
|
|
25
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m [0m[35m=== Tarball Details ===[0m
|
|
26
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m name: sheet-i18n
|
|
27
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m version: 0.1.4
|
|
28
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m filename: sheet-i18n-0.1.4.tgz
|
|
29
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m package size: 797.3 kB
|
|
30
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m unpacked size: 4.2 MB
|
|
31
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m shasum: 1a19367a893ef377ef7acc00442056de45557baa
|
|
32
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m integrity: sha512-QCWwwuZ6aXVsj[...]zi0402jJdQSTg==
|
|
33
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m total files: 16
|
|
34
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m
|
|
35
|
-
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m Publishing to https://registry.npmjs.org/ with tag latest and default access
|
|
36
|
-
[0m+ sheet-i18n@0.1.4
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> sheet-i18n@0.1.5 publish:pnpm /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
|
|
4
|
+
> pnpm publish --access public
|
|
5
|
+
|
|
6
|
+
[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m
|
|
7
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 📦 sheet-i18n@0.1.5
|
|
8
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m [0m[35m=== Tarball Contents ===[0m
|
|
9
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.1kB .turbo/turbo-build.log
|
|
10
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 566B .turbo/turbo-changelog.log
|
|
11
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 3.0kB .turbo/turbo-publish$colon$npm.log
|
|
12
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 0B .turbo/turbo-publish$colon$pnpm.log
|
|
13
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.4kB CHANGELOG.md
|
|
14
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 6.9kB README.md
|
|
15
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 122B dist/chunk-7AQPNLGW.mjs
|
|
16
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 592B dist/exporter/index.d.ts
|
|
17
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.1kB dist/exporter/index.js
|
|
18
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 32B dist/exporter/index.mjs
|
|
19
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 84B dist/index.d.ts
|
|
20
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 1.3kB dist/index.js
|
|
21
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 102B dist/index.mjs
|
|
22
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 883B package.json
|
|
23
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 38B src/exporter/index.ts
|
|
24
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 40B src/index.ts
|
|
25
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 196B tsconfig.json
|
|
26
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m 196B tsup.config.ts
|
|
27
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m [0m[35m=== Tarball Details ===[0m
|
|
28
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m name: sheet-i18n
|
|
29
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m version: 0.1.5
|
|
30
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m filename: sheet-i18n-0.1.5.tgz
|
|
31
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m package size: 5.9 kB
|
|
32
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m unpacked size: 17.7 kB
|
|
33
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m shasum: cbc510eba59abef5d55d51d61a23093a1a6cd1dd
|
|
34
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m integrity: sha512-rqJwB/B8oTzXf[...]jdKg4YdN6DnGw==
|
|
35
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m total files: 18
|
|
36
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m
|
|
37
|
+
[0m[37;40mnpm[0m [0m[36;40mnotice[0m[35m[0m Publishing to https://registry.npmjs.org/ with tag latest and public access
|
|
38
|
+
[0m+ sheet-i18n@0.1.5
|
package/CHANGELOG.md
CHANGED
|
@@ -2,32 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [0.1.5](https://github.com/chltjdrhd777/sheet-i18n/compare/v0.1.4...v0.1.5) (2024-12-23)
|
|
6
|
-
|
|
7
|
-
### [0.1.4](https://github.com/chltjdrhd777/sheet-i18n/compare/v0.1.1...v0.1.4) (2024-12-23)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
### Features
|
|
11
|
-
|
|
12
|
-
* add changelog script to track changes ([9a07986](https://github.com/chltjdrhd777/sheet-i18n/commit/9a07986b0da9a3ffaa702888284df5059c64f776))
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
* change vscode eslint setting to format ([2c7513d](https://github.com/chltjdrhd777/sheet-i18n/commit/2c7513d6c37f57e9cf90fd5868ab40d61cda8366))
|
|
18
|
-
|
|
19
|
-
### [0.1.3](https://github.com/chltjdrhd777/sheet-i18n/compare/v0.1.1...v0.1.3) (2024-12-23)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Features
|
|
23
|
-
|
|
24
|
-
* add changelog script to track changes ([9a07986](https://github.com/chltjdrhd777/sheet-i18n/commit/9a07986b0da9a3ffaa702888284df5059c64f776))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Bug Fixes
|
|
28
|
-
|
|
29
|
-
* change vscode eslint setting to format ([2c7513d](https://github.com/chltjdrhd777/sheet-i18n/commit/2c7513d6c37f57e9cf90fd5868ab40d61cda8366))
|
|
30
|
-
|
|
31
5
|
### [0.1.1](https://github.com/chltjdrhd777/sheet-i18n/compare/v0.1.2...v0.1.1) (2024-12-23)
|
|
32
6
|
|
|
33
7
|
|
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ The configuration object required for using the exporter is as follows:
|
|
|
76
76
|
|
|
77
77
|
If the headers in your Google Sheets are `["ko", "en", ...]`, the result returned by `getTranslations` will look like this:
|
|
78
78
|
|
|
79
|
-
```
|
|
79
|
+
```ts
|
|
80
80
|
{
|
|
81
81
|
"ko": {
|
|
82
82
|
"greeting": "안녕하세요",
|
|
@@ -85,7 +85,8 @@ If the headers in your Google Sheets are `["ko", "en", ...]`, the result returne
|
|
|
85
85
|
"en": {
|
|
86
86
|
"greeting": "Hello",
|
|
87
87
|
"farewell": "Goodbye"
|
|
88
|
-
}
|
|
88
|
+
}
|
|
89
|
+
|
|
89
90
|
...
|
|
90
91
|
}
|
|
91
92
|
```
|
|
@@ -108,7 +109,7 @@ In this example:
|
|
|
108
109
|
|
|
109
110
|
If you call the `exportTranslations` function, it will update or create JSON files in your project for each locale. The result could look like this:
|
|
110
111
|
|
|
111
|
-
```
|
|
112
|
+
```ts
|
|
112
113
|
// ko.json
|
|
113
114
|
{
|
|
114
115
|
"greeting": "안녕하세요",
|
|
@@ -122,12 +123,6 @@ If you call the `exportTranslations` function, it will update or create JSON fil
|
|
|
122
123
|
}
|
|
123
124
|
```
|
|
124
125
|
|
|
125
|
-
## <<<<<<< HEAD
|
|
126
|
-
|
|
127
|
-
=======
|
|
128
|
-
|
|
129
|
-
> > > > > > > feature
|
|
130
|
-
|
|
131
126
|
### API Documentation 📚
|
|
132
127
|
|
|
133
128
|
You can refer to the Google Sheets API for integration details and configuration. The following link provides extensive documentation on how to interact with Google Sheets API for accessing your spreadsheet data:
|
|
@@ -140,15 +135,8 @@ The exported translations will be saved in a format that is easy to use for loca
|
|
|
140
135
|
|
|
141
136
|
</details>
|
|
142
137
|
|
|
143
|
-
<<<<<<< HEAD
|
|
144
|
-
|
|
145
138
|
<!--
|
|
146
139
|
<details>
|
|
147
|
-
=======
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
<details open>
|
|
151
|
-
>>>>>>> feature
|
|
152
140
|
<summary>⚛️ React Component - `sheet-i18n/react`</summary>
|
|
153
141
|
|
|
154
142
|
#### `sheet-i18n/react`
|
|
@@ -196,10 +184,4 @@ This is useful for applications where translations need to be loaded and display
|
|
|
196
184
|
## Additional Notes 📌
|
|
197
185
|
|
|
198
186
|
- **Locales**: Ensure that the first row in your Google Sheet contains the locale headers (e.g., `["ko", "en", "fr"]`).
|
|
199
|
-
<<<<<<< HEAD
|
|
200
187
|
- **Placeholders**: Any placeholders within the translation strings will be replaced during the export process. -->
|
|
201
|
-
|
|
202
|
-
=======
|
|
203
|
-
|
|
204
|
-
- **Placeholders**: Any placeholders within the translation strings will be replaced during the export process.
|
|
205
|
-
> > > > > > > feature
|