Skip to content

Commit

Permalink
packages bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
wmalarski committed Apr 13, 2023
1 parent 15b2173 commit 0b5aede
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 69 deletions.
9 changes: 9 additions & 0 deletions drizzle.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "dotenv/config";

const config = {
connectionString: process.env.DB_URL,
out: "./migrations",
schema: "./src/db/schema.ts",
};

export default config;
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@
"tsc": "tsc --noEmit",
"code-check": "yarn lint --max-warnings=0 && yarn tsc",
"=== HOOKS ===": "",
"db:push": "pnpm drizzle-kit push:mysql"
"db:push": "pnpm drizzle-kit push:mysql",
"db:up": "drizzle-kit up:pg",
"db:drop": "drizzle-kit drop:pg",
"db:migrate": "npx tsx scripts/migrate.ts"
},
"type": "module",
"devDependencies": {
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"autoprefixer": "^10.4.14",
"dotenv-cli": "^7.2.1",
"dotenv": "^16.0.3",
"drizzle-kit": "^0.17.4",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
Expand All @@ -34,7 +39,7 @@
"solid-start-node": "0.2.26",
"solid-start-vercel": "^0.2.26",
"tailwindcss": "^3.3.1",
"typescript": "^4.9.4",
"typescript": "^5.0.4",
"vite": "^4.2.1",
"vite-plugin-solid": "^2.7.0"
},
Expand All @@ -48,10 +53,10 @@
"@solidjs/router": "^0.8.2",
"clsx": "^1.2.1",
"daisyui": "^2.51.5",
"drizzle-orm": "^0.23.8",
"drizzle-orm": "^0.23.11",
"solid-js": "1.7.3",
"solid-start": "0.2.26",
"undici": "^5.21.0",
"undici": "^5.21.2",
"zod": "^3.21.4"
},
"engines": {
Expand Down
Loading

0 comments on commit 0b5aede

Please sign in to comment.