sheet-i18n 0.1.0

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.
@@ -0,0 +1,24 @@
1
+
2
+ 
3
+ > sheet-i18n@0.1.0 build /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n
4
+ > tsup
5
+
6
+ CLI Building entry: src/index.ts, src/exporter/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v6.7.0
9
+ CLI Using tsup config: /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n/tsup.config.ts
10
+ CLI Target: node14
11
+ CLI Cleaning output folder
12
+ CJS Build start
13
+ ESM Build start
14
+ CJS dist/index.js 1.28 KB
15
+ CJS dist/exporter/index.js 1.10 KB
16
+ CJS ⚡️ Build success in 6ms
17
+ ESM dist/chunk-7AQPNLGW.mjs 122.00 B
18
+ ESM dist/index.mjs 102.00 B
19
+ ESM dist/exporter/index.mjs 32.00 B
20
+ ESM ⚡️ Build success in 6ms
21
+ DTS Build start
22
+ DTS ⚡️ Build success in 353ms
23
+ DTS dist/exporter/index.d.ts 592.00 B
24
+ DTS dist/index.d.ts 84.00 B
File without changes
@@ -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";
@@ -0,0 +1,2 @@
1
+ export { i as exporter } from './exporter/index.js';
2
+ import '@sheet-i18n/exporter';
package/dist/index.js ADDED
@@ -0,0 +1,34 @@
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 __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ exporter: () => exporter_exports
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/exporter/index.ts
29
+ var exporter_exports = {};
30
+ __reExport(exporter_exports, require("@sheet-i18n/exporter"));
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ exporter
34
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ exporter_exports
3
+ } from "./chunk-7AQPNLGW.mjs";
4
+ export {
5
+ exporter_exports as exporter
6
+ };
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "sheet-i18n",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.js",
5
+ "module": "dist/index.mjs",
6
+ "types": "./dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsup",
9
+ "dev": "tsup --watch",
10
+ "publish:npm": "npm publish"
11
+ },
12
+ "exports": {
13
+ "/exporter": {
14
+ "require": "./dist/exporter/index.js",
15
+ "import": "./dist/exporter/index.mjs"
16
+ }
17
+ },
18
+ "dependencies": {
19
+ "@sheet-i18n/exporter": "workspace:*"
20
+ },
21
+ "devDependencies": {
22
+ "tsup": "^6.0.0",
23
+ "typescript": "^5.0.0",
24
+ "@sheet-i18n/typescript-config": "workspace:*"
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ export * from '@sheet-i18n/exporter';
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * as exporter from './exporter';
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "@sheet-i18n/typescript-config/base.json",
3
+ "compilerOptions": {
4
+ "rootDir": "src",
5
+ "outDir": "dist"
6
+ },
7
+ "include": ["src/**/*"],
8
+ "exclude": ["node_modules", "dist"]
9
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,9 @@
1
+ import { defineConfig } from 'tsup';
2
+
3
+ export default defineConfig({
4
+ clean: true,
5
+ entry: ['src/index.ts', 'src/exporter/index.ts'],
6
+ outDir: 'dist',
7
+ format: ['cjs', 'esm'],
8
+ dts: true,
9
+ });