diff --git a/api/package.json b/api/package.json index bbba2fb9..08a4e895 100644 --- a/api/package.json +++ b/api/package.json @@ -35,7 +35,7 @@ "studio": "prisma studio" }, "prisma": { - "seed": "tsx --tsconfig tsconfig.seed.json prisma/seed.ts" + "seed": "tsx prisma/seed.ts" }, "dependencies": { "@apollo/server": "4.9.3", diff --git a/api/tsconfig.json b/api/tsconfig.json index 24aefd39..ea990fed 100644 --- a/api/tsconfig.json +++ b/api/tsconfig.json @@ -19,7 +19,7 @@ "typeRoots": [ "@types", "./node_modules/@types", - "../node_modules/@types" + "../node_modules/@types", ], "outDir": "./dist", diff --git a/api/tsconfig.seed.json b/api/tsconfig.seed.json deleted file mode 100644 index f6264d70..00000000 --- a/api/tsconfig.seed.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "target": "es2019", - "module": "ES2020", - "lib": [ - "es2019" - ], - }, - "include": [ - "prisma/**/*.ts" - ], - "ts-node": { - "esm": true, - "experimentalSpecifierResolution": "node", - "moduleTypes": { - "prisma/**/*.ts": "esm", - }, - }, -} \ No newline at end of file