sheet-i18n 0.1.8 → 0.1.10
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 +13 -9
- package/.turbo/turbo-changelog.log +3 -3
- package/CHANGELOG.md +36 -0
- package/README.md +4 -2
- package/dist/chunk-7AQPNLGW.mjs +7 -0
- package/dist/exporter/index.d.ts +23 -0
- package/dist/exporter/index.js +24 -0
- package/dist/exporter/index.mjs +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +12 -2
- package/dist/index.mjs +6 -2
- package/package.json +6 -6
- package/src/exporter/index.ts +1 -0
- package/src/index.ts +1 -1
- package/.turbo/turbo-publish$colon$pnpm.log +0 -38
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> sheet-i18n@0.1.
|
|
3
|
+
> sheet-i18n@0.1.10 build /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n
|
|
4
4
|
> tsup
|
|
5
5
|
|
|
6
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
+
[34mCLI[39m Building entry: src/index.ts, src/exporter/index.ts
|
|
7
7
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
8
|
[34mCLI[39m tsup v6.7.0
|
|
9
|
-
[34mCLI[39m Using tsup config: /Users/
|
|
9
|
+
[34mCLI[39m Using tsup config: /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n/tsup.config.ts
|
|
10
10
|
[34mCLI[39m Target: node14
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[32mESM[39m [1mdist/index.mjs [22m[
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/chunk-7AQPNLGW.mjs [22m[32m122.00 B[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m102.00 B[39m
|
|
16
|
+
[32mESM[39m [1mdist/exporter/index.mjs [22m[32m32.00 B[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 11ms
|
|
18
|
+
[32mCJS[39m [1mdist/exporter/index.js [22m[32m1.10 KB[39m
|
|
19
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.28 KB[39m
|
|
20
|
+
[32mCJS[39m ⚡️ Build success in 11ms
|
|
18
21
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
22
|
+
[32mDTS[39m ⚡️ Build success in 471ms
|
|
23
|
+
[32mDTS[39m [1mdist/exporter/index.d.ts [22m[32m592.00 B[39m
|
|
24
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m84.00 B[39m
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> sheet-i18n@0.1.
|
|
3
|
+
> sheet-i18n@0.1.9 changelog /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n
|
|
4
4
|
> standard-version
|
|
5
5
|
|
|
6
|
-
[32m✔[39m bumping version in package.json from [1m0.1.
|
|
6
|
+
[32m✔[39m bumping version in package.json from [1m0.1.9[22m to [1m0.1.10[22m
|
|
7
7
|
[32m✔[39m outputting changes to [1mCHANGELOG.md[22m
|
|
8
8
|
[32m✔[39m committing [1mpackage.json[22m and [1mCHANGELOG.md[22m
|
|
9
9
|
[33m→ No staged files match any configured task.[39m
|
|
10
10
|
[33m[39m
|
|
11
|
-
[32m✔[39m tagging release [1mv[22m[1m0.1.
|
|
11
|
+
[32m✔[39m tagging release [1mv[22m[1m0.1.10[22m
|
|
12
12
|
[34mℹ[39m Run `[1mgit push --follow-tags origin feature && npm publish[22m` to publish
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,42 @@
|
|
|
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.10 (2024-12-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add changelog script to track changes ([9a07986](https://github.com/chltjdrhd777/sheet-i18n/commit/9a07986b0da9a3ffaa702888284df5059c64f776))
|
|
11
|
+
* add husky ([a55a51c](https://github.com/chltjdrhd777/sheet-i18n/commit/a55a51c7e1d279002dddcaf2b4e957d6180a83d5))
|
|
12
|
+
* add ignore sheet by title params ([82fc9ed](https://github.com/chltjdrhd777/sheet-i18n/commit/82fc9edf52f201b74cc22c7a129d8d9fb5880dc8))
|
|
13
|
+
* add lint-staged pre commit script ([53d3e0c](https://github.com/chltjdrhd777/sheet-i18n/commit/53d3e0c6aced647e3b47063cd23bf134345e73a5))
|
|
14
|
+
* add vitest setting ([62e6562](https://github.com/chltjdrhd777/sheet-i18n/commit/62e65629c68b92766f4509039405330508ba1d93))
|
|
15
|
+
* apply husky commit lint ([6ae99da](https://github.com/chltjdrhd777/sheet-i18n/commit/6ae99da9c448d23916ba97a6ae7d89546464dd75))
|
|
16
|
+
* create exportSheet method for creating translation json data ([732786e](https://github.com/chltjdrhd777/sheet-i18n/commit/732786e5dd32d4a0d3ac28607fe92117720160e6))
|
|
17
|
+
* create getTranslationData method to get translation data ([37faff0](https://github.com/chltjdrhd777/sheet-i18n/commit/37faff07f60af4369604ef36ed9ae5a06225a1d7))
|
|
18
|
+
* create translation json data method ([d30774f](https://github.com/chltjdrhd777/sheet-i18n/commit/d30774fe86a5486008530f3c1bb80edcf58c9d0f))
|
|
19
|
+
* create WorkSheetManager class ([522a65f](https://github.com/chltjdrhd777/sheet-i18n/commit/522a65f9f587c2fbbb5678dcac222fcc87beb1cc))
|
|
20
|
+
* **create-turbo:** apply official-starter transform ([acfb9e3](https://github.com/chltjdrhd777/sheet-i18n/commit/acfb9e31fe9cc659700c6050d26f78a0065164f7))
|
|
21
|
+
* **create-turbo:** apply pnpm-eslint transform ([9e76869](https://github.com/chltjdrhd777/sheet-i18n/commit/9e76869210372a92e1da13350f6bef42fbbba96b))
|
|
22
|
+
* **create-turbo:** create basic ([1a5e142](https://github.com/chltjdrhd777/sheet-i18n/commit/1a5e1421e90b02efd1d8f5ff72bf83a9e2f4db78))
|
|
23
|
+
* **create-turbo:** install dependencies ([ff1aeea](https://github.com/chltjdrhd777/sheet-i18n/commit/ff1aeeabbe3d5b704a170fb4974168d4ac9c334c))
|
|
24
|
+
* init turbo-repo based repo ([2019285](https://github.com/chltjdrhd777/sheet-i18n/commit/20192855844fe8fb2b31ad00fdd6ab7714dd082a))
|
|
25
|
+
* make sheet exporter base ([9fc56ba](https://github.com/chltjdrhd777/sheet-i18n/commit/9fc56ba8e24ce021dbc3f65c051549948f961608))
|
|
26
|
+
* prepare publish all packages ([036eba2](https://github.com/chltjdrhd777/sheet-i18n/commit/036eba202cb23f928a91122f28623b70853e62dd))
|
|
27
|
+
* prettier, plop file 적용 ([806fa60](https://github.com/chltjdrhd777/sheet-i18n/commit/806fa607754fb41a01a15303dee693087f6f0966))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* add format flag on dev mode ([2abff0a](https://github.com/chltjdrhd777/sheet-i18n/commit/2abff0a580865361019dce3bb103e5aed01cf6e0))
|
|
33
|
+
* change vscode eslint setting to format ([2c7513d](https://github.com/chltjdrhd777/sheet-i18n/commit/2c7513d6c37f57e9cf90fd5868ab40d61cda8366))
|
|
34
|
+
* eslint global config migration ([2573251](https://github.com/chltjdrhd777/sheet-i18n/commit/25732516e70259e2dda2da4e787c63c3abc385c9))
|
|
35
|
+
* eslint package 제거 및 모든 package에 공통 적용되도록 루트에서 적용 ([1d59989](https://github.com/chltjdrhd777/sheet-i18n/commit/1d5998911849dec4d312e4663c966306e5cf48a0))
|
|
36
|
+
* eslint typescript 전역으로 설정되도록 수정 ([8ef2095](https://github.com/chltjdrhd777/sheet-i18n/commit/8ef2095e6fad44650d8179ce0f5408c06bd0ee2e))
|
|
37
|
+
* package 이름 default 값 들어갔던 문제 수정 ([1ef984f](https://github.com/chltjdrhd777/sheet-i18n/commit/1ef984fc03b65a1397ad0d9ef91ab6fcffe58a44))
|
|
38
|
+
* remove auto eslint fix option ([fd35b44](https://github.com/chltjdrhd777/sheet-i18n/commit/fd35b44bd532b13ecff405fbf3f4720a224cbaf0))
|
|
39
|
+
* remove redundant types property in package.json ([2dcde8c](https://github.com/chltjdrhd777/sheet-i18n/commit/2dcde8c004405dd8f3ff72db1c5efd0fc69d08e5))
|
|
40
|
+
|
|
5
41
|
### [0.1.1](https://github.com/chltjdrhd777/sheet-i18n/compare/v0.1.2...v0.1.1) (2024-12-23)
|
|
6
42
|
|
|
7
43
|
|
package/README.md
CHANGED
|
@@ -125,9 +125,11 @@ If you call the `exportTranslations` function, it will update or create JSON fil
|
|
|
125
125
|
|
|
126
126
|
### API Documentation 📚
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
This package provides a streamlined way to export data using sheets API. It is designed to simplify the integration of spreadsheet data into your applications, particularly for translation workflows and internationalization (i18n).
|
|
129
129
|
|
|
130
|
-
[Google Sheets API Documentation](https://developers.google.com/sheets/api)
|
|
130
|
+
[Google Sheets API Documentation](https://developers.google.com/sheets/api)<br>
|
|
131
|
+
[Google Auth Library](https://www.npmjs.com/package/google-auth-library)<br>
|
|
132
|
+
[Google Spreadsheet](https://www.npmjs.com/package/google-spreadsheet)
|
|
131
133
|
|
|
132
134
|
### Exporting Data Format 🗂️
|
|
133
135
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as exporter from '@sheet-i18n/exporter';
|
|
2
|
+
export * from '@sheet-i18n/exporter';
|
|
3
|
+
|
|
4
|
+
function _mergeNamespaces(n, m) {
|
|
5
|
+
m.forEach(function (e) {
|
|
6
|
+
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
7
|
+
if (k !== 'default' && !(k in n)) {
|
|
8
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return e[k]; }
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
return Object.freeze(n);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
var index = /*#__PURE__*/_mergeNamespaces({
|
|
20
|
+
__proto__: null
|
|
21
|
+
}, [exporter]);
|
|
22
|
+
|
|
23
|
+
export { index as i };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
|
|
17
|
+
// src/exporter/index.ts
|
|
18
|
+
var exporter_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(exporter_exports);
|
|
20
|
+
__reExport(exporter_exports, require("@sheet-i18n/exporter"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@sheet-i18n/exporter")
|
|
24
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../chunk-7AQPNLGW.mjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { i as exporter } from './exporter/index.js';
|
|
2
|
+
import '@sheet-i18n/exporter';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -16,9 +20,15 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
16
20
|
|
|
17
21
|
// src/index.ts
|
|
18
22
|
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
exporter: () => exporter_exports
|
|
25
|
+
});
|
|
19
26
|
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
|
|
27
|
+
|
|
28
|
+
// src/exporter/index.ts
|
|
29
|
+
var exporter_exports = {};
|
|
30
|
+
__reExport(exporter_exports, require("@sheet-i18n/exporter"));
|
|
21
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
22
32
|
0 && (module.exports = {
|
|
23
|
-
|
|
33
|
+
exporter
|
|
24
34
|
});
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sheet-i18n",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"main": "
|
|
5
|
-
"module": "
|
|
3
|
+
"version": "0.1.10",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsup",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"publish:npm": "npm publish"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
|
-
"
|
|
15
|
-
"require": "./dist/index.js",
|
|
16
|
-
"import": "./dist/index.mjs"
|
|
14
|
+
"/exporter": {
|
|
15
|
+
"require": "./dist/exporter/index.js",
|
|
16
|
+
"import": "./dist/exporter/index.mjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@sheet-i18n/exporter';
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * as exporter from './exporter';
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|