Update .gitignore, add dist directory
This commit is contained in:
Vendored
+11
@@ -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;
|
||||
};
|
||||
Vendored
+11
@@ -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,
|
||||
};
|
||||
Vendored
+11
@@ -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 {};
|
||||
Vendored
+13
@@ -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,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user