refactor: harden deps, fix geo math, and add engineering tooling

Replace xlsx with exceljs, unify CRS/DMS logic, move pages to views with shared map/toast composables, and add Vitest/ESLint/Prettier plus docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-12 09:26:15 +08:00
co-authored by Cursor
parent be48495dcf
commit 88e201e50b
29 changed files with 3270 additions and 2756 deletions
+19 -5
View File
@@ -6,20 +6,34 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{js,vue,css,md}\""
},
"dependencies": {
"@turf/turf": "^7.3.3",
"@turf/area": "^7.4.0",
"@turf/helpers": "^7.4.0",
"@turf/length": "^7.4.0",
"exceljs": "^4.4.0",
"gcoord": "^1.0.7",
"leaflet": "^1.9.4",
"lucide-vue-next": "^0.563.0",
"proj4": "^2.20.4",
"vue": "^3.5.24",
"vue-router": "^4.6.4",
"xlsx": "^0.18.5"
"vue-router": "^4.6.4"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@vitejs/plugin-vue": "^6.0.1",
"vite": "^7.2.4"
"eslint": "^10.8.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.10.0",
"globals": "^17.9.0",
"prettier": "^3.9.6",
"vite": "^7.2.4",
"vitest": "^4.1.10"
}
}