chore: remove vite-plugin-pwa dependency

- its only used for typings
- it creates problems with peerDependencies
- just let it die
This commit is contained in:
Felix Roos 2025-01-26 14:32:28 +01:00
parent b3e0f180b3
commit 0e59a233ed
No known key found for this signature in database
5 changed files with 1 additions and 9 deletions

3
pnpm-lock.yaml generated
View File

@ -763,9 +763,6 @@ importers:
sharp:
specifier: ^0.33.5
version: 0.33.5
vite-plugin-pwa:
specifier: ^0.21.1
version: 0.21.1(vite@6.0.11(@types/node@22.10.10)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.37.0)(yaml@2.7.0))(workbox-build@7.0.0(@types/babel__core@7.20.5))(workbox-window@7.3.0)
workbox-window:
specifier: ^7.3.0
version: 7.3.0

View File

@ -72,7 +72,6 @@
"@vite-pwa/astro": "^0.5.0",
"html-escaper": "^3.0.3",
"sharp": "^0.33.5",
"vite-plugin-pwa": "^0.21.1",
"workbox-window": "^7.3.0"
}
}

View File

@ -1,6 +1,4 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
/// <reference types="vite-plugin-pwa/info" />
/// <reference types="vite-plugin-pwa/client" />
declare module 'date-fns';

View File

@ -1,3 +1,4 @@
// @ts-ignore
import { registerSW } from 'virtual:pwa-register';
registerSW({

View File

@ -5,9 +5,6 @@
"skipLibCheck": true,
"jsxImportSource": "react",
"noImplicitAny": false,
"types": [
"vite-plugin-pwa/client"
],
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],