Add getCurrentVersion

This commit is contained in:
Michael B. Gale
2026-07-14 11:14:59 +01:00
parent 1b146d1b6a
commit 440cebc19d
2 changed files with 23 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ export const REPO_ROOT = path.join(PR_CHECKS_DIR, "..");
/** The path of the file configuring which checks shouldn't be required. */
export const PR_CHECK_EXCLUDED_FILE = path.join(PR_CHECKS_DIR, "excluded.yml");
/** The path of the main `package.json`. */
export const PACKAGE_JSON = path.join(REPO_ROOT, "package.json");
/** The path to the esbuild metadata file. */
export const BUNDLE_METADATA_FILE = path.join(REPO_ROOT, "meta.json");