Skip to content

Commit

Permalink
Publish packages (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
DuCanhGH and github-actions[bot] authored Jun 20, 2023
1 parent 7bd3ba7 commit 41d8df7
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 29 deletions.
14 changes: 0 additions & 14 deletions .changeset/hungry-yaks-lay.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/serious-dodos-complain.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/spotty-readers-attend.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/next-pwa/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @ducanh2912/next-pwa

## 9.0.0

### Major Changes

- [#38](https://github.com/DuCanhGH/next-pwa/pull/38) [`7bd3ba7`](https://github.com/DuCanhGH/next-pwa/commit/7bd3ba7023f5088a1e8bd7a8779cb99cd2bf369d) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - BREAKING CHANGE(next-pwa, next-sw): use next's swc bindings instead of swc/core

What: From now on we will try to resolve `next/dist/build/swc` in `swc-loader` (needed to use `cacheOnFrontEndNav`, custom workers and offline fallbacks). If it can't be resolved, we will fallback to `@swc/core` (needed to be installed manually).

Why: This is to save disk space (we don't need two `@swc/core`) and avoid exceeding Vercel's serverless size limit.

Why use Next's `next/dist/build/swc`: it seems that `@next/mdx` is also doing the same for their `mdx` Rust compiler.

How to upgrade: Usually you don't need to do anything. But if you see this line when you build your Next app: `Using @swc/core to compile next-pwa's features. Please install it if you haven't.`, please do as instructed.

- [#38](https://github.com/DuCanhGH/next-pwa/pull/38) [`7bd3ba7`](https://github.com/DuCanhGH/next-pwa/commit/7bd3ba7023f5088a1e8bd7a8779cb99cd2bf369d) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - BREAKING CHANGE(requirements): bump minimum Next.js version to v11

What: `next-pwa`'s minimum supported Next.js version is now 11.0.0.

Why: I noticed that `workbox-webpack-plugin` no longer works with Next.js 9 and 10, so this bumps the minimum supported Next.js version to v11.

How to upgrade: Bump `next` to at least 11.0.0.

## 8.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-pwa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ducanh2912/next-pwa",
"version": "8.7.1",
"version": "9.0.0",
"type": "module",
"description": "PWA for Next.js, powered by Workbox.",
"repository": "https://github.com/DuCanhGH/next-pwa",
Expand Down
14 changes: 14 additions & 0 deletions packages/next-sw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @ducanh2912/next-sw

## 1.1.0

### Minor Changes

- [#38](https://github.com/DuCanhGH/next-pwa/pull/38) [`7bd3ba7`](https://github.com/DuCanhGH/next-pwa/commit/7bd3ba7023f5088a1e8bd7a8779cb99cd2bf369d) Thanks [@DuCanhGH](https://github.com/DuCanhGH)! - BREAKING CHANGE(next-pwa, next-sw): use next's swc bindings instead of swc/core

What: From now on we will try to resolve `next/dist/build/swc` in `swc-loader` (needed to use `cacheOnFrontEndNav`, custom workers and offline fallbacks). If it can't be resolved, we will fallback to `@swc/core` (needed to be installed manually).

Why: This is to save disk space (we don't need two `@swc/core`) and avoid exceeding Vercel's serverless size limit.

Why use Next's `next/dist/build/swc`: it seems that `@next/mdx` is also doing the same for their `mdx` Rust compiler.

How to upgrade: Usually you don't need to do anything. But if you see this line when you build your Next app: `Using @swc/core to compile next-pwa's features. Please install it if you haven't.`, please do as instructed.

## 1.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-sw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ducanh2912/next-sw",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"description": "PWA for Next.js, powered by pure ServiceWorker.",
"repository": "https://github.com/DuCanhGH/next-pwa",
Expand Down

0 comments on commit 41d8df7

Please sign in to comment.