@shopbite-de/storefront 1.22.2 → 1.22.3

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/app/app.vue CHANGED
@@ -110,7 +110,7 @@ useHead({
110
110
  </script>
111
111
 
112
112
  <template>
113
- <NuxtPwaManifest />
113
+ <VitePwaManifest />
114
114
  <NuxtLoadingIndicator />
115
115
 
116
116
  <UApp :toaster="appConfig.toaster">
package/nuxt.config.ts CHANGED
@@ -115,38 +115,68 @@ export default defineNuxtConfig({
115
115
  },
116
116
 
117
117
  pwa: {
118
+ registerType: "autoUpdate",
118
119
  manifest: {
120
+ id: "/",
121
+ scope: "/",
119
122
  name: storeName,
120
123
  short_name: storeName,
124
+ description: storeDescription,
121
125
  theme_color: "#ff5b00",
126
+ background_color: "#ffffff",
122
127
  display: "standalone",
123
128
  start_url: "/",
129
+ screenshots: [
130
+ {
131
+ src: "screenshot-mobile.png",
132
+ sizes: "390x844",
133
+ type: "image/png",
134
+ form_factor: "narrow",
135
+ label: storeName,
136
+ },
137
+ {
138
+ src: "screenshot-desktop.png",
139
+ sizes: "1280x800",
140
+ type: "image/png",
141
+ form_factor: "wide",
142
+ label: storeName,
143
+ },
144
+ ],
124
145
  icons: [
125
146
  {
126
147
  src: "logo-192.png",
127
148
  sizes: "192x192",
128
149
  type: "image/png",
150
+ purpose: "any",
129
151
  },
130
152
  {
131
153
  src: "logo-512.png",
132
154
  sizes: "512x512",
133
155
  type: "image/png",
156
+ purpose: "any",
134
157
  },
135
158
  {
136
159
  src: "logo-512.png",
137
160
  sizes: "512x512",
138
161
  type: "image/png",
139
- purpose: "any maskable",
162
+ purpose: "maskable",
140
163
  },
141
164
  ],
142
165
  },
143
166
  workbox: {
144
167
  globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
145
168
  globIgnores: ["**/_payload.json"],
169
+ navigateFallback: null,
170
+ runtimeCaching: [
171
+ {
172
+ urlPattern: "/",
173
+ handler: "NetworkFirst",
174
+ },
175
+ ],
146
176
  },
147
- injectManifest: {
148
- globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
149
- globIgnores: ["**/_payload.json"],
177
+ devOptions: {
178
+ enabled: true,
179
+ type: "module",
150
180
  },
151
181
  },
152
182
 
@@ -191,7 +221,6 @@ export default defineNuxtConfig({
191
221
  "@nuxt/image",
192
222
  "@nuxt/content",
193
223
  "@nuxtjs/robots",
194
- "@vite-pwa/nuxt",
195
224
  "@nuxt/ui",
196
225
  "@nuxt/scripts",
197
226
  "@nuxt/test-utils/module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopbite-de/storefront",
3
- "version": "1.22.2",
3
+ "version": "1.22.3",
4
4
  "main": "nuxt.config.ts",
5
5
  "description": "Shopware storefront for food delivery shops",
6
6
  "keywords": [
@@ -55,7 +55,7 @@
55
55
  "@typescript-eslint/eslint-plugin": "^8.57.0",
56
56
  "@typescript-eslint/parser": "^8.57.0",
57
57
  "@vitejs/plugin-vue": "^6.0.5",
58
- "@vitest/ui": "4.1.2",
58
+ "@vitest/ui": "4.1.3",
59
59
  "@vue/compiler-dom": "^3.5.30",
60
60
  "@vue/server-renderer": "^3.5.30",
61
61
  "@vue/test-utils": "^2.4.6",
Binary file
Binary file