From 36ef03a406922fabe501555831baead7392e4aac Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 1 Nov 2023 21:57:14 +0100 Subject: [PATCH 1/2] use 0.1.4 @vite-pwa/astro --- pnpm-lock.yaml | 27 ++++++++++++--------------- website/package.json | 2 +- website/vite-pwa-astro-0.1.3.tgz | Bin 4695 -> 0 bytes 3 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 website/vite-pwa-astro-0.1.3.tgz diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 591b2b02f..a15245662 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -678,8 +678,8 @@ importers: version: 3.3.2 devDependencies: '@vite-pwa/astro': - specifier: file:vite-pwa-astro-0.1.3.tgz - version: file:website/vite-pwa-astro-0.1.3.tgz(astro@2.3.2)(vite-plugin-pwa@0.16.5) + specifier: ^0.1.4 + version: 0.1.4(astro@2.3.2)(vite-plugin-pwa@0.16.5) html-escaper: specifier: ^3.0.3 version: 3.0.3 @@ -4790,6 +4790,16 @@ packages: - '@codemirror/search' dev: false + /@vite-pwa/astro@0.1.4(astro@2.3.2)(vite-plugin-pwa@0.16.5): + resolution: {integrity: sha512-OmpaMmF9ogxI/YeUFNS0VDhaoPWvoVdRg0iEiQVz4oIQ+AdEjKNx7h0Xbz9p10/tA8EPX+/ugBMUT0xERMAuyQ==} + peerDependencies: + astro: ^1.6.0 || ^2.0.0 || ^3.0.0 + vite-plugin-pwa: '>=0.16.5 <1' + dependencies: + astro: 2.3.2(@types/node@18.16.3) + vite-plugin-pwa: 0.16.5(vite@4.4.5)(workbox-build@7.0.0)(workbox-window@7.0.0) + dev: true + /@vitejs/plugin-react@4.0.0(vite@4.3.3): resolution: {integrity: sha512-HX0XzMjL3hhOYm+0s95pb0Z7F8O81G7joUHgfDd/9J/ZZf5k4xX6QAMFkKsHFxaHlf6X7GD7+XuaZ66ULiJuhQ==} engines: {node: ^14.18.0 || >=16.0.0} @@ -14172,16 +14182,3 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - - file:website/vite-pwa-astro-0.1.3.tgz(astro@2.3.2)(vite-plugin-pwa@0.16.5): - resolution: {integrity: sha512-CI7RC86z6WzQ1pskqHLYPaMhphU8B6QphrkQ9hHplhA7D4zpeTW7pKStn5dysHfM8uXliIX4TykyNquxop8AQA==, tarball: file:website/vite-pwa-astro-0.1.3.tgz} - id: file:website/vite-pwa-astro-0.1.3.tgz - name: '@vite-pwa/astro' - version: 0.1.3 - peerDependencies: - astro: ^1.6.0 || ^2.0.0 || ^3.0.0 - vite-plugin-pwa: '>=0.16.5 <1' - dependencies: - astro: 2.3.2(@types/node@18.16.3) - vite-plugin-pwa: 0.16.5(vite@4.4.5)(workbox-build@7.0.0)(workbox-window@7.0.0) - dev: true diff --git a/website/package.json b/website/package.json index ec3068b49..f766c420c 100644 --- a/website/package.json +++ b/website/package.json @@ -60,7 +60,7 @@ "tailwindcss": "^3.3.2" }, "devDependencies": { - "@vite-pwa/astro": "file:vite-pwa-astro-0.1.3.tgz", + "@vite-pwa/astro": "^0.1.4", "html-escaper": "^3.0.3", "vite-plugin-pwa": "^0.16.5", "workbox-window": "^7.0.0" diff --git a/website/vite-pwa-astro-0.1.3.tgz b/website/vite-pwa-astro-0.1.3.tgz deleted file mode 100644 index ddcb26bef60e8e00f30382a91d7fcaf795471393..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4695 zcmV-d5~%GTiwFP!000006YV_NavMo2bl z6d+KQl~-kDW?c%c!G$$q)r0nK>!{oMgU?ZFwc5t|I?!J%vwv%idVK?GYxg#4_+_KE z4)nKi58FQrH!~&Su@xaJzbl?u;r@@5!*&l2oB{JWGmPCJyo#LBIELb&1dUpwQ90?f zx~-!gH2ruS_*bx>z@u>-hkUbI9Xath>6?SVt6F|MOtuZ#*uw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_14De?0EDy@XW#z< zPPyQ;iJ<2*u;)2*!O4Cux0Te19A+ZtLip@K?WPbV=0>#&v(Sdza-j=4Y>2Z$-$j&q zU6JD{!B;e_Fafc(CtzlCGlS^p(U$bYLRO(M>n_hjT2F=;lu0~OipeUb(fbp(!Q@Oe2 z6O_-2ToAx9J8x3pJ{8v{X-LnfYCV&g>SFht-y^1Mph}ycRi@0aO6HHz0l$~#2JDPR z432#YhADb9$-zY*bEoeF37i=hItBhXazd<3rjZryQ-~#ReS9&oG`V*=g8UM5Wy&;_ zS2K3UY;Xbex-9=N3;DQ^iH8?N^|W`X%y8 z=2uR;Ra!+=v2RtUb|ryK=7iNu`d7zeryVo*lM(FN>yr zLR!)-aF;}G}c$jLiL2&*@P3! zcpb}ql;>i*v^huRVaDY1=sw!^mnEJ5pK0og@}c=(o4@~iuTfjh|1VM0Tv}CASH6&0 ZSx%m1S(as4mjCbNzX6M7IGO-l003pI3>g3b From 41a9098c80f284b5cfab3326771f1fa900a15726 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 1 Nov 2023 21:59:53 +0100 Subject: [PATCH 2/2] use new flag --- website/astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 83de5f265..f8fceaf76 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -50,6 +50,7 @@ export default defineConfig({ mdx(options), tailwind(), AstroPWA({ + experimental: { directoryAndTrailingSlashHandler: true }, registerType: 'autoUpdate', injectRegister: 'auto', workbox: {