From 30f9befdfd692f40336a887e272ac6eb7863d5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20=C4=90=E1=BB=A9c=20Anh?= <75556609+DuCanhGH@users.noreply.github.com> Date: Sat, 16 Sep 2023 17:04:19 +0700 Subject: [PATCH] Publish packages (#85) Co-authored-by: github-actions[bot] --- .changeset/six-bananas-attack.md | 9 --------- .changeset/tall-rocks-know.md | 7 ------- packages/next-pwa/CHANGELOG.md | 14 ++++++++++++++ packages/next-pwa/package.json | 2 +- 4 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 .changeset/six-bananas-attack.md delete mode 100644 .changeset/tall-rocks-know.md diff --git a/.changeset/six-bananas-attack.md b/.changeset/six-bananas-attack.md deleted file mode 100644 index 4f91d4c0..00000000 --- a/.changeset/six-bananas-attack.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@ducanh2912/next-pwa": minor ---- - -feat: added `PluginOptions.browserslist` - -- This defaults to `"chrome >= 56"`, same with Workbox's default. -- Note that `.browserslistrc`, `package.json.browserslist`, etc. are not supported (yet), and the only way to pass the config to `next-pwa` is `PluginOptions.browserslist`, but you can read the file yourself, parse it, then pass it to `next-pwa`. -- This allows you to configure which browsers you want to target your workers for. This tells `next-pwa` to add `PluginOptions.workboxOptions.babelPresetEnvTargets` if that option is not defined, which means that the service worker will, too, be bundled to target these browsers, but you can change that by adding the option. diff --git a/.changeset/tall-rocks-know.md b/.changeset/tall-rocks-know.md deleted file mode 100644 index eb7f4f0a..00000000 --- a/.changeset/tall-rocks-know.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@ducanh2912/next-pwa": minor ---- - -feat: support Next's new logging style - -- So Next changed its logging style again, and I'm wondering if trying to match its logging style is even a good idea. diff --git a/packages/next-pwa/CHANGELOG.md b/packages/next-pwa/CHANGELOG.md index 023b236f..9df3c062 100644 --- a/packages/next-pwa/CHANGELOG.md +++ b/packages/next-pwa/CHANGELOG.md @@ -1,5 +1,19 @@ # @ducanh2912/next-pwa +## 9.6.0 + +### Minor Changes + +- [#84](https://github.com/DuCanhGH/next-pwa/pull/84) [`12a6542`](https://github.com/DuCanhGH/next-pwa/commit/12a6542c07d09ccaf2ececaed6e548a534c7ddc9) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - feat: added `PluginOptions.browserslist` + + - This defaults to `"chrome >= 56"`, same with Workbox's default. + - Note that `.browserslistrc`, `package.json.browserslist`, etc. are not supported (yet), and the only way to pass the config to `next-pwa` is `PluginOptions.browserslist`, but you can read the file yourself, parse it, then pass it to `next-pwa`. + - This allows you to configure which browsers you want to target your workers for. This tells `next-pwa` to add `PluginOptions.workboxOptions.babelPresetEnvTargets` if that option is not defined, which means that the service worker will, too, be bundled to target these browsers, but you can change that by adding the option. + +- [#84](https://github.com/DuCanhGH/next-pwa/pull/84) [`12a6542`](https://github.com/DuCanhGH/next-pwa/commit/12a6542c07d09ccaf2ececaed6e548a534c7ddc9) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - feat: support Next's new logging style + + - So Next changed its logging style again, and I'm wondering if trying to match its logging style is even a good idea. + ## 9.5.0 ### Minor Changes diff --git a/packages/next-pwa/package.json b/packages/next-pwa/package.json index 76e32c48..d7e93f0e 100644 --- a/packages/next-pwa/package.json +++ b/packages/next-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@ducanh2912/next-pwa", - "version": "9.5.0", + "version": "9.6.0", "type": "module", "description": "PWA for Next.js, powered by Workbox.", "repository": "https://github.com/DuCanhGH/next-pwa",