Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowwalker committed Nov 17, 2020
1 parent 59dc9ed commit aa36fd7
Show file tree
Hide file tree
Showing 13 changed files with 854 additions and 761 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

## 4.0.0.beta.0

### Major

- Upgrade to workbox 6.0.0-rc.0
- Support webpack 5

### Misc

- Update examples and dependencies

## 3.1.5

### Fix
Expand Down
6 changes: 3 additions & 3 deletions examples/cache-on-front-end-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "next start"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions examples/cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
},
"dependencies": {
"js-cookie": "^2.2.1",
"next": "^9.5.3",
"next": "^10.0.1",
"next-cookies": "^2.0.3",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions examples/custom-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "next start"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions examples/lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "next start"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
10 changes: 5 additions & 5 deletions examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
},
"dependencies": {
"cross-env": "^7.0.2",
"fastify": "^3.3.0",
"fastify-compress": "^3.3.0",
"next": "^9.5.3",
"fastify": "^3.8.0",
"fastify-compress": "^3.4.0",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions examples/next-9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "next start"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
10 changes: 5 additions & 5 deletions examples/next-i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"dependencies": {
"cross-env": "^7.0.2",
"express": "^4.17.1",
"fastify-compress": "^3.3.0",
"next": "^9.5.3",
"next-i18next": "^6.0.2",
"fastify-compress": "^3.4.0",
"next": "^10.0.1",
"next-i18next": "^7.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions examples/offline-fallback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "next start"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
9 changes: 0 additions & 9 deletions examples/offline-fallback/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,6 @@ registerRoute(
}),
'GET'
)
registerRoute(
/\/api\/.*$/i,
new NetworkFirst({
cacheName: 'apis',
networkTimeoutSeconds: 10,
plugins: [new ExpirationPlugin({ maxEntries: 16, maxAgeSeconds: 86400, purgeOnQuotaError: !0 })]
}),
'POST'
)
registerRoute(
/.*/i,
new NetworkFirst({
Expand Down
6 changes: 3 additions & 3 deletions examples/web-push/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"vapid": "web-push generate-vapid-keys"
},
"dependencies": {
"next": "^9.5.3",
"next": "^10.0.1",
"next-pwa": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"web-push": "^3.4.4"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"clean-webpack-plugin": "^3.0.0",
"globby": "^11.0.1",
"workbox-webpack-plugin": "^5.1.4",
"workbox-window": "^5.1.4"
"workbox-webpack-plugin": "^6.0.0-rc.0",
"workbox-window": "^6.0.0-rc.0"
},
"devDependencies": {
"webpack": "^4.43.0"
Expand Down
Loading

0 comments on commit aa36fd7

Please sign in to comment.