mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Revert upgrades
This commit is contained in:
parent
e6d8613055
commit
6a35289aa7
@ -3,6 +3,7 @@
|
||||
"version": "2.8.90",
|
||||
"repository": "https://github.com/hexclave/stack-auth",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "rimraf src/generated && rimraf .next && rimraf node_modules",
|
||||
"typecheck": "tsc --noEmit",
|
||||
@ -102,7 +103,7 @@
|
||||
"jiti": "^2.6.1",
|
||||
"jose": "^6.1.3",
|
||||
"json-diff": "^1.0.6",
|
||||
"next": "16.2.6",
|
||||
"next": "16.1.7",
|
||||
"nodemailer": "^6.9.10",
|
||||
"oidc-provider": "^8.5.1",
|
||||
"openid-client": "5.6.4",
|
||||
|
||||
@ -162,12 +162,8 @@ async function resolveConnectionStringWithOrbStack(connectionString: string): Pr
|
||||
return connectionString;
|
||||
}
|
||||
|
||||
// We disable the OrbStack-based hacks as there is currently a Next.js 16.2 bug that does not allow "type": "module" in the package.json.
|
||||
// TODO: Once we've upgraded to Next.js 16.2.7+, we can add "type": "module" to the package.json and uncomment this again for faster OrbStack-based development
|
||||
// let actualGlobalConnectionString: string = globalVar.__stack_actual_global_connection_string ??= await resolveConnectionStringWithOrbStack(originalGlobalConnectionString);
|
||||
// let actualReplicaConnectionString: string = globalVar.__stack_actual_replica_connection_string ??= await resolveConnectionStringWithOrbStack(originalReplicaConnectionString);
|
||||
const actualGlobalConnectionString = globalVar.__stack_actual_global_connection_string ??= originalGlobalConnectionString;
|
||||
const actualReplicaConnectionString = globalVar.__stack_actual_replica_connection_string ??= originalReplicaConnectionString;
|
||||
let actualGlobalConnectionString: string = globalVar.__stack_actual_global_connection_string ??= await resolveConnectionStringWithOrbStack(originalGlobalConnectionString);
|
||||
let actualReplicaConnectionString: string = globalVar.__stack_actual_replica_connection_string ??= await resolveConnectionStringWithOrbStack(originalReplicaConnectionString);
|
||||
|
||||
export type PrismaClientWithReplica<T extends PrismaClient = PrismaClient> = Omit<T, "$on"> & {
|
||||
$replica: () => Omit<T, "$on">,
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
"jose": "^6.1.3",
|
||||
"libsodium-wrappers": "^0.8.2",
|
||||
"lodash": "^4.17.21",
|
||||
"next": "16.2.6",
|
||||
"next": "16.1.7",
|
||||
"next-themes": "^0.2.1",
|
||||
"posthog-js": "^1.336.1",
|
||||
"react": "19.2.3",
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"@stackframe/stack-shared": "workspace:*",
|
||||
"clsx": "^2.1.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"next": "16.2.6",
|
||||
"next": "16.1.5",
|
||||
"react-markdown": "^10.1.0",
|
||||
"zod": "^3.24.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"dependencies": {
|
||||
"@stackframe/stack-shared": "workspace:*",
|
||||
"@vercel/mcp-adapter": "^1.0.0",
|
||||
"next": "16.2.6",
|
||||
"next": "16.1.7",
|
||||
"posthog-node": "^4.1.0",
|
||||
"react": "19.2.3",
|
||||
"react-dom": "19.2.3",
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "16.2.6",
|
||||
"next": "16.1.7",
|
||||
"react": "19.2.3",
|
||||
"react-dom": "19.2.3"
|
||||
},
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"lucide-react": "^0.511.0",
|
||||
"mermaid": "^11.6.0",
|
||||
"minimatch": "^10.0.1",
|
||||
"next": "15.5.18",
|
||||
"next": "15.5.10",
|
||||
"next-themes": "^0.4.6",
|
||||
"posthog-js": "^1.336.1",
|
||||
"posthog-node": "^4.1.0",
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"@stackframe/stack": "workspace:*",
|
||||
"@stackframe/stack-shared": "workspace:*",
|
||||
"convex": "^1.27.0",
|
||||
"next": "15.5.18",
|
||||
"next": "15.5.10",
|
||||
"react": "^19.0.1",
|
||||
"react-dom": "^19.0.1"
|
||||
},
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"@stackframe/stack": "workspace:*",
|
||||
"@stackframe/stack-shared": "workspace:*",
|
||||
"@stackframe/stack-ui": "workspace:*",
|
||||
"next": "15.5.18",
|
||||
"next": "15.5.10",
|
||||
"next-themes": "^0.4.3",
|
||||
"react": "19.0.1",
|
||||
"react-dom": "19.0.1",
|
||||
|
||||
837
pnpm-lock.yaml
837
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user