create-walpole-ar 2.1.2 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/template/sw,js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-walpole-ar",
3
- "version": "2.1.2",
3
+ "version": "2.2.2",
4
4
  "description": "CLI para crear PWAs listas para producción",
5
5
  "bin": {
6
6
  "create-walpole-ar": "./index.js"
package/template/sw,js CHANGED
@@ -1,11 +1,13 @@
1
- const CACHE_NAME = "walpole-ar-v4";
1
+ const CACHE_NAME = "walpole-ar-v5";
2
2
 
3
3
  const FILES_TO_CACHE = [
4
4
  "/",
5
5
  "/index.html",
6
6
  "/offline.html",
7
7
  "/manifest.json",
8
- "/icon-192.png"
8
+ "/icon-192.png",
9
+ "/style.css",
10
+ "/script.js"
9
11
  ];
10
12
 
11
13
  self.addEventListener("install", event => {