@arkstack/database 0.17.19 → 0.17.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,12 @@
1
+ import { t as bootArkorm } from "./chunks/arkorm-DbtS6UA3.js";
1
2
  import { t as Rebuilder } from "./chunks/Rebuilder-CkDEcN65.js";
2
3
  import { CliApp, MakeFactoryCommand as MakeFactoryCommand$1 } from "arkormx";
3
4
  //#region src/commands/MakeFactoryCommand.ts
4
5
  var MakeFactoryCommand = class extends MakeFactoryCommand$1 {
5
6
  async handle() {
7
+ try {
8
+ bootArkorm();
9
+ } catch {}
6
10
  this.app.command = this;
7
11
  this.app = new CliApp();
8
12
  const name = this.argument("name");
@@ -1,8 +1,12 @@
1
+ import { t as bootArkorm } from "./chunks/arkorm-DbtS6UA3.js";
1
2
  import { t as Rebuilder } from "./chunks/Rebuilder-CkDEcN65.js";
2
3
  import { CliApp, MakeMigrationCommand as MakeMigrationCommand$1 } from "arkormx";
3
4
  //#region src/commands/MakeMigrationCommand.ts
4
5
  var MakeMigrationCommand = class extends MakeMigrationCommand$1 {
5
6
  async handle() {
7
+ try {
8
+ bootArkorm();
9
+ } catch {}
6
10
  this.app.command = this;
7
11
  this.app = new CliApp();
8
12
  const name = this.argument("name");
@@ -1,8 +1,12 @@
1
+ import { t as bootArkorm } from "./chunks/arkorm-DbtS6UA3.js";
1
2
  import { t as Rebuilder } from "./chunks/Rebuilder-CkDEcN65.js";
2
3
  import { CliApp, MakeModelCommand as MakeModelCommand$1 } from "arkormx";
3
4
  //#region src/commands/MakeModelCommand.ts
4
5
  var MakeModelCommand = class extends MakeModelCommand$1 {
5
6
  async handle() {
7
+ try {
8
+ bootArkorm();
9
+ } catch {}
6
10
  this.app.command = this;
7
11
  this.app = new CliApp();
8
12
  const name = this.argument("name");
@@ -1,8 +1,12 @@
1
+ import { t as bootArkorm } from "./chunks/arkorm-DbtS6UA3.js";
1
2
  import { t as Rebuilder } from "./chunks/Rebuilder-CkDEcN65.js";
2
3
  import { CliApp, MakeSeederCommand as MakeSeederCommand$1 } from "arkormx";
3
4
  //#region src/commands/MakeSeederCommand.ts
4
5
  var MakeSeederCommand = class extends MakeSeederCommand$1 {
5
6
  async handle() {
7
+ try {
8
+ bootArkorm();
9
+ } catch {}
6
10
  this.app.command = this;
7
11
  this.app = new CliApp();
8
12
  const name = this.argument("name");
@@ -1,7 +1,11 @@
1
+ import { t as bootArkorm } from "./chunks/arkorm-DbtS6UA3.js";
1
2
  import { CliApp, ModelsSyncCommand as ModelsSyncCommand$1 } from "arkormx";
2
3
  //#region src/commands/ModelsSyncCommand.ts
3
4
  var ModelsSyncCommand = class extends ModelsSyncCommand$1 {
4
5
  async handle() {
6
+ try {
7
+ bootArkorm();
8
+ } catch {}
5
9
  this.app.command = this;
6
10
  this.app = new CliApp();
7
11
  return super.handle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/database",
3
- "version": "0.17.19",
3
+ "version": "0.17.21",
4
4
  "type": "module",
5
5
  "description": "Database module for Arkstack, providing core database integration and data layer features.",
6
6
  "homepage": "https://arkstack.toneflix.net",
@@ -56,8 +56,8 @@
56
56
  "kysely": "^0.29.2",
57
57
  "pg": "^8.22.0",
58
58
  "resora": "^1.3.34",
59
- "@arkstack/contract": "^0.17.19",
60
- "@arkstack/common": "^0.17.19"
59
+ "@arkstack/contract": "^0.17.21",
60
+ "@arkstack/common": "^0.17.21"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/pg": "^8.16.0"