diff --git a/package/js/consts.toml b/package/js/consts.toml deleted file mode 100644 index 17b0078..0000000 --- a/package/js/consts.toml +++ /dev/null @@ -1,3 +0,0 @@ -name = "lune" -version = "0.8.5" -api_url = "https://api.github.com/repos/lune-org/lune/releases" \ No newline at end of file diff --git a/package/js/consts.ts b/package/js/consts.ts index b924a1a..b0ae26a 100644 --- a/package/js/consts.ts +++ b/package/js/consts.ts @@ -1,12 +1,5 @@ -import { parse as parseToml } from "jsr:@std/toml"; -import * as path from "jsr:@std/path"; - -export const BASE_PATH = path.dirname(path.fromFileUrl(import.meta.url)); - -export default parseToml( - Deno.readTextFileSync(path.join(BASE_PATH, "consts.toml")), -) as { - name: string; - api_url: string; - version: string; -}; +export default { + name: "lune", + version: "0.8.5", + api_url: "https://api.github.com/repos/lune-org/lune/releases" +} as const; \ No newline at end of file