Skip to content

Commit

Permalink
change prisma settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMeloSena committed Jul 17, 2024
1 parent 3d87365 commit 5bb2588
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "prisma generate && tsx watch ./src/server.ts",
"postinstall": "prisma generate",
"build": "tsx watch ./src/server.ts",
"dev": "npm run services:up && npm run wait:mongodb && tsx watch ./src/server.ts",
"lint:prettier:check": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
Expand Down
1 change: 1 addition & 0 deletions server/prisma/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
generator client {
provider = "prisma-client-js"
output = "./generated/client"
}

datasource db {
Expand Down
1 change: 0 additions & 1 deletion server/vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"version": 2,
"buildCommand": "npm run build",
"builds": [
{
"src": "src/server.ts",
Expand Down

0 comments on commit 5bb2588

Please sign in to comment.