@shogo-ai/db 1.9.0 → 1.9.12

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/index.cjs CHANGED
@@ -255,7 +255,7 @@ async function transformSchemaFile(options) {
255
255
  console.log("Running prisma generate...");
256
256
  }
257
257
  try {
258
- (0, import_child_process.execSync)("bun x prisma generate", {
258
+ (0, import_child_process.execSync)("bun x --bun prisma generate", {
259
259
  cwd: schemaDir,
260
260
  env,
261
261
  stdio: verbose ? "inherit" : "pipe"
@@ -269,7 +269,7 @@ async function transformSchemaFile(options) {
269
269
  console.log("Running prisma db push...");
270
270
  }
271
271
  try {
272
- (0, import_child_process.execSync)("bun x prisma db push", {
272
+ (0, import_child_process.execSync)("bun x --bun prisma db push", {
273
273
  cwd: schemaDir,
274
274
  env,
275
275
  stdio: verbose ? "inherit" : "pipe"
package/dist/index.js CHANGED
@@ -214,7 +214,7 @@ async function transformSchemaFile(options) {
214
214
  console.log("Running prisma generate...");
215
215
  }
216
216
  try {
217
- execSync("bun x prisma generate", {
217
+ execSync("bun x --bun prisma generate", {
218
218
  cwd: schemaDir,
219
219
  env,
220
220
  stdio: verbose ? "inherit" : "pipe"
@@ -228,7 +228,7 @@ async function transformSchemaFile(options) {
228
228
  console.log("Running prisma db push...");
229
229
  }
230
230
  try {
231
- execSync("bun x prisma db push", {
231
+ execSync("bun x --bun prisma db push", {
232
232
  cwd: schemaDir,
233
233
  env,
234
234
  stdio: verbose ? "inherit" : "pipe"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shogo-ai/db",
3
- "version": "1.9.0",
3
+ "version": "1.9.12",
4
4
  "description": "Shogo DB — Prisma adapter helpers for PostgreSQL/SQLite/libSQL with auto-detection from DATABASE_URL.",
5
5
  "license": "MIT",
6
6
  "type": "module",