From 34ade36ec40f483630ef5a021ad57af1ca743c5e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 31 Jan 2024 16:44:56 +0000 Subject: [PATCH] chore(packages): publish packages --- .changeset/poor-pumpkins-protect.md | 7 ------- packages/next-pwa/CHANGELOG.md | 8 ++++++++ packages/next-pwa/package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 .changeset/poor-pumpkins-protect.md diff --git a/.changeset/poor-pumpkins-protect.md b/.changeset/poor-pumpkins-protect.md deleted file mode 100644 index a7483573..00000000 --- a/.changeset/poor-pumpkins-protect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@ducanh2912/next-pwa": patch ---- - -fix(core): fixed invalid precache manifest with `assetPrefix` - -- Turns out it is much more complex than we thought. To make this work with `assetPrefix`, `distDir`, and `basePath`, we now remove `${publicPath}${publicDirRelativeToOutputPath}` from public files in `manifestTransforms` because `assetPrefix` is not intended for files that are in the public directory and we also want to remove `/_next/${publicDirRelativeToOutputPath}` from the URL, since that is not how we resolve files in the public directory. \ No newline at end of file diff --git a/packages/next-pwa/CHANGELOG.md b/packages/next-pwa/CHANGELOG.md index 2c5fa90d..25990be7 100644 --- a/packages/next-pwa/CHANGELOG.md +++ b/packages/next-pwa/CHANGELOG.md @@ -1,5 +1,13 @@ # @ducanh2912/next-pwa +## 10.2.4 + +### Patch Changes + +- [`07c8861`](https://github.com/DuCanhGH/next-pwa/commit/07c886159faafc691645c30ad0917f19069d8c6a) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - fix(core): fixed invalid precache manifest with `assetPrefix` + + - Turns out it is much more complex than we thought. To make this work with `assetPrefix`, `distDir`, and `basePath`, we now remove `${publicPath}${publicDirRelativeToOutputPath}` from public files in `manifestTransforms` because `assetPrefix` is not intended for files that are in the public directory and we also want to remove `/_next/${publicDirRelativeToOutputPath}` from the URL, since that is not how we resolve files in the public directory. + ## 10.2.3 ### Patch Changes diff --git a/packages/next-pwa/package.json b/packages/next-pwa/package.json index c5ece9a5..fea6db4a 100644 --- a/packages/next-pwa/package.json +++ b/packages/next-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@ducanh2912/next-pwa", - "version": "10.2.3", + "version": "10.2.4", "type": "module", "description": "PWA for Next.js, powered by Workbox.", "repository": "https://github.com/DuCanhGH/next-pwa",