prisma-migration-migrator
Advanced tools
Comparing version 0.0.22 to 0.0.23
import { mkdir } from 'node:fs/promises'; | ||
import { fileURLToPath } from 'node:url'; | ||
import path from 'node:path'; | ||
@@ -55,4 +54,3 @@ import { findKnexfile } from './knexfileFinder.js'; | ||
export function getBaseDirectory() { | ||
const __filename = fileURLToPath(import.meta.url); | ||
return path.resolve(path.dirname(__filename), '..', '..'); | ||
return process.cwd(); | ||
} | ||
@@ -59,0 +57,0 @@ /** |
{ | ||
"name": "prisma-migration-migrator", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Replace Prisma as the migration engine with Knex, while keeping it as ORM", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
56240