Update .gitignore, add dist directory

This commit is contained in:
2026-07-20 21:43:05 +01:00
parent 9f2db66760
commit 3bbf00cdb0
153 changed files with 6280 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
export declare const AppData: {
readonly ConfigFileName: "bun-mariadb.config.ts";
readonly MaxBackups: 10;
readonly MaxExports: 10;
readonly DefaultBackupDirName: ".backups";
readonly DefaultExportDirName: ".exports";
readonly DbSchemaManagerTableName: "__db_schema_manager__";
readonly DbSchemaFileName: "schema.ts";
readonly MaxInitRetries: 50;
readonly InitRetryIntervalMilliseconds: 5000;
};
+11
View File
@@ -0,0 +1,11 @@
export const AppData = {
ConfigFileName: "bun-mariadb.config.ts",
MaxBackups: 10,
MaxExports: 10,
DefaultBackupDirName: ".backups",
DefaultExportDirName: ".exports",
DbSchemaManagerTableName: "__db_schema_manager__",
DbSchemaFileName: "schema.ts",
MaxInitRetries: 50,
InitRetryIntervalMilliseconds: 5000,
};
+11
View File
@@ -0,0 +1,11 @@
import type { BunMariaDBConfig } from "../types";
type Params = {
config?: BunMariaDBConfig;
};
export default function grabDirNames(params?: Params): {
ROOT_DIR: string;
BUN_MARIADB_DIR: string;
BUN_MARIADB_TEMP_DIR: string;
BUN_MARIADB_LIVE_SCHEMA: string;
};
export {};
+13
View File
@@ -0,0 +1,13 @@
import path from "path";
export default function grabDirNames(params) {
const ROOT_DIR = process.cwd();
const BUN_MARIADB_DIR = path.join(ROOT_DIR, ".bun-mariadb");
const BUN_MARIADB_TEMP_DIR = path.join(BUN_MARIADB_DIR, ".tmp");
const BUN_MARIADB_LIVE_SCHEMA = path.join(BUN_MARIADB_DIR, "live-schema.json");
return {
ROOT_DIR,
BUN_MARIADB_DIR,
BUN_MARIADB_TEMP_DIR,
BUN_MARIADB_LIVE_SCHEMA,
};
}