refactor: convert action to TS and bundle code (#95)

(cherry picked from commit 95bbb87724)
This commit is contained in:
Christian Svensson authored and Leo Kettmeir committed 2025-05-14 18:58:06 +02:00
1 parent 909cc5acb0
commit d74ee56ed6
737 files changed
+39115 -132946

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { build } from "tsdown";
import { join } from "node:path";
// Ensure `deno install` has run before building
await new Deno.Command(Deno.execPath(), {
args: ["install"],
cwd: join(import.meta.dirname!, ".."),
stdout: "inherit",
stderr: "inherit",
}).output();
await build({
entry: {
main: "src/main.ts",
},
target: "node20.19",
platform: "node",
format: "esm",
});