Files
markets/tsconfig.json
zeekay 0b20249cd2 rewrite: Next.js → Vite 8 SPA + hanzoai/spa
All 5 Next.js API routes were public-API proxies or stubs — deleted and
replaced with direct browser fetches to CoinGecko (no key needed) and
the existing in-repo mock DEX data. No server logic required.

- Vite 8 + React 19 + wouter routing; pure CSS per lux.cloud palette
- lightweight-charts retained for token charts
- tsconfig include/exclude scoped so Foundry Solidity in src/ stays untouched
- Dockerfile now: node build → copy dist/ into ghcr.io/hanzoai/spa
- Drops Next.js, Tailwind, postcss, middleware, Next's per-route file API

Routes: /, /tokens, /tokens/:id, /pairs, /embed/:widget
Embeds still work via public/embed.js (iframe → /embed/<widget>)
2026-04-19 00:07:47 -07:00

20 lines
605 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"jsx": "react-jsx",
"strict": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["vite/client"]
},
"include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts"],
"exclude": ["node_modules", "src/**/*.sol", "src/mocks", "src/interfaces", "src/libraries", "lib", "test", "audits", "certora"]
}