Prune unused deps, bump safe minors, add server-only guards.
Local Build and Deploy / deploy (push) Failing after 15s
Local Build and Deploy / deploy (push) Failing after 15s
Remove unused translate/jpeg types packages; refresh patch updates; mark Redis/site-settings/gamedata hotel as server-only with a Vitest stub. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
a798999440
commit
ef2c3324b4
7 files changed
+311
-329
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import "server-only";
|
||||
|
||||
import Redis from "ioredis";
|
||||
|
||||
const globalForRedis = globalThis as unknown as { redis?: Redis | null };
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import "server-only";
|
||||
|
||||
import {
|
||||
DEFAULT_HABBO_GAMEDATA_HOTEL,
|
||||
HABBO_GAMEDATA_HOTEL_SETTING_KEY,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import "server-only";
|
||||
|
||||
import { prisma } from "@/lib/prisma";
|
||||
import { redis } from "@/lib/redis";
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/** Vitest stub — real `server-only` throws outside the React Server runtime. */
|
||||
export {};
|
||||
Reference in new issue
Block a user