From fd8d6a5d18e84d7dd6109a20a8394ca4836c5b75 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sun, 8 Mar 2026 08:54:46 +0100 Subject: [PATCH] Updates --- README.md | 2 +- dist/commands/schema.js | 2 +- package.json | 2 +- src/commands/schema.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fd44163..da3dcff 100644 --- a/README.md +++ b/README.md @@ -776,7 +776,7 @@ node-sqlite/ │ ├── sql-insert-generator.ts # INSERT query builder │ ├── sql-gen-operator-gen.ts # Equality operator mapper │ ├── sql-equality-parser.ts # Equality string parser -│ ├── append-default-fields-to-db-schema.ts +│ ├── append-default-fields-to-db-schema.js │ ├── grab-db-dir.ts # Resolve db/backup directory paths │ ├── grab-db-backup-file-name.ts # Generate timestamped backup filename │ ├── grab-sorted-backups.ts # List backups sorted newest-first diff --git a/dist/commands/schema.js b/dist/commands/schema.js index 3672936..7908ce1 100644 --- a/dist/commands/schema.js +++ b/dist/commands/schema.js @@ -28,7 +28,7 @@ function default_1() { .option("-t, --typedef", "Generate typescript type definitions") .action((opts) => __awaiter(this, void 0, void 0, function* () { console.log(`Starting process ...`); - const { config, dbSchema } = yield (0, init_1.default)(); + const { config, dbSchema } = (0, init_1.default)(); const { ROOT_DIR } = (0, grab_dir_names_1.default)(); const isVector = Boolean(opts.vector || opts.v); const isTypeDef = Boolean(opts.typedef || opts.t); diff --git a/package.json b/package.json index b89c2fa..748bff4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/nsqlite", - "version": "1.0.5", + "version": "1.0.6", "description": "SQLite manager for Node JS", "author": "Benjamin Toby", "main": "dist/index.js", diff --git a/src/commands/schema.ts b/src/commands/schema.ts index 2e543ae..db428fb 100644 --- a/src/commands/schema.ts +++ b/src/commands/schema.ts @@ -19,7 +19,7 @@ export default function () { .action(async (opts) => { console.log(`Starting process ...`); - const { config, dbSchema } = await init(); + const { config, dbSchema } = init(); const { ROOT_DIR } = grabDirNames(); const isVector = Boolean(opts.vector || opts.v);