pull app version from consts instead of package.json

This commit is contained in:
Milo Schwartz 2025-02-02 15:30:41 -05:00
parent 200b8d5623
commit ca008ace4b
5 changed files with 8 additions and 29 deletions

View file

@ -1,6 +1,8 @@
import path from "path";
import { fileURLToPath } from "url";
import { existsSync } from "fs";
// This is a placeholder value replaced by the build process
export const APP_VERSION = "1.0.0-beta.12";
export const __FILENAME = fileURLToPath(import.meta.url);
export const __DIRNAME = path.dirname(__FILENAME);