Add DECK Frontend - Vite + TypeScript migration
- Migrated vanilla JS frontend to Vite + TypeScript - Modular architecture: views, components, utils, api, state - Three-panel layout: libraries (left), content (center), detail (right) - Group name resolution via hstTags (set_hst -> readable name) - Name priority: name_es -> alias -> ref -> hash truncated - D3.js lazy loading in GraphView - Hash-based routing - Deployed to tzzrdeck.me Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
40
hst-frontend-new/tsconfig.json
Normal file
40
hst-frontend-new/tsconfig.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"types": ["vite/client"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"erasableSyntaxOnly": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true,
|
||||
|
||||
/* Path aliases */
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"@types/*": ["src/types/*"],
|
||||
"@config/*": ["src/config/*"],
|
||||
"@state/*": ["src/state/*"],
|
||||
"@api/*": ["src/api/*"],
|
||||
"@utils/*": ["src/utils/*"],
|
||||
"@components/*": ["src/components/*"],
|
||||
"@views/*": ["src/views/*"],
|
||||
"@layout/*": ["src/layout/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user