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.
@@ -1,20 +1,24 @@
1
1
 
2
2
  
3
- > sheet-i18n@0.1.8 build /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
3
+ > sheet-i18n@0.1.10 build /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n
4
4
  > tsup
5
5
 
6
- CLI Building entry: src/index.ts
6
+ CLI Building entry: src/index.ts, src/exporter/index.ts
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v6.7.0
9
- CLI Using tsup config: /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n/tsup.config.ts
9
+ CLI Using tsup config: /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n/tsup.config.ts
10
10
  CLI Target: node14
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
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
14
+ ESM dist/chunk-7AQPNLGW.mjs 122.00 B
15
+ ESM dist/index.mjs 102.00 B
16
+ ESM dist/exporter/index.mjs 32.00 B
17
+ ESM ⚡️ Build success in 11ms
18
+ CJS dist/exporter/index.js 1.10 KB
19
+ CJS dist/index.js 1.28 KB
20
+ CJS ⚡️ Build success in 11ms
18
21
  DTS Build start
19
- DTS ⚡️ Build success in 316ms
20
- DTS dist/index.d.ts 38.00 B
22
+ DTS ⚡️ Build success in 471ms
23
+ DTS dist/exporter/index.d.ts 592.00 B
24
+ DTS dist/index.d.ts 84.00 B
@@ -1,12 +1,12 @@
1
1
 
2
2
  
3
- > sheet-i18n@0.1.4 changelog /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
3
+ > sheet-i18n@0.1.9 changelog /Users/devanderson/Documents/dev/project/sheet-i18n/packages/sheet-i18n
4
4
  > standard-version
5
5
 
6
- ✔ bumping version in package.json from 0.1.4 to 0.1.5
6
+ ✔ bumping version in package.json from 0.1.9 to 0.1.10
7
7
  ✔ outputting changes to CHANGELOG.md
8
8
  ✔ committing package.json and CHANGELOG.md
9
9
  → No staged files match any configured task.
10
10
  
11
- ✔ tagging release v0.1.5
11
+ ✔ tagging release v0.1.10
12
12
  ℹ Run `git push --follow-tags origin feature && npm publish` 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
- 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:
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,7 @@
1
+ // src/exporter/index.ts
2
+ var exporter_exports = {};
3
+ export * from "@sheet-i18n/exporter";
4
+
5
+ export {
6
+ exporter_exports
7
+ };
@@ -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 * from '@sheet-i18n/exporter';
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
- __reExport(src_exports, require("@sheet-i18n/exporter"), module.exports);
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
- ...require("@sheet-i18n/exporter")
33
+ exporter
24
34
  });
package/dist/index.mjs CHANGED
@@ -1,2 +1,6 @@
1
- // src/index.ts
2
- export * from "@sheet-i18n/exporter";
1
+ import {
2
+ exporter_exports
3
+ } from "./chunk-7AQPNLGW.mjs";
4
+ export {
5
+ exporter_exports as exporter
6
+ };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "sheet-i18n",
3
- "version": "0.1.8",
4
- "main": "./dist/index.js",
5
- "module": "./dist/index.mjs",
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 '@sheet-i18n/exporter';
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
- npm notice
7
- npm notice 📦 sheet-i18n@0.1.5
8
- npm notice === Tarball Contents ===
9
- npm notice 1.1kB .turbo/turbo-build.log
10
- npm notice 566B .turbo/turbo-changelog.log
11
- npm notice 3.0kB .turbo/turbo-publish$colon$npm.log
12
- npm notice 0B .turbo/turbo-publish$colon$pnpm.log
13
- npm notice 1.4kB CHANGELOG.md
14
- npm notice 6.9kB README.md
15
- npm notice 122B dist/chunk-7AQPNLGW.mjs
16
- npm notice 592B dist/exporter/index.d.ts
17
- npm notice 1.1kB dist/exporter/index.js
18
- npm notice 32B dist/exporter/index.mjs
19
- npm notice 84B dist/index.d.ts
20
- npm notice 1.3kB dist/index.js
21
- npm notice 102B dist/index.mjs
22
- npm notice 883B package.json
23
- npm notice 38B src/exporter/index.ts
24
- npm notice 40B src/index.ts
25
- npm notice 196B tsconfig.json
26
- npm notice 196B tsup.config.ts
27
- npm notice === Tarball Details ===
28
- npm notice name: sheet-i18n
29
- npm notice version: 0.1.5
30
- npm notice filename: sheet-i18n-0.1.5.tgz
31
- npm notice package size: 5.9 kB
32
- npm notice unpacked size: 17.7 kB
33
- npm notice shasum: cbc510eba59abef5d55d51d61a23093a1a6cd1dd
34
- npm notice integrity: sha512-rqJwB/B8oTzXf[...]jdKg4YdN6DnGw==
35
- npm notice total files: 18
36
- npm notice
37
- npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
38
- + sheet-i18n@0.1.5