mirror of
https://github.com/zenlm/zen-nano.git
synced 2026-11-10 21:48:18 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API. The docs site runs next 16, which reads its own tsconfig setup, so it takes the pin directly: 26 diagnostics before and after. Its nested vite site is linted by typescript-eslint, which cannot read the compiler, so there 7.0.2 comes in aliased as tsgo and typescript stays on the 6 line: 0 before and after. TS7 removed baseUrl, so the one path mapping is relative now; four mappings that pointed at absolute paths on one machine were unused and are gone. A side-effect stylesheet import needs an ambient declaration in both projects. Co-authored-by: Hanzo Dev <[email protected]>
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "@luxfi/consensus-docs",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"clsx": "^2.1.0",
|
|
"framer-motion": "^11.0.0",
|
|
"lucide-react": "^0.395.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.22.0",
|
|
"tailwind-merge": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
"@typescript-eslint/parser": "^7.0.0",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
"postcss": "^8.4.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3",
|
|
"vite": "^5.0.0"
|
|
}
|
|
} |