generated from nhcarrigan/template
fix: resolve pre-existing TypeScript strictness build errors
- Add @types/node to API devDependencies
- Create HonoEnv type and apply to all routers + auth middleware for
proper context.get/set("discordId") typing
- Use conditional spreads for exactOptionalPropertyTypes dailyChallenges
in GameContext, tick engine, and prestige route
- Use conditional spread for optional signature in SaveRequest calls
- Add non-null assertions in shuffle/template index for noUncheckedIndexedAccess
- Cast GameState to never for Prisma InputJsonValue fields
- Exclude vite.config.ts from web tsconfig (it runs in Node context)
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nhcarrigan/eslint-config": "5.2.0",
|
"@nhcarrigan/eslint-config": "5.2.0",
|
||||||
"@nhcarrigan/typescript-config": "4.0.0",
|
"@nhcarrigan/typescript-config": "4.0.0",
|
||||||
|
"@types/node": "25.3.5",
|
||||||
"@vitest/coverage-v8": "3.0.8",
|
"@vitest/coverage-v8": "3.0.8",
|
||||||
"eslint": "9.22.0",
|
"eslint": "9.22.0",
|
||||||
"tsx": "4.19.3",
|
"tsx": "4.19.3",
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import type { Context, Next } from "hono";
|
import type { MiddlewareHandler } from "hono";
|
||||||
|
import type { HonoEnv } from "../types/hono.js";
|
||||||
import { verifyToken } from "../services/jwt.js";
|
import { verifyToken } from "../services/jwt.js";
|
||||||
|
|
||||||
export const authMiddleware = async (context: Context, next: Next): Promise<void> => {
|
export const authMiddleware: MiddlewareHandler<HonoEnv> = async (context, next) => {
|
||||||
const authorization = context.req.header("Authorization");
|
const authorization = context.req.header("Authorization");
|
||||||
|
|
||||||
if (!authorization?.startsWith("Bearer ")) {
|
if (!authorization?.startsWith("Bearer ")) {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ authRouter.get("/callback", async (context) => {
|
|||||||
await prisma.gameState.create({
|
await prisma.gameState.create({
|
||||||
data: {
|
data: {
|
||||||
discordId: player.discordId,
|
discordId: player.discordId,
|
||||||
state: initialState,
|
state: initialState as unknown as never,
|
||||||
updatedAt: now,
|
updatedAt: now,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import type { BuyPrestigeUpgradeRequest, GameState, PrestigeRequest } from "@elysium/types";
|
import type { BuyPrestigeUpgradeRequest, GameState, PrestigeRequest } from "@elysium/types";
|
||||||
import { Hono } from "hono";
|
import { Hono } from "hono";
|
||||||
|
import type { HonoEnv } from "../types/hono.js";
|
||||||
import { prisma } from "../db/client.js";
|
import { prisma } from "../db/client.js";
|
||||||
import { authMiddleware } from "../middleware/auth.js";
|
import { authMiddleware } from "../middleware/auth.js";
|
||||||
import { DEFAULT_PRESTIGE_UPGRADES } from "../data/prestigeUpgrades.js";
|
import { DEFAULT_PRESTIGE_UPGRADES } from "../data/prestigeUpgrades.js";
|
||||||
@@ -10,7 +11,7 @@ import {
|
|||||||
isEligibleForPrestige,
|
isEligibleForPrestige,
|
||||||
} from "../services/prestige.js";
|
} from "../services/prestige.js";
|
||||||
|
|
||||||
export const prestigeRouter = new Hono();
|
export const prestigeRouter = new Hono<HonoEnv>();
|
||||||
|
|
||||||
prestigeRouter.use("*", authMiddleware);
|
prestigeRouter.use("*", authMiddleware);
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ prestigeRouter.post("/", async (context) => {
|
|||||||
// Preserve daily challenges across the prestige reset and apply any crystal rewards
|
// Preserve daily challenges across the prestige reset and apply any crystal rewards
|
||||||
const finalState: GameState = {
|
const finalState: GameState = {
|
||||||
...newState,
|
...newState,
|
||||||
dailyChallenges: updatedDailyChallenges,
|
...(updatedDailyChallenges !== undefined ? { dailyChallenges: updatedDailyChallenges } : {}),
|
||||||
resources: {
|
resources: {
|
||||||
...newState.resources,
|
...newState.resources,
|
||||||
crystals: newState.resources.crystals + challengeCrystals,
|
crystals: newState.resources.crystals + challengeCrystals,
|
||||||
|
|||||||
@@ -5,10 +5,11 @@ import type {
|
|||||||
} from "@elysium/types";
|
} from "@elysium/types";
|
||||||
import { DEFAULT_PROFILE_SETTINGS } from "@elysium/types";
|
import { DEFAULT_PROFILE_SETTINGS } from "@elysium/types";
|
||||||
import { Hono } from "hono";
|
import { Hono } from "hono";
|
||||||
|
import type { HonoEnv } from "../types/hono.js";
|
||||||
import { prisma } from "../db/client.js";
|
import { prisma } from "../db/client.js";
|
||||||
import { authMiddleware } from "../middleware/auth.js";
|
import { authMiddleware } from "../middleware/auth.js";
|
||||||
|
|
||||||
export const profileRouter = new Hono();
|
export const profileRouter = new Hono<HonoEnv>();
|
||||||
|
|
||||||
const VALID_NUMBER_FORMATS = new Set(["suffix", "scientific", "engineering"]);
|
const VALID_NUMBER_FORMATS = new Set(["suffix", "scientific", "engineering"]);
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const shuffleWithSeed = <T>(arr: T[], seed: number): T[] => {
|
|||||||
const result = [...arr];
|
const result = [...arr];
|
||||||
for (let i = result.length - 1; i > 0; i--) {
|
for (let i = result.length - 1; i > 0; i--) {
|
||||||
const j = Math.floor(seededRandom(seed + i) * (i + 1));
|
const j = Math.floor(seededRandom(seed + i) * (i + 1));
|
||||||
[result[i], result[j]] = [result[j], result[i]];
|
[result[i], result[j]] = [result[j]!, result[i]!];
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
@@ -48,7 +48,7 @@ export const generateDailyChallenges = (dateStr: string): DailyChallenge[] => {
|
|||||||
return selectedTypes.map((type, index) => {
|
return selectedTypes.map((type, index) => {
|
||||||
const templates = DAILY_CHALLENGE_TEMPLATES.filter((t) => t.type === type);
|
const templates = DAILY_CHALLENGE_TEMPLATES.filter((t) => t.type === type);
|
||||||
const templateIndex = Math.floor(seededRandom(seed + index * 100) * templates.length);
|
const templateIndex = Math.floor(seededRandom(seed + index * 100) * templates.length);
|
||||||
const template = templates[templateIndex];
|
const template = templates[templateIndex]!;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: `${dateStr}_${type}`,
|
id: `${dateStr}_${type}`,
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
export type HonoEnv = { Variables: { discordId: string } };
|
||||||
@@ -174,7 +174,7 @@ export const GameProvider = ({ children }: { children: React.ReactNode }): React
|
|||||||
if (stateRef.current && !isSyncingRef.current) {
|
if (stateRef.current && !isSyncingRef.current) {
|
||||||
void saveGame({
|
void saveGame({
|
||||||
state: stateRef.current,
|
state: stateRef.current,
|
||||||
signature: signatureRef.current ?? undefined,
|
...(signatureRef.current !== null ? { signature: signatureRef.current } : {}),
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
setLastSavedAt(response.savedAt);
|
setLastSavedAt(response.savedAt);
|
||||||
if (response.signature) {
|
if (response.signature) {
|
||||||
@@ -222,7 +222,7 @@ export const GameProvider = ({ children }: { children: React.ReactNode }): React
|
|||||||
try {
|
try {
|
||||||
const response = await saveGame({
|
const response = await saveGame({
|
||||||
state: stateRef.current,
|
state: stateRef.current,
|
||||||
signature: signatureRef.current ?? undefined,
|
...(signatureRef.current !== null ? { signature: signatureRef.current } : {}),
|
||||||
});
|
});
|
||||||
setSyncError(null);
|
setSyncError(null);
|
||||||
setLastSavedAt(response.savedAt);
|
setLastSavedAt(response.savedAt);
|
||||||
@@ -267,7 +267,7 @@ export const GameProvider = ({ children }: { children: React.ReactNode }): React
|
|||||||
totalGoldEarned: prev.player.totalGoldEarned + clickPower,
|
totalGoldEarned: prev.player.totalGoldEarned + clickPower,
|
||||||
totalClicks: prev.player.totalClicks + 1,
|
totalClicks: prev.player.totalClicks + 1,
|
||||||
},
|
},
|
||||||
dailyChallenges: updatedDailyChallenges,
|
...(updatedDailyChallenges !== undefined ? { dailyChallenges: updatedDailyChallenges } : {}),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|||||||
@@ -7,5 +7,5 @@
|
|||||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||||
"target": "ES2022"
|
"target": "ES2022"
|
||||||
},
|
},
|
||||||
"exclude": ["test/**/*.ts", "test/**/*.tsx"]
|
"exclude": ["test/**/*.ts", "test/**/*.tsx", "vite.config.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+44
-27
@@ -35,13 +35,16 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
'@nhcarrigan/eslint-config':
|
'@nhcarrigan/eslint-config':
|
||||||
specifier: 5.2.0
|
specifier: 5.2.0
|
||||||
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
'@nhcarrigan/typescript-config':
|
'@nhcarrigan/typescript-config':
|
||||||
specifier: 4.0.0
|
specifier: 4.0.0
|
||||||
version: 4.0.0(typescript@5.8.2)
|
version: 4.0.0(typescript@5.8.2)
|
||||||
|
'@types/node':
|
||||||
|
specifier: 25.3.5
|
||||||
|
version: 25.3.5
|
||||||
'@vitest/coverage-v8':
|
'@vitest/coverage-v8':
|
||||||
specifier: 3.0.8
|
specifier: 3.0.8
|
||||||
version: 3.0.8(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
version: 3.0.8(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
eslint:
|
eslint:
|
||||||
specifier: 9.22.0
|
specifier: 9.22.0
|
||||||
version: 9.22.0
|
version: 9.22.0
|
||||||
@@ -53,7 +56,7 @@ importers:
|
|||||||
version: 5.8.2
|
version: 5.8.2
|
||||||
vitest:
|
vitest:
|
||||||
specifier: 3.0.8
|
specifier: 3.0.8
|
||||||
version: 3.0.8(jsdom@26.0.0)(tsx@4.19.3)
|
version: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
|
||||||
|
|
||||||
apps/web:
|
apps/web:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -69,7 +72,7 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
'@nhcarrigan/eslint-config':
|
'@nhcarrigan/eslint-config':
|
||||||
specifier: 5.2.0
|
specifier: 5.2.0
|
||||||
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
'@nhcarrigan/typescript-config':
|
'@nhcarrigan/typescript-config':
|
||||||
specifier: 4.0.0
|
specifier: 4.0.0
|
||||||
version: 4.0.0(typescript@5.8.2)
|
version: 4.0.0(typescript@5.8.2)
|
||||||
@@ -81,10 +84,10 @@ importers:
|
|||||||
version: 19.0.4(@types/react@19.0.10)
|
version: 19.0.4(@types/react@19.0.10)
|
||||||
'@vitejs/plugin-react':
|
'@vitejs/plugin-react':
|
||||||
specifier: 4.3.4
|
specifier: 4.3.4
|
||||||
version: 4.3.4(vite@6.2.1(tsx@4.19.3))
|
version: 4.3.4(vite@6.2.1(@types/node@25.3.5)(tsx@4.19.3))
|
||||||
'@vitest/coverage-v8':
|
'@vitest/coverage-v8':
|
||||||
specifier: 3.0.8
|
specifier: 3.0.8
|
||||||
version: 3.0.8(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
version: 3.0.8(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
eslint:
|
eslint:
|
||||||
specifier: 9.22.0
|
specifier: 9.22.0
|
||||||
version: 9.22.0
|
version: 9.22.0
|
||||||
@@ -96,16 +99,16 @@ importers:
|
|||||||
version: 5.8.2
|
version: 5.8.2
|
||||||
vite:
|
vite:
|
||||||
specifier: 6.2.1
|
specifier: 6.2.1
|
||||||
version: 6.2.1(tsx@4.19.3)
|
version: 6.2.1(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
vitest:
|
vitest:
|
||||||
specifier: 3.0.8
|
specifier: 3.0.8
|
||||||
version: 3.0.8(jsdom@26.0.0)(tsx@4.19.3)
|
version: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
|
||||||
|
|
||||||
packages/types:
|
packages/types:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@nhcarrigan/eslint-config':
|
'@nhcarrigan/eslint-config':
|
||||||
specifier: 5.2.0
|
specifier: 5.2.0
|
||||||
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
version: 5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
'@nhcarrigan/typescript-config':
|
'@nhcarrigan/typescript-config':
|
||||||
specifier: 4.0.0
|
specifier: 4.0.0
|
||||||
version: 4.0.0(typescript@5.8.2)
|
version: 4.0.0(typescript@5.8.2)
|
||||||
@@ -888,6 +891,9 @@ packages:
|
|||||||
'@types/json5@0.0.29':
|
'@types/json5@0.0.29':
|
||||||
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
||||||
|
|
||||||
|
'@types/node@25.3.5':
|
||||||
|
resolution: {integrity: sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA==}
|
||||||
|
|
||||||
'@types/normalize-package-data@2.4.4':
|
'@types/normalize-package-data@2.4.4':
|
||||||
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
|
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
|
||||||
|
|
||||||
@@ -2601,6 +2607,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
|
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
|
undici-types@7.18.2:
|
||||||
|
resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==}
|
||||||
|
|
||||||
update-browserslist-db@1.2.3:
|
update-browserslist-db@1.2.3:
|
||||||
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
|
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -3201,7 +3210,7 @@ snapshots:
|
|||||||
'@jridgewell/resolve-uri': 3.1.2
|
'@jridgewell/resolve-uri': 3.1.2
|
||||||
'@jridgewell/sourcemap-codec': 1.5.5
|
'@jridgewell/sourcemap-codec': 1.5.5
|
||||||
|
|
||||||
'@nhcarrigan/eslint-config@5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))':
|
'@nhcarrigan/eslint-config@5.2.0(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(playwright@1.58.2)(react@19.0.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.22.0)
|
'@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.22.0)
|
||||||
'@eslint/compat': 1.2.4(eslint@9.22.0)
|
'@eslint/compat': 1.2.4(eslint@9.22.0)
|
||||||
@@ -3210,7 +3219,7 @@ snapshots:
|
|||||||
'@stylistic/eslint-plugin': 2.12.1(eslint@9.22.0)(typescript@5.8.2)
|
'@stylistic/eslint-plugin': 2.12.1(eslint@9.22.0)(typescript@5.8.2)
|
||||||
'@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)
|
'@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)
|
||||||
'@typescript-eslint/parser': 8.19.0(eslint@9.22.0)(typescript@5.8.2)
|
'@typescript-eslint/parser': 8.19.0(eslint@9.22.0)(typescript@5.8.2)
|
||||||
'@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))
|
'@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))
|
||||||
eslint: 9.22.0
|
eslint: 9.22.0
|
||||||
eslint-plugin-deprecation: 3.0.0(eslint@9.22.0)(typescript@5.8.2)
|
eslint-plugin-deprecation: 3.0.0(eslint@9.22.0)(typescript@5.8.2)
|
||||||
eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)
|
eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)
|
||||||
@@ -3223,7 +3232,7 @@ snapshots:
|
|||||||
playwright: 1.58.2
|
playwright: 1.58.2
|
||||||
react: 19.0.0
|
react: 19.0.0
|
||||||
typescript: 5.8.2
|
typescript: 5.8.2
|
||||||
vitest: 3.0.8(jsdom@26.0.0)(tsx@4.19.3)
|
vitest: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@typescript-eslint/utils'
|
- '@typescript-eslint/utils'
|
||||||
- eslint-import-resolver-typescript
|
- eslint-import-resolver-typescript
|
||||||
@@ -3400,6 +3409,10 @@ snapshots:
|
|||||||
|
|
||||||
'@types/json5@0.0.29': {}
|
'@types/json5@0.0.29': {}
|
||||||
|
|
||||||
|
'@types/node@25.3.5':
|
||||||
|
dependencies:
|
||||||
|
undici-types: 7.18.2
|
||||||
|
|
||||||
'@types/normalize-package-data@2.4.4': {}
|
'@types/normalize-package-data@2.4.4': {}
|
||||||
|
|
||||||
'@types/react-dom@19.0.4(@types/react@19.0.10)':
|
'@types/react-dom@19.0.4(@types/react@19.0.10)':
|
||||||
@@ -3576,18 +3589,18 @@ snapshots:
|
|||||||
'@typescript-eslint/types': 8.56.1
|
'@typescript-eslint/types': 8.56.1
|
||||||
eslint-visitor-keys: 5.0.1
|
eslint-visitor-keys: 5.0.1
|
||||||
|
|
||||||
'@vitejs/plugin-react@4.3.4(vite@6.2.1(tsx@4.19.3))':
|
'@vitejs/plugin-react@4.3.4(vite@6.2.1(@types/node@25.3.5)(tsx@4.19.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.29.0
|
'@babel/core': 7.29.0
|
||||||
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0)
|
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0)
|
||||||
'@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.29.0)
|
'@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.29.0)
|
||||||
'@types/babel__core': 7.20.5
|
'@types/babel__core': 7.20.5
|
||||||
react-refresh: 0.14.2
|
react-refresh: 0.14.2
|
||||||
vite: 6.2.1(tsx@4.19.3)
|
vite: 6.2.1(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@vitest/coverage-v8@3.0.8(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))':
|
'@vitest/coverage-v8@3.0.8(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ampproject/remapping': 2.3.0
|
'@ampproject/remapping': 2.3.0
|
||||||
'@bcoe/v8-coverage': 1.0.2
|
'@bcoe/v8-coverage': 1.0.2
|
||||||
@@ -3601,17 +3614,17 @@ snapshots:
|
|||||||
std-env: 3.10.0
|
std-env: 3.10.0
|
||||||
test-exclude: 7.0.2
|
test-exclude: 7.0.2
|
||||||
tinyrainbow: 2.0.0
|
tinyrainbow: 2.0.0
|
||||||
vitest: 3.0.8(jsdom@26.0.0)(tsx@4.19.3)
|
vitest: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)(vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3))':
|
'@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.56.1(eslint@9.22.0)(typescript@5.8.2))(eslint@9.22.0)(typescript@5.8.2)(vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/utils': 8.56.1(eslint@9.22.0)(typescript@5.8.2)
|
'@typescript-eslint/utils': 8.56.1(eslint@9.22.0)(typescript@5.8.2)
|
||||||
eslint: 9.22.0
|
eslint: 9.22.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
typescript: 5.8.2
|
typescript: 5.8.2
|
||||||
vitest: 3.0.8(jsdom@26.0.0)(tsx@4.19.3)
|
vitest: 3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3)
|
||||||
|
|
||||||
'@vitest/expect@3.0.8':
|
'@vitest/expect@3.0.8':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3620,13 +3633,13 @@ snapshots:
|
|||||||
chai: 5.3.3
|
chai: 5.3.3
|
||||||
tinyrainbow: 2.0.0
|
tinyrainbow: 2.0.0
|
||||||
|
|
||||||
'@vitest/mocker@3.0.8(vite@6.2.1(tsx@4.19.3))':
|
'@vitest/mocker@3.0.8(vite@6.2.1(@types/node@25.3.5)(tsx@4.19.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/spy': 3.0.8
|
'@vitest/spy': 3.0.8
|
||||||
estree-walker: 3.0.3
|
estree-walker: 3.0.3
|
||||||
magic-string: 0.30.21
|
magic-string: 0.30.21
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vite: 6.2.1(tsx@4.19.3)
|
vite: 6.2.1(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
|
|
||||||
'@vitest/pretty-format@3.0.8':
|
'@vitest/pretty-format@3.0.8':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -5490,6 +5503,8 @@ snapshots:
|
|||||||
has-symbols: 1.1.0
|
has-symbols: 1.1.0
|
||||||
which-boxed-primitive: 1.1.1
|
which-boxed-primitive: 1.1.1
|
||||||
|
|
||||||
|
undici-types@7.18.2: {}
|
||||||
|
|
||||||
update-browserslist-db@1.2.3(browserslist@4.28.1):
|
update-browserslist-db@1.2.3(browserslist@4.28.1):
|
||||||
dependencies:
|
dependencies:
|
||||||
browserslist: 4.28.1
|
browserslist: 4.28.1
|
||||||
@@ -5505,13 +5520,13 @@ snapshots:
|
|||||||
spdx-correct: 3.2.0
|
spdx-correct: 3.2.0
|
||||||
spdx-expression-parse: 3.0.1
|
spdx-expression-parse: 3.0.1
|
||||||
|
|
||||||
vite-node@3.0.8(tsx@4.19.3):
|
vite-node@3.0.8(@types/node@25.3.5)(tsx@4.19.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
cac: 6.7.14
|
cac: 6.7.14
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
es-module-lexer: 1.7.0
|
es-module-lexer: 1.7.0
|
||||||
pathe: 2.0.3
|
pathe: 2.0.3
|
||||||
vite: 6.2.1(tsx@4.19.3)
|
vite: 6.2.1(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
- jiti
|
- jiti
|
||||||
@@ -5526,19 +5541,20 @@ snapshots:
|
|||||||
- tsx
|
- tsx
|
||||||
- yaml
|
- yaml
|
||||||
|
|
||||||
vite@6.2.1(tsx@4.19.3):
|
vite@6.2.1(@types/node@25.3.5)(tsx@4.19.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: 0.25.12
|
esbuild: 0.25.12
|
||||||
postcss: 8.5.8
|
postcss: 8.5.8
|
||||||
rollup: 4.59.0
|
rollup: 4.59.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
'@types/node': 25.3.5
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
tsx: 4.19.3
|
tsx: 4.19.3
|
||||||
|
|
||||||
vitest@3.0.8(jsdom@26.0.0)(tsx@4.19.3):
|
vitest@3.0.8(@types/node@25.3.5)(jsdom@26.0.0)(tsx@4.19.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/expect': 3.0.8
|
'@vitest/expect': 3.0.8
|
||||||
'@vitest/mocker': 3.0.8(vite@6.2.1(tsx@4.19.3))
|
'@vitest/mocker': 3.0.8(vite@6.2.1(@types/node@25.3.5)(tsx@4.19.3))
|
||||||
'@vitest/pretty-format': 3.2.4
|
'@vitest/pretty-format': 3.2.4
|
||||||
'@vitest/runner': 3.0.8
|
'@vitest/runner': 3.0.8
|
||||||
'@vitest/snapshot': 3.0.8
|
'@vitest/snapshot': 3.0.8
|
||||||
@@ -5554,10 +5570,11 @@ snapshots:
|
|||||||
tinyexec: 0.3.2
|
tinyexec: 0.3.2
|
||||||
tinypool: 1.1.1
|
tinypool: 1.1.1
|
||||||
tinyrainbow: 2.0.0
|
tinyrainbow: 2.0.0
|
||||||
vite: 6.2.1(tsx@4.19.3)
|
vite: 6.2.1(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
vite-node: 3.0.8(tsx@4.19.3)
|
vite-node: 3.0.8(@types/node@25.3.5)(tsx@4.19.3)
|
||||||
why-is-node-running: 2.3.0
|
why-is-node-running: 2.3.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
'@types/node': 25.3.5
|
||||||
jsdom: 26.0.0
|
jsdom: 26.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- jiti
|
- jiti
|
||||||
|
|||||||
Reference in New Issue
Block a user