Skip to content

Commit 0f592d5

Browse files
committed
regenerate bun lock
1 parent 96e8bc1 commit 0f592d5

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

apps/sim/app/api/auth/oauth/connections/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { db } from '@sim/db'
2-
import { account, user } from '@sim/db/schema'
1+
import { account, db, user } from '@sim/db'
32
import { eq } from 'drizzle-orm'
43
import { jwtDecode } from 'jwt-decode'
54
import { type NextRequest, NextResponse } from 'next/server'

apps/sim/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@
154154
"concurrently": "^9.1.0",
155155
"critters": "^0.0.23",
156156
"dotenv": "^16.4.7",
157-
"drizzle-kit": "^0.31.1",
158157
"jsdom": "^26.0.0",
159158
"postcss": "^8",
160159
"react-email": "^4.0.13",
@@ -170,6 +169,8 @@
170169
],
171170
"overrides": {
172171
"next": "15.4.1",
173-
"@next/env": "15.4.1"
172+
"@next/env": "15.4.1",
173+
"drizzle-orm": "^0.41.0",
174+
"postgres": "^3.4.5"
174175
}
175176
}

bun.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
"react": "19.1.0",
3030
"react-dom": "19.1.0",
3131
"next": "15.4.1",
32-
"@next/env": "15.4.1"
32+
"@next/env": "15.4.1",
33+
"drizzle-orm": "^0.41.0",
34+
"postgres": "^3.4.5"
3335
},
3436
"dependencies": {
3537
"@linear/sdk": "40.0.0",
@@ -49,6 +51,7 @@
4951
"@biomejs/biome": "2.0.0-beta.5",
5052
"@next/env": "15.4.1",
5153
"@types/bcryptjs": "3.0.0",
54+
"drizzle-kit": "^0.31.1",
5255
"husky": "9.1.7",
5356
"lint-staged": "16.0.0",
5457
"turbo": "2.5.6"

packages/db/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { drizzle, type PostgresJsDatabase } from 'drizzle-orm/postgres-js'
22
import postgres from 'postgres'
33
import * as schema from './schema'
44

5+
// Re-export everything from schema for type consistency
6+
export * from './schema'
7+
export type { PostgresJsDatabase }
8+
59
// In production, use the Vercel-generated POSTGRES_URL
610
// In development, use the direct DATABASE_URL
711
const connectionString = process.env.POSTGRES_URL ?? process.env.DATABASE_URL ?? ''

packages/db/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
"postgres": "^3.4.5"
3030
},
3131
"devDependencies": {
32-
"drizzle-kit": "^0.31.1",
3332
"typescript": "^5.7.3"
33+
},
34+
"overrides": {
35+
"drizzle-orm": "^0.41.0",
36+
"postgres": "^3.4.5"
3437
}
3538
}

0 commit comments

Comments
 (0)