mirror of
https://github.com/luxfi/markets.git
synced 2026-10-30 16:19:55 +00:00
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>)
20 lines
605 B
JSON
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"]
|
|
}
|