fix(prisma): import process and configure types node for seed tsconfig
Deploy Canina / deploy (push) Failing after 25s
Deploy Canina / deploy (push) Failing after 25s
This commit is contained in:
1 parent
d4bee0c1e9
commit
d8fc57c23d
11 files changed
+44630
-44532
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
import process from 'node:process';
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ import * as path from 'path';
|
||||
import * as ts from 'typescript';
|
||||
import * as vm from 'vm';
|
||||
import * as bcrypt from 'bcryptjs';
|
||||
import process from 'node:process';
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
"skipLibCheck": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["./**/*.ts"]
|
||||
}
|
||||
Reference in new issue
Block a user