Compare commits
3 Commits
6d5dd2125a
...
autobuild/
| Author | SHA1 | Date | |
|---|---|---|---|
| 280d5a4137 | |||
| 0c4aec4886 | |||
| 56381e5c8f |
2
.github/workflows/Build.yml
vendored
2
.github/workflows/Build.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
git config --global user.email 'noreply@kozelkaricsi.hu'
|
git config --global user.email 'noreply@kozelkaricsi.hu'
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout ${SOURCE_BRANCH_NAME}
|
git checkout ${SOURCE_BRANCH_NAME}
|
||||||
BRANCH_NAME="${SOURCE_BRANCH_NAME}-autobuild"
|
BRANCH_NAME="autobuild/${SOURCE_BRANCH_NAME}"
|
||||||
git fetch origin $BRANCH_NAME --unshallow || true # Allow failure if branch doesn't exist
|
git fetch origin $BRANCH_NAME --unshallow || true # Allow failure if branch doesn't exist
|
||||||
git switch $BRANCH_NAME || git switch -c $BRANCH_NAME
|
git switch $BRANCH_NAME || git switch -c $BRANCH_NAME
|
||||||
git merge ${SOURCE_BRANCH_NAME} -m "Update branch [skip ci]"
|
git merge ${SOURCE_BRANCH_NAME} -m "Update branch [skip ci]"
|
||||||
|
|||||||
3
dist/index.d.mts
vendored
Normal file
3
dist/index.d.mts
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
declare function startTest(): void;
|
||||||
|
|
||||||
|
export { startTest };
|
||||||
3
dist/index.d.ts
vendored
Normal file
3
dist/index.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
declare function startTest(): void;
|
||||||
|
|
||||||
|
export { startTest };
|
||||||
45
dist/index.js
vendored
Normal file
45
dist/index.js
vendored
Normal file
@ -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
|
||||||
1
dist/index.js.map
vendored
Normal file
1
dist/index.js.map
vendored
Normal file
@ -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":[]}
|
||||||
18
dist/index.mjs
vendored
Normal file
18
dist/index.mjs
vendored
Normal file
@ -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
|
||||||
1
dist/index.mjs.map
vendored
Normal file
1
dist/index.mjs.map
vendored
Normal file
@ -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":[]}
|
||||||
Reference in New Issue
Block a user