From 874d2a9ed84a5c1e789f1f5a8890ea44a365d9a6 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sat, 23 May 2026 11:11:33 +0200 Subject: [PATCH] build: add workbox-window as explicit devDependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Required for pnpm strict-hoisting builds (used by aiolabs/server-deploy NixOS builds). Without it as a direct dep, Rollup can't resolve `workbox-window` from vite-plugin-pwa's virtual:pwa-register module — npm's flat hoisting masked this previously. --- package.json | 3 ++- pnpm-lock.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4492a17..106d1c5 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,8 @@ "vite-plugin-inspect": "^0.8.3", "vite-plugin-pwa": "^0.21.1", "vue-tsc": "^2.2.0", - "web-push": "^3.6.7" + "web-push": "^3.6.7", + "workbox-window": "^7.3.0" }, "build": { "appId": "com.yourdomain.aio-shadcn-vite", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74877bc..8891845 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -195,6 +195,9 @@ importers: web-push: specifier: ^3.6.7 version: 3.6.7 + workbox-window: + specifier: ^7.3.0 + version: 7.4.1 packages: