Skip to content

Commit

Permalink
feat: seed users with drizzle and rm prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
JDIZM committed Jan 3, 2024
1 parent a5e55fa commit 7bd8ac9
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 639 deletions.
164 changes: 11 additions & 153 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build:esm": "npm run tsc:check && rm -rf dist && node build.mjs",
"test": "vitest --run --coverage",
"migrate:create": "npx drizzle-kit generate:pg",
"migrate:up": "tsx ./src/services/db/migrations.ts"
"migrate:up": "tsx ./src/services/db/migrations.ts",
"seed": "tsx ./src/services/db/seed.ts"
},
"keywords": [],
"author": "",
Expand All @@ -39,12 +40,10 @@
"eslint-plugin-import": "^2.27.5",
"pkgroll": "^1.11.0",
"prettier": "^2.8.7",
"prisma": "^5.2.0",
"tsx": "^3.12.8",
"typescript": "^5.0.4",
"vitest": "^0.31.1",
"zod": "^3.21.4",
"zod-prisma-types": "^2.7.9"
"zod": "^3.21.4"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
Expand Down
Loading

0 comments on commit 7bd8ac9

Please sign in to comment.