generated from nhcarrigan/template
feat: add Prisma ORM #5
+1
-1
@@ -1,4 +1,4 @@
|
||||
node_modules
|
||||
prod
|
||||
|
||||
src/generated/prisma
|
||||
generated/prisma
|
||||
|
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"build": "rm -rf prod && tsc",
|
||||
"lint": "eslint src --max-warnings 0",
|
||||
"start": "op run --env-file=prod.env --no-masking -- node prod/index.js",
|
||||
"start": "op run --env-file=prod.env --no-masking -- node prod/src/index.js",
|
||||
"test": "echo \"No tests yet!\" && exit 0"
|
||||
},
|
||||
"keywords": [],
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { PrismaClient } from "../generated/prisma/client.js";
|
||||
import { PrismaClient } from "../../generated/prisma/client.js";
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
|
naomi
commented
These changes are incorrect and should be reverted. These changes are incorrect and should be reverted.
|
||||
"include": ["**/*.ts"],
|
||||
"extends": "@nhcarrigan/typescript-config",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"outDir": "./prod"
|
||||
},
|
||||
"exclude": ["test/**/*.ts", "vitest.config.ts"]
|
||||
|
||||
Reference in New Issue
Block a user
Prisma should not be creating this at all.