elysia-auth-drizzle
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "elysia-auth-drizzle", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "./dist/index.js", | ||
@@ -12,8 +12,10 @@ "typings": "dist/index.d.ts", | ||
"migration:make": "drizzle-kit generate:pg", | ||
"migration:up": "drizzle-kit push:pg", | ||
"migration:up": "bun test/utils/migrate.ts", | ||
"migration:studio": "drizzle-kit studio" | ||
}, | ||
"peerDependencies": { | ||
"elysia": "^1.0.9" | ||
}, | ||
"dependencies": { | ||
"@bogeychan/elysia-logger": "^0.0.19", | ||
"elysia": "1.0.9", | ||
"jsonwebtoken": "^9.0.2", | ||
@@ -20,0 +22,0 @@ "unify-errors": "^1.2.227" |
@@ -5,6 +5,9 @@ import { migrate } from 'drizzle-orm/postgres-js/migrator'; | ||
// This will run migrations on the database, skipping the ones already applied | ||
await migrate(db, { migrationsFolder: './drizzle' }); | ||
(async () => { | ||
// This will run migrations on the database, skipping the ones already applied | ||
await migrate(db, { migrationsFolder: './drizzle' }); | ||
// Don't forget to close the connection, otherwise the script will hang | ||
await connection.end(); | ||
// Don't forget to close the connection, otherwise the script will hang | ||
await connection.end(); | ||
process.exit(1); | ||
})(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
246143
1621
+ Added@sinclair/typebox@0.34.13(transitive)
+ Addedcookie@1.0.2(transitive)
+ Addedelysia@1.2.10(transitive)
+ Addedmemoirist@0.2.0(transitive)
- Removedelysia@1.0.9
- Removed@sinclair/typebox@0.32.35(transitive)
- Removedcookie@0.6.0(transitive)
- Removedelysia@1.0.9(transitive)
- Removedeventemitter3@5.0.1(transitive)
- Removedfast-decode-uri-component@1.0.1(transitive)
- Removedfast-querystring@1.1.2(transitive)