mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-26 02:47:15 +00:00
query-string 9 exports a single object, so the pagination hook reads stringify off it, the way the return-to hook already does. react-router 7 is one package. Every import names it, so the app and its tests share one router instance and one context; react-router-dom and its v5 types are gone. Vite 8 resolves tsconfig paths on its own, so vite-tsconfig-paths is gone and resolve.tsconfigPaths takes its place. faency carries @types/react 18 as a dependency. A pnpm override holds the whole tree at the React 19 types the app declares, so faency's components type as JSX components again. The rest is what React 19 and TypeScript 7 ask for: useRef takes an initial value, the error fallback narrows the unknown it is handed, sha512's output is narrowed once where it meets @noble/ed25519, and the test setup replaces fetch through vi.stubGlobal. pnpm build, pnpm tsc and pnpm test are green; eslint still waits on typescript-eslint support for TypeScript 7. Co-authored-by: Hanzo Dev <[email protected]>
36 lines
832 B
JSON
36 lines
832 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"noImplicitAny": false,
|
|
"types": ["vitest/globals"],
|
|
"paths": {
|
|
"*": [
|
|
"./src/*"
|
|
]
|
|
}
|
|
},
|
|
"include": ["src", "test/setup.ts", "types/*.d.ts"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|