@cocreate/pwa 1.6.9 → 1.6.11

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.
package/demo/index.html CHANGED
@@ -1,73 +1,77 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <title>Im the page title</title>
6
- <meta charset="utf-8" />
7
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
- <meta name="viewport" content="width=device-width; initial-scale=1; viewport-fit=cover" />
9
- <!-- import the webpage's stylesheet -->
10
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
11
- <link rel="stylesheet" href="./css/style.css" />
12
- <!-- Manifest -->
13
- <link rel="manifest" href="./manifest.webmanifest" />
14
- <!--<meta name="theme-color" content="red">-->
15
-
16
- <!--<non-transparent PNG icon sized at 180 by 180 >-->
17
- <link rel="apple-touch-icon" href="/images/icons/ios.png">
18
-
19
- <meta name="mobile-web-app-capable" content="yes">
20
- <meta name="apple-mobile-web-app-capable" content="yes">
21
- <!--<hides status bar for a full screen experience omn ios only>-->
22
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
23
-
24
- <link rel="apple-touch-startup-image" href="ios-startup.png">
25
-
26
- <link rel="apple-touch-startup-image" href="ios-startup.png" media="orientation: portrait">
27
- <link rel="apple-touch-startup-image" href="ios-startup-landscape.png" media="orientation: landscape">
28
-
29
-
30
- <link rel="manifest" href="/manifest.webmanifest">
31
- </head>
32
-
33
- <body>
34
- <nav class="navbar navbar-expand-sm bg-dark">
35
- <!-- Links -->
36
- <ul class="navbar-nav">
37
- <li class="nav-item active">
38
- <a class="nav-link" href="#">Home</a>
39
- </li>
40
- <li class="nav-item">
41
- <a class="nav-link" href="./pages/test1.html">Test1</a>
42
- </li>
43
- <li class="nav-item">
44
- <a class="nav-link" href="./pages/test2.html">Test 2</a>
45
- </li>
46
- <li class="nav-item">
47
- <a class="nav-link" href="./pages/test3.html">Test 3</a>
48
- </li>
49
- </ul>
50
- </nav>
51
- <p id="requireHTTPS" class="hidden">
52
- <b>STOP!</b> This page <b>must</b> be served over HTTPS. Please
53
- <a>reload this page via HTTPS</a>.
54
- </p>
55
-
56
- <p>
57
- To Make me installable, follow the
58
- </p>
59
-
60
- <button id="cacheBtn">Uncache</button>
61
-
62
- <!-- Install button, hidden by default -->
63
-
64
- <button actions="install" type="button" hidden>Install</button>
65
-
66
-
67
-
68
- <!-- <script src="../src/index.js" defer></script> -->
69
- <script src="../dist/CoCreate-pwa.js" defer></script>
70
-
71
- </body>
72
-
73
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Im the page title</title>
5
+ <meta charset="utf-8" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta
8
+ name="viewport"
9
+ content="width=device-width; initial-scale=1; viewport-fit=cover" />
10
+ <!-- import the webpage's stylesheet -->
11
+ <link
12
+ rel="stylesheet"
13
+ href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
14
+ <link rel="stylesheet" href="./css/style.css" />
15
+ <!-- Manifest -->
16
+ <link rel="manifest" href="./manifest.webmanifest" />
17
+ <!--<meta name="theme-color" content="red">-->
18
+
19
+ <!--<non-transparent PNG icon sized at 180 by 180 >-->
20
+ <link rel="apple-touch-icon" href="/images/icons/ios.png" />
21
+
22
+ <meta name="mobile-web-app-capable" content="yes" />
23
+ <meta name="apple-mobile-web-app-capable" content="yes" />
24
+ <!--<hides status bar for a full screen experience omn ios only>-->
25
+ <meta
26
+ name="apple-mobile-web-app-status-bar-style"
27
+ content="black-translucent" />
28
+
29
+ <link rel="apple-touch-startup-image" href="ios-startup.png" />
30
+
31
+ <link
32
+ rel="apple-touch-startup-image"
33
+ href="ios-startup.png"
34
+ media="orientation: portrait" />
35
+ <link
36
+ rel="apple-touch-startup-image"
37
+ href="ios-startup-landscape.png"
38
+ media="orientation: landscape" />
39
+
40
+ <link rel="manifest" href="/manifest.webmanifest" />
41
+ </head>
42
+
43
+ <body>
44
+ <nav class="navbar navbar-expand-sm bg-dark">
45
+ <!-- Links -->
46
+ <ul class="navbar-nav">
47
+ <li class="nav-item active">
48
+ <a class="nav-link" href="#">Home</a>
49
+ </li>
50
+ <li class="nav-item">
51
+ <a class="nav-link" href="./pages/test1.html">Test1</a>
52
+ </li>
53
+ <li class="nav-item">
54
+ <a class="nav-link" href="./pages/test2.html">Test 2</a>
55
+ </li>
56
+ <li class="nav-item">
57
+ <a class="nav-link" href="./pages/test3.html">Test 3</a>
58
+ </li>
59
+ </ul>
60
+ </nav>
61
+ <p id="requireHTTPS" class="hidden">
62
+ <b>STOP!</b> This page <b>must</b> be served over HTTPS. Please
63
+ <a>reload this page via HTTPS</a>.
64
+ </p>
65
+
66
+ <p>To Make me installable, follow the</p>
67
+
68
+ <button id="cacheBtn">Uncache</button>
69
+
70
+ <!-- Install button, hidden by default -->
71
+
72
+ <button actions="install" type="button" hidden>Install</button>
73
+
74
+ <!-- <script src="../src/index.js" defer></script> -->
75
+ <script src="../dist/CoCreate-pwa.js" defer></script>
76
+ </body>
77
+ </html>
package/demo/js/test1.js CHANGED
@@ -1 +1 @@
1
- console.log("test1");
1
+ console.log("test1");
package/demo/js/test2.js CHANGED
@@ -1 +1 @@
1
- console.log("test2");
1
+ console.log("test2");
package/demo/js/test3.js CHANGED
@@ -1 +1 @@
1
- console.log("test3");
1
+ console.log("test3");
@@ -1,92 +1,92 @@
1
- {
2
- "short_name": "CoCreate",
3
- "name": "CoCreate",
4
- "description": "Build your business in miutes",
5
- "protocol_handlers": [
6
- {
7
- "protocol": "web+jngl",
8
- "url": "/lookup?type=%s"
9
- },
10
- {
11
- "protocol": "web+jnglstore",
12
- "url": "/shop?for=%s"
13
- }
14
- ],
15
- "orientation": "portrait-primary",
16
- "icons": [
17
- {
18
- "src": "./assets/icons/icon-72x72.png",
19
- "type": "image/png",
20
- "sizes": "72x72"
21
- },
22
- {
23
- "src": "./assets/icons/icon-96x96.png",
24
- "type": "image/png",
25
- "sizes": "96x96"
26
- },
27
- {
28
- "src": "./assets/icons/icon-128x128.png",
29
- "type": "image/png",
30
- "sizes": "128x128"
31
- },
32
- {
33
- "src": "./assets/icons/icon-144x144.png",
34
- "type": "image/png",
35
- "sizes": "144x144"
36
- },
37
- {
38
- "src": "./assets/icons/icon-152x152.png",
39
- "type": "image/png",
40
- "sizes": "152x152"
41
- },
42
- {
43
- "src": "./assets/icons/icon-192x192.png",
44
- "type": "image/png",
45
- "sizes": "192x192"
46
- },
47
- {
48
- "src": "./assets/icons/icon-384x384.png",
49
- "type": "image/png",
50
- "sizes": "384x384"
51
- },
52
- {
53
- "src": "./assets/icons/icon-512x512.png",
54
- "type": "image/png",
55
- "sizes": "512x512",
56
- "purpose": "maskable"
57
- }
58
- ],
59
- "start_url": "/",
60
- "id": "/",
61
- "background_color": "whitesmoke",
62
- "display": "fullscreen",
63
- "theme_color": "#c7c7c7",
64
- "screenshots": [
65
- {
66
- "src": "./assets/screenshot-1.png",
67
- "type": "image/png",
68
- "sizes": "1903x950"
69
- }
70
- ],
71
- "categories": "productivity",
72
- "file_handlers": [
73
- {
74
- "action": "/open-file",
75
- "accept": {
76
- "text/*": [
77
- ".txt"
78
- ]
79
- }
80
- }
81
- ],
82
- "share_target": {
83
- "action": "/",
84
- "method": "GET",
85
- "enctype": "application/x-www-form-urlencoded",
86
- "params": {
87
- "title": "title",
88
- "text": "text",
89
- "url": "url"
90
- }
91
- }
1
+ {
2
+ "short_name": "CoCreate",
3
+ "name": "CoCreate",
4
+ "description": "Build your business in miutes",
5
+ "protocol_handlers": [
6
+ {
7
+ "protocol": "web+jngl",
8
+ "url": "/lookup?type=%s"
9
+ },
10
+ {
11
+ "protocol": "web+jnglstore",
12
+ "url": "/shop?for=%s"
13
+ }
14
+ ],
15
+ "orientation": "portrait-primary",
16
+ "icons": [
17
+ {
18
+ "src": "./assets/icons/icon-72x72.png",
19
+ "type": "image/png",
20
+ "sizes": "72x72"
21
+ },
22
+ {
23
+ "src": "./assets/icons/icon-96x96.png",
24
+ "type": "image/png",
25
+ "sizes": "96x96"
26
+ },
27
+ {
28
+ "src": "./assets/icons/icon-128x128.png",
29
+ "type": "image/png",
30
+ "sizes": "128x128"
31
+ },
32
+ {
33
+ "src": "./assets/icons/icon-144x144.png",
34
+ "type": "image/png",
35
+ "sizes": "144x144"
36
+ },
37
+ {
38
+ "src": "./assets/icons/icon-152x152.png",
39
+ "type": "image/png",
40
+ "sizes": "152x152"
41
+ },
42
+ {
43
+ "src": "./assets/icons/icon-192x192.png",
44
+ "type": "image/png",
45
+ "sizes": "192x192"
46
+ },
47
+ {
48
+ "src": "./assets/icons/icon-384x384.png",
49
+ "type": "image/png",
50
+ "sizes": "384x384"
51
+ },
52
+ {
53
+ "src": "./assets/icons/icon-512x512.png",
54
+ "type": "image/png",
55
+ "sizes": "512x512",
56
+ "purpose": "maskable"
57
+ }
58
+ ],
59
+ "start_url": "/",
60
+ "id": "/",
61
+ "background_color": "whitesmoke",
62
+ "display": "fullscreen",
63
+ "theme_color": "#c7c7c7",
64
+ "screenshots": [
65
+ {
66
+ "src": "./assets/screenshot-1.png",
67
+ "type": "image/png",
68
+ "sizes": "1903x950"
69
+ }
70
+ ],
71
+ "categories": "productivity",
72
+ "file_handlers": [
73
+ {
74
+ "action": "/open-file",
75
+ "accept": {
76
+ "text/*": [
77
+ ".txt"
78
+ ]
79
+ }
80
+ }
81
+ ],
82
+ "share_target": {
83
+ "action": "/",
84
+ "method": "GET",
85
+ "enctype": "application/x-www-form-urlencoded",
86
+ "params": {
87
+ "title": "title",
88
+ "text": "text",
89
+ "url": "url"
90
+ }
91
+ }
92
92
  }