Rename global variables

This commit is contained in:
2026-08-03 12:01:40 +01:00
parent 87948340b0
commit 78e86b3999
78 changed files with 431 additions and 408 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ export default async function () {
try {
const package_json = await Bun.file(path.resolve(__dirname, "../../package.json")).json();
const current_version = package_json.version;
global.CURRENT_VERSION = current_version;
global.BUNEXT_CURRENT_VERSION = current_version;
}
catch (error) { }
const keys = Object.keys(dirNames);
@@ -45,7 +45,7 @@ export default async function () {
}
}
const config = (await grabConfig()) || {};
global.CONFIG = {
global.BUNEXT_CONFIG = {
...config,
development: is_dev,
};