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
88
pwa/node_modules/@apideck/better-ajv-errors/package.json
generated
vendored
Normal file
88
pwa/node_modules/@apideck/better-ajv-errors/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"name": "@apideck/better-ajv-errors",
|
||||
"description": "Human-friendly JSON Schema validation for APIs",
|
||||
"version": "0.3.6",
|
||||
"author": "Apideck <support@apideck.com> (https://apideck.com/)",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/apideck-libraries/better-ajv-errors"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/apideck-libraries/better-ajv-errors/issues"
|
||||
},
|
||||
"contributors": [
|
||||
"Elias Meire <elias@apideck.com>"
|
||||
],
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/better-ajv-errors.esm.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
"src"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "tsdx watch",
|
||||
"build": "tsdx build",
|
||||
"test": "tsdx test",
|
||||
"lint": "tsdx lint",
|
||||
"prepare": "tsdx build",
|
||||
"size": "size-limit",
|
||||
"release": "np --no-publish && npm publish --access public --registry https://registry.npmjs.org",
|
||||
"analyze": "size-limit --why"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "tsdx lint"
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"printWidth": 120,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5"
|
||||
},
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "dist/better-ajv-errors.cjs.production.min.js",
|
||||
"limit": "2 KB"
|
||||
},
|
||||
{
|
||||
"path": "dist/better-ajv-errors.esm.js",
|
||||
"limit": "2.5 KB"
|
||||
}
|
||||
],
|
||||
"devDependencies": {
|
||||
"@size-limit/preset-small-lib": "^7.0.8",
|
||||
"ajv": "^8.11.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^8.0.1",
|
||||
"np": "^7.6.1",
|
||||
"size-limit": "^7.0.8",
|
||||
"tsdx": "^0.14.1",
|
||||
"tslib": "^2.4.0",
|
||||
"typescript": "^4.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"ajv": ">=8"
|
||||
},
|
||||
"dependencies": {
|
||||
"json-schema": "^0.4.0",
|
||||
"jsonpointer": "^5.0.0",
|
||||
"leven": "^3.1.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"prettier": "^2.3.0"
|
||||
},
|
||||
"keywords": [
|
||||
"apideck",
|
||||
"ajv",
|
||||
"json",
|
||||
"schema",
|
||||
"json-schema",
|
||||
"errors",
|
||||
"human"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue