From 56381e5c8f1b9f34746b36bf7d4ec32057f60bdb Mon Sep 17 00:00:00 2001 From: Git Workflow Bot Date: Sun, 15 Sep 2024 15:36:28 +0000 Subject: [PATCH] Build --- dist/index.d.mts | 3 +++ dist/index.d.ts | 3 +++ dist/index.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ dist/index.js.map | 1 + dist/index.mjs | 18 ++++++++++++++++++ dist/index.mjs.map | 1 + 6 files changed, 71 insertions(+) create mode 100644 dist/index.d.mts create mode 100644 dist/index.d.ts create mode 100644 dist/index.js create mode 100644 dist/index.js.map create mode 100644 dist/index.mjs create mode 100644 dist/index.mjs.map diff --git a/dist/index.d.mts b/dist/index.d.mts new file mode 100644 index 0000000..933b930 --- /dev/null +++ b/dist/index.d.mts @@ -0,0 +1,3 @@ +declare function startTest(): void; + +export { startTest }; diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..933b930 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,3 @@ +declare function startTest(): void; + +export { startTest }; diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..29b9678 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,45 @@ +"use strict"; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + startTest: () => startTest +}); +module.exports = __toCommonJS(src_exports); + +// src/test.ts +function test(i) { + console.log(`Hello, World! (#${i})`); +} + +// src/index.ts +function startTest() { + console.log("Hello, World!"); + let i = 0; + setInterval(() => { + i++; + test(i); + }, 1e3); +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + startTest +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map new file mode 100644 index 0000000..dc6b37d --- /dev/null +++ b/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/test.ts"],"sourcesContent":["import test from \"./test\";\n\nexport function startTest() {\n console.log(\"Hello, World!\");\n let i: number = 0;\n setInterval(() => {\n i++;\n test(i);\n }, 1000);\n}\n","export default function test(i: number) {\n console.log(`Hello, World! (#${i})`);\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAe,SAAR,KAAsB,GAAW;AACpC,UAAQ,IAAI,mBAAmB,CAAC,GAAG;AACvC;;;ADAO,SAAS,YAAY;AACxB,UAAQ,IAAI,eAAe;AAC3B,MAAI,IAAY;AAChB,cAAY,MAAM;AACd;AACA,SAAK,CAAC;AAAA,EACV,GAAG,GAAI;AACX;","names":[]} \ No newline at end of file diff --git a/dist/index.mjs b/dist/index.mjs new file mode 100644 index 0000000..b8058a1 --- /dev/null +++ b/dist/index.mjs @@ -0,0 +1,18 @@ +// src/test.ts +function test(i) { + console.log(`Hello, World! (#${i})`); +} + +// src/index.ts +function startTest() { + console.log("Hello, World!"); + let i = 0; + setInterval(() => { + i++; + test(i); + }, 1e3); +} +export { + startTest +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/dist/index.mjs.map b/dist/index.mjs.map new file mode 100644 index 0000000..8c6e936 --- /dev/null +++ b/dist/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/test.ts","../src/index.ts"],"sourcesContent":["export default function test(i: number) {\n console.log(`Hello, World! (#${i})`);\n}","import test from \"./test\";\n\nexport function startTest() {\n console.log(\"Hello, World!\");\n let i: number = 0;\n setInterval(() => {\n i++;\n test(i);\n }, 1000);\n}\n"],"mappings":";AAAe,SAAR,KAAsB,GAAW;AACpC,UAAQ,IAAI,mBAAmB,CAAC,GAAG;AACvC;;;ACAO,SAAS,YAAY;AACxB,UAAQ,IAAI,eAAe;AAC3B,MAAI,IAAY;AAChB,cAAY,MAAM;AACd;AACA,SAAK,CAAC;AAAA,EACV,GAAG,GAAI;AACX;","names":[]} \ No newline at end of file