bun-query-builder 0.1.61 → 0.1.62

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.
package/dist/bin/cli.js CHANGED
@@ -18668,6 +18668,7 @@ function ensureSqlDirectory(workspaceRoot) {
18668
18668
  return sqlDir;
18669
18669
  }
18670
18670
  async function generateMigration(dir, opts = {}) {
18671
+ await getConfig();
18671
18672
  if (!dir) {
18672
18673
  dir = join9(process25.cwd(), "app/Models");
18673
18674
  }
@@ -18739,6 +18740,7 @@ async function generateMigration(dir, opts = {}) {
18739
18740
  return { sql, sqlStatements, hasChanges, plan, operations };
18740
18741
  }
18741
18742
  async function executeMigration(dir) {
18743
+ await getConfig();
18742
18744
  if (!dir) {
18743
18745
  dir = join9(process25.cwd(), "app/Models");
18744
18746
  }
@@ -18804,6 +18806,7 @@ async function executeMigration(dir) {
18804
18806
  return true;
18805
18807
  }
18806
18808
  async function resetDatabase(dir, opts = {}) {
18809
+ await getConfig();
18807
18810
  if (!dir) {
18808
18811
  dir = join9(process25.cwd(), "app/Models");
18809
18812
  }
@@ -31150,7 +31153,7 @@ function getPrefix() {
31150
31153
  }
31151
31154
  var prefix = getPrefix();
31152
31155
  // package.json
31153
- var version2 = "0.1.61";
31156
+ var version2 = "0.1.62";
31154
31157
 
31155
31158
  // bin/cli.ts
31156
31159
  init_actions();
package/dist/src/index.js CHANGED
@@ -18667,6 +18667,7 @@ function ensureSqlDirectory(workspaceRoot) {
18667
18667
  return sqlDir;
18668
18668
  }
18669
18669
  async function generateMigration(dir, opts = {}) {
18670
+ await getConfig();
18670
18671
  if (!dir) {
18671
18672
  dir = join9(process25.cwd(), "app/Models");
18672
18673
  }
@@ -18738,6 +18739,7 @@ async function generateMigration(dir, opts = {}) {
18738
18739
  return { sql, sqlStatements, hasChanges, plan, operations };
18739
18740
  }
18740
18741
  async function executeMigration(dir) {
18742
+ await getConfig();
18741
18743
  if (!dir) {
18742
18744
  dir = join9(process25.cwd(), "app/Models");
18743
18745
  }
@@ -18803,6 +18805,7 @@ async function executeMigration(dir) {
18803
18805
  return true;
18804
18806
  }
18805
18807
  async function resetDatabase(dir, opts = {}) {
18808
+ await getConfig();
18806
18809
  if (!dir) {
18807
18810
  dir = join9(process25.cwd(), "app/Models");
18808
18811
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-query-builder",
3
3
  "type": "module",
4
- "version": "0.1.61",
4
+ "version": "0.1.62",
5
5
  "description": "A simple yet performant query builder for TypeScript. Built with Bun.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",