From c4f0c16b36924e8e3df6c2fcbf485eaca58301cc Mon Sep 17 00:00:00 2001 From: DuroCodes Date: Thu, 20 Jun 2024 22:46:57 -0400 Subject: [PATCH] fix:change `setup.mjs` back into a `setup.ts` since that wasnt the issue --- setup.mjs => setup.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) rename setup.mjs => setup.ts (84%) diff --git a/setup.mjs b/setup.ts similarity index 84% rename from setup.mjs rename to setup.ts index 7f8e01e4f..1e40fe3fc 100644 --- a/setup.mjs +++ b/setup.ts @@ -1,9 +1,17 @@ import { $ } from "bun"; -import { GITHUB_URL } from "~/utils/consts.ts"; +import { GITHUB_URL } from "~/utils/consts"; import { existsSync } from "node:fs"; import { copyFile } from "node:fs/promises"; -const gits = [ +interface GitItem { + name: string; + repo: string; + branch?: string; + folder?: string; + install?: boolean; +} + +const gits: GitItem[] = [ { name: "sern-handler-v3", repo: "handler",