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.
- package/.turbo/turbo-build.log +24 -0
- package/.turbo/turbo-publish$colon$npm.log +0 -0
- 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 -0
- package/dist/index.js +34 -0
- package/dist/index.mjs +6 -0
- package/package.json +26 -0
- package/src/exporter/index.ts +1 -0
- package/src/index.ts +1 -0
- package/tsconfig.json +9 -0
- package/tsup.config.ts +9 -0
|
@@ -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
|
+
[34mCLI[39m Building entry: src/index.ts, src/exporter/index.ts
|
|
7
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
+
[34mCLI[39m tsup v6.7.0
|
|
9
|
+
[34mCLI[39m Using tsup config: /Users/choeucheol/Documents/dev/project/sheet-i18n/packages/sheet-i18n/tsup.config.ts
|
|
10
|
+
[34mCLI[39m Target: node14
|
|
11
|
+
[34mCLI[39m Cleaning output folder
|
|
12
|
+
[34mCJS[39m Build start
|
|
13
|
+
[34mESM[39m Build start
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.28 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/exporter/index.js [22m[32m1.10 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 6ms
|
|
17
|
+
[32mESM[39m [1mdist/chunk-7AQPNLGW.mjs [22m[32m122.00 B[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m102.00 B[39m
|
|
19
|
+
[32mESM[39m [1mdist/exporter/index.mjs [22m[32m32.00 B[39m
|
|
20
|
+
[32mESM[39m ⚡️ Build success in 6ms
|
|
21
|
+
[34mDTS[39m Build start
|
|
22
|
+
[32mDTS[39m ⚡️ Build success in 353ms
|
|
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
|
|
File without changes
|
|
@@ -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
ADDED
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
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