feat: project scaffold + bridge + maplibre engine

- Vite + Vue 3 + TypeScript strict
- @yuto-water/js-bridge (types, detector, browser provider)
- MapLibre engine (MapManager singleton, MapFactory, LayerFactory)
- Map composables (useMap, useLayer, usePopup)
- Tianditu tile source, 6 layer type factory
- SCSS design tokens (water-blue theme, dark mode)
- Vant 4, maplibre-gl, axios, pinia, echarts deps
- Build passes (vue-tsc + vite)
This commit is contained in:
2026-06-15 20:46:11 +08:00
commit 74cc0df2b8
33 changed files with 9720 additions and 0 deletions

25
tsconfig.json Normal file
View File

@@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"erasableSyntaxOnly": true,
"skipLibCheck": true,
"paths": {
"@/*": ["./src/*"]
},
"baseUrl": ".",
"ignoreDeprecations": "6.0",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"resolveJsonModule": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": ["node_modules", "dist"]
}