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>
30 lines
856 B
Markdown
30 lines
856 B
Markdown
# Update Browserslist DB
|
|
|
|
<img width="120" height="120" alt="Browserslist logo by Anton Popov"
|
|
src="https://browsersl.ist/logo.svg" align="right">
|
|
|
|
CLI tool to update `caniuse-lite` with browsers DB
|
|
from [Browserslist](https://github.com/browserslist/browserslist/) config.
|
|
|
|
Some queries like `last 2 versions` or `>1%` depend on actual data
|
|
from `caniuse-lite`.
|
|
|
|
```sh
|
|
npx update-browserslist-db@latest
|
|
```
|
|
Or if using `pnpm`:
|
|
```sh
|
|
pnpm exec update-browserslist-db latest
|
|
```
|
|
Or if using `yarn`:
|
|
```sh
|
|
yarn dlx update-browserslist-db@latest
|
|
```
|
|
|
|
<a href="https://evilmartians.com/?utm_source=update-browserslist-db">
|
|
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
|
|
alt="Sponsored by Evil Martians" width="236" height="54">
|
|
</a>
|
|
|
|
## Docs
|
|
Read full docs **[here](https://github.com/browserslist/update-db#readme)**.
|