Add progressive web app companion for cross-platform access
Vite + TypeScript PWA that mirrors the Android app's core features: - Pre-processed shelter data (build-time UTM33N→WGS84 conversion) - Leaflet map with shelter markers, user location, and offline tiles - Canvas compass arrow (ported from DirectionArrowView.kt) - IndexedDB shelter cache with 7-day staleness check - Service worker with CacheFirst tiles and precached app shell - i18n for en, nb, nn (ported from Android strings.xml) - iOS/Android compass handling with low-pass filter - Respects user map interaction (no auto-snap on pan/zoom) - Build revision cache-breaker for reliable SW updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
46365b713b
commit
e8428de775
12051 changed files with 1799735 additions and 0 deletions
207
pwa/node_modules/vitest/package.json
generated
vendored
Normal file
207
pwa/node_modules/vitest/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,207 @@
|
|||
{
|
||||
"name": "vitest",
|
||||
"type": "module",
|
||||
"version": "2.1.9",
|
||||
"description": "Next generation testing framework powered by Vite",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
||||
"license": "MIT",
|
||||
"funding": "https://opencollective.com/vitest",
|
||||
"homepage": "https://github.com/vitest-dev/vitest#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vitest-dev/vitest.git",
|
||||
"directory": "packages/vitest"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/vitest-dev/vitest/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"vite",
|
||||
"vitest",
|
||||
"test",
|
||||
"jest"
|
||||
],
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./index.d.cts",
|
||||
"default": "./index.cjs"
|
||||
}
|
||||
},
|
||||
"./*": "./*",
|
||||
"./globals": {
|
||||
"types": "./globals.d.ts"
|
||||
},
|
||||
"./jsdom": {
|
||||
"types": "./jsdom.d.ts"
|
||||
},
|
||||
"./importMeta": {
|
||||
"types": "./importMeta.d.ts"
|
||||
},
|
||||
"./import-meta": {
|
||||
"types": "./import-meta.d.ts"
|
||||
},
|
||||
"./node": {
|
||||
"types": "./dist/node.d.ts",
|
||||
"default": "./dist/node.js"
|
||||
},
|
||||
"./execute": {
|
||||
"types": "./dist/execute.d.ts",
|
||||
"default": "./dist/execute.js"
|
||||
},
|
||||
"./workers": {
|
||||
"types": "./dist/workers.d.ts",
|
||||
"import": "./dist/workers.js"
|
||||
},
|
||||
"./browser": {
|
||||
"types": "./dist/browser.d.ts",
|
||||
"default": "./dist/browser.js"
|
||||
},
|
||||
"./runners": {
|
||||
"types": "./dist/runners.d.ts",
|
||||
"default": "./dist/runners.js"
|
||||
},
|
||||
"./suite": {
|
||||
"types": "./dist/suite.d.ts",
|
||||
"default": "./dist/suite.js"
|
||||
},
|
||||
"./environments": {
|
||||
"types": "./dist/environments.d.ts",
|
||||
"default": "./dist/environments.js"
|
||||
},
|
||||
"./utils": {
|
||||
"types": "./dist/utils.d.ts",
|
||||
"default": "./dist/utils.js"
|
||||
},
|
||||
"./config": {
|
||||
"types": "./config.d.ts",
|
||||
"require": "./dist/config.cjs",
|
||||
"default": "./dist/config.js"
|
||||
},
|
||||
"./coverage": {
|
||||
"types": "./coverage.d.ts",
|
||||
"default": "./dist/coverage.js"
|
||||
},
|
||||
"./reporters": {
|
||||
"types": "./dist/reporters.d.ts",
|
||||
"default": "./dist/reporters.js"
|
||||
},
|
||||
"./snapshot": {
|
||||
"types": "./dist/snapshot.d.ts",
|
||||
"default": "./dist/snapshot.js"
|
||||
},
|
||||
"./mocker": {
|
||||
"types": "./dist/mocker.d.ts",
|
||||
"default": "./dist/mocker.js"
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"bin": {
|
||||
"vitest": "./vitest.mjs"
|
||||
},
|
||||
"files": [
|
||||
"*.cjs",
|
||||
"*.d.cts",
|
||||
"*.d.ts",
|
||||
"*.mjs",
|
||||
"bin",
|
||||
"dist"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^18.0.0 || >=20.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@edge-runtime/vm": "*",
|
||||
"@types/node": "^18.0.0 || >=20.0.0",
|
||||
"happy-dom": "*",
|
||||
"jsdom": "*",
|
||||
"@vitest/browser": "2.1.9",
|
||||
"@vitest/ui": "2.1.9"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@edge-runtime/vm": {
|
||||
"optional": true
|
||||
},
|
||||
"@types/node": {
|
||||
"optional": true
|
||||
},
|
||||
"@vitest/browser": {
|
||||
"optional": true
|
||||
},
|
||||
"@vitest/ui": {
|
||||
"optional": true
|
||||
},
|
||||
"happy-dom": {
|
||||
"optional": true
|
||||
},
|
||||
"jsdom": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"chai": "^5.1.2",
|
||||
"debug": "^4.3.7",
|
||||
"expect-type": "^1.1.0",
|
||||
"magic-string": "^0.30.12",
|
||||
"pathe": "^1.1.2",
|
||||
"std-env": "^3.8.0",
|
||||
"tinybench": "^2.9.0",
|
||||
"tinyexec": "^0.3.1",
|
||||
"tinypool": "^1.0.1",
|
||||
"tinyrainbow": "^1.2.0",
|
||||
"vite": "^5.0.0",
|
||||
"why-is-node-running": "^2.3.0",
|
||||
"@vitest/expect": "2.1.9",
|
||||
"@vitest/mocker": "2.1.9",
|
||||
"@vitest/runner": "2.1.9",
|
||||
"@vitest/snapshot": "2.1.9",
|
||||
"@vitest/pretty-format": "^2.1.9",
|
||||
"@vitest/spy": "2.1.9",
|
||||
"vite-node": "2.1.9",
|
||||
"@vitest/utils": "2.1.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ampproject/remapping": "^2.3.0",
|
||||
"@antfu/install-pkg": "^0.4.1",
|
||||
"@edge-runtime/vm": "^4.0.4",
|
||||
"@sinonjs/fake-timers": "11.1.0",
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/estree": "^1.0.6",
|
||||
"@types/istanbul-lib-coverage": "^2.0.6",
|
||||
"@types/istanbul-reports": "^3.0.4",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/micromatch": "^4.0.9",
|
||||
"@types/node": "^22.9.0",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/sinonjs__fake-timers": "^8.1.5",
|
||||
"acorn-walk": "^8.3.4",
|
||||
"birpc": "0.2.19",
|
||||
"cac": "^6.7.14",
|
||||
"chai-subset": "^1.6.0",
|
||||
"cli-truncate": "^4.0.0",
|
||||
"fast-glob": "3.3.2",
|
||||
"find-up": "^6.3.0",
|
||||
"flatted": "^3.3.1",
|
||||
"get-tsconfig": "^4.8.1",
|
||||
"happy-dom": "^15.11.4",
|
||||
"jsdom": "^25.0.1",
|
||||
"local-pkg": "^0.5.0",
|
||||
"log-update": "^5.0.1",
|
||||
"micromatch": "^4.0.8",
|
||||
"pretty-format": "^29.7.0",
|
||||
"prompts": "^2.4.2",
|
||||
"strip-literal": "^2.1.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf dist && rollup -c",
|
||||
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue