Skip to content

Commit

Permalink
fix drizzle transistive dep
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Jan 27, 2024
1 parent b283a38 commit 95be156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions packages/db/drizzle.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import type { Config } from "drizzle-kit";
import * as dotenv from "dotenv";

dotenv.config({ path: "../../.env" });

const uri = [
"mysql://",
Expand Down
7 changes: 4 additions & 3 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint .",
"push": "drizzle-kit push:mysql",
"studio": "drizzle-kit studio",
"typecheck": "tsc --noEmit"
"push": "pnpm with-env drizzle-kit push:mysql",
"studio": "pnpm with-env drizzle-kit studio",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -e ../../.env --"
},
"dependencies": {
"@planetscale/database": "^1.13.0",
Expand Down

0 comments on commit 95be156

Please sign in to comment.