Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Replace vendored PWA plugin with override

Anibal Svarcas9f26143ac1e4
diff --git a/package-lock.json b/package-lock.json
index b063e560..0eb249ed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -110,7 +110,7 @@
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^8.0.2",
- "vite-plugin-pwa": "file:vendor/vite-plugin-pwa-1.2.0.tgz",
+ "vite-plugin-pwa": "^1.2.0",
"vite-plugin-simple-html": "^1.1.0",
"vitest": "^4.1.1",
"vitest-browser-react": "^2.0.5",
@@ -16645,8 +16645,8 @@
},
"node_modules/vite-plugin-pwa": {
"version": "1.2.0",
- "resolved": "file:vendor/vite-plugin-pwa-1.2.0.tgz",
- "integrity": "sha512-LUC9KCZc6GQLrp97Fwf28+xU6oEGfwPLDlGNMp7rbFLGKeq6LPP+FuZbXhGivrDz6YsocDIrIaE76UoJy8fSAQ==",
+ "resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-1.2.0.tgz",
+ "integrity": "sha512-a2xld+SJshT9Lgcv8Ji4+srFJL4k/1bVbd1x06JIkvecpQkwkvCncD1+gSzcdm3s+owWLpMJerG3aN5jupJEVw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -16664,7 +16664,7 @@
},
"peerDependencies": {
"@vite-pwa/assets-generator": "^1.0.0",
- "vite": "^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
+ "vite": "^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0",
"workbox-build": "^7.4.0",
"workbox-window": "^7.4.0"
},
diff --git a/package.json b/package.json
index 71b1ee51..6689ddf6 100644
--- a/package.json
+++ b/package.json
@@ -128,7 +128,7 @@
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^8.0.2",
- "vite-plugin-pwa": "file:vendor/vite-plugin-pwa-1.2.0.tgz",
+ "vite-plugin-pwa": "^1.2.0",
"vite-plugin-simple-html": "^1.1.0",
"vitest": "^4.1.1",
"vitest-browser-react": "^2.0.5",
@@ -136,6 +136,9 @@
"workbox-window": "^7.4.0"
},
"overrides": {
- "@joshwooding/vite-plugin-react-docgen-typescript": "^0.7.0"
+ "@joshwooding/vite-plugin-react-docgen-typescript": "^0.7.0",
+ "vite-plugin-pwa": {
+ "vite": "$vite"
+ }
}
}
diff --git a/vendor/vite-plugin-pwa-1.2.0.tgz b/vendor/vite-plugin-pwa-1.2.0.tgz
deleted file mode 100644
index c4fd6562..00000000
Binary files a/vendor/vite-plugin-pwa-1.2.0.tgz and /dev/null differ