Updates
This commit is contained in:
parent
f3ab535b67
commit
fd8d6a5d18
@ -776,7 +776,7 @@ node-sqlite/
|
|||||||
│ ├── sql-insert-generator.ts # INSERT query builder
|
│ ├── sql-insert-generator.ts # INSERT query builder
|
||||||
│ ├── sql-gen-operator-gen.ts # Equality operator mapper
|
│ ├── sql-gen-operator-gen.ts # Equality operator mapper
|
||||||
│ ├── sql-equality-parser.ts # Equality string parser
|
│ ├── 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-dir.ts # Resolve db/backup directory paths
|
||||||
│ ├── grab-db-backup-file-name.ts # Generate timestamped backup filename
|
│ ├── grab-db-backup-file-name.ts # Generate timestamped backup filename
|
||||||
│ ├── grab-sorted-backups.ts # List backups sorted newest-first
|
│ ├── grab-sorted-backups.ts # List backups sorted newest-first
|
||||||
|
|||||||
2
dist/commands/schema.js
vendored
2
dist/commands/schema.js
vendored
@ -28,7 +28,7 @@ function default_1() {
|
|||||||
.option("-t, --typedef", "Generate typescript type definitions")
|
.option("-t, --typedef", "Generate typescript type definitions")
|
||||||
.action((opts) => __awaiter(this, void 0, void 0, function* () {
|
.action((opts) => __awaiter(this, void 0, void 0, function* () {
|
||||||
console.log(`Starting process ...`);
|
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 { ROOT_DIR } = (0, grab_dir_names_1.default)();
|
||||||
const isVector = Boolean(opts.vector || opts.v);
|
const isVector = Boolean(opts.vector || opts.v);
|
||||||
const isTypeDef = Boolean(opts.typedef || opts.t);
|
const isTypeDef = Boolean(opts.typedef || opts.t);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/nsqlite",
|
"name": "@moduletrace/nsqlite",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"description": "SQLite manager for Node JS",
|
"description": "SQLite manager for Node JS",
|
||||||
"author": "Benjamin Toby",
|
"author": "Benjamin Toby",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export default function () {
|
|||||||
.action(async (opts) => {
|
.action(async (opts) => {
|
||||||
console.log(`Starting process ...`);
|
console.log(`Starting process ...`);
|
||||||
|
|
||||||
const { config, dbSchema } = await init();
|
const { config, dbSchema } = init();
|
||||||
const { ROOT_DIR } = grabDirNames();
|
const { ROOT_DIR } = grabDirNames();
|
||||||
|
|
||||||
const isVector = Boolean(opts.vector || opts.v);
|
const isVector = Boolean(opts.vector || opts.v);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user