8000 Feature/turborepo migration by chozzz · Pull Request #41 · ingra-ai/ingra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature/turborepo migration #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
"name": "ingra",
"private": true,
"scripts": {
"build": "NODE_ENV=production turbo build",
"dev": "turbo dev",
"test": "turbo test",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"build": "NODE_ENV=production turbo run build",
"dev": "turbo run dev",
"test": "turbo run test",
"lint": "turbo run lint",
"db:migrate:deploy": "turbo run db:migrate:deploy",
"db:push": "turbo run db:push",
"db:seed": "turbo run db:seed",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"generate": "turbo run generate"
},
"devDependencies": {
"consola": "^3.2.3",
"prettier": "^3.2.5",
"prisma": "^5.16.2",
"tsup": "^8.2.4",
"turbo": "^2.0.12",
"typescript": "^5.4.5"
},
Expand All @@ -19,6 +25,7 @@
"node": ">=18"
},
"dependencies": {
"@prisma/client": "^5.18.0",
"@vercel/kv": "^2.0.0"
}
}
13 changes: 11 additions & 2 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@
"./prisma": "./src/prisma.ts"
} ,
"scripts": {
"db:migrate:deploy": "prisma migrate deploy",
"db:migrate:dev": "prisma migrate dev",
"db:push": "prisma db push",
"db:seed": "tsx src/seed.ts",
"dev": "tsup src/* --watch",
"format": "prisma format",
"generate": "prisma generate",
"prebuild": "npm run generate",
"predev": "npm run generate",
"studio": "prisma studio",
"lint": "eslint src/",
"db:generate": "prisma generate",
"db:push": "prisma db push --skip-generate"
"db:generate": "prisma generate"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
Expand Down
7 changes: 5 additions & 2 deletions packages/database/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"outDir": "dist"
"outDir": "dist",
"paths": {
"@prisma/client": ["./node_modules/@prisma/client"]
}
},
"include": ["src"],
"include": ["src", "prisma"],
"exclude": ["node_modules", "dist"]
}
Loading
0