@vite-pwa/nuxt 0.6.0 → 0.7.0

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/README.md CHANGED
@@ -40,7 +40,7 @@ Zero-config PWA Plugin for Nuxt 3
40
40
  - ⚙️ **Stale-while-revalidate**: automatic reload when new content is available
41
41
  - ✨ **Static assets handling**: configure static assets for offline support
42
42
  - 🐞 **Development Support**: debug your custom service worker logic as you develop your application
43
- - 🛠️ **Versatile**: integration with meta frameworks: [îles](https://github.com/ElMassimo/iles), [SvelteKit](https://github.com/sveltejs/kit), [VitePress](https://github.com/vuejs/vitepress), [Astro](https://github.com/withastro/astro), and [Nuxt 3](https://github.com/nuxt/nuxt)
43
+ - 🛠️ **Versatile**: integration with meta frameworks: [îles](https://github.com/ElMassimo/iles), [SvelteKit](https://github.com/sveltejs/kit), [VitePress](https://github.com/vuejs/vitepress), [Astro](https://github.com/withastro/astro), [Nuxt 3](https://github.com/nuxt/nuxt) and [Remix](https://github.com/remix-run/remix)
44
44
  - 💥 **PWA Assets Generator**: generate all the PWA assets from a single command and a single source image
45
45
  - 🚀 **PWA Assets Integration**: serving, generating and injecting PWA Assets on the fly in your application
46
46
 
@@ -51,13 +51,7 @@ Zero-config PWA Plugin for Nuxt 3
51
51
  > For older versions, `@vite-pwa/nuxt` requires Vite 3.2.0+ and Nuxt 3.0.0+.
52
52
 
53
53
  ```bash
54
- npm i @vite-pwa/nuxt -D
55
-
56
- # yarn
57
- yarn add @vite-pwa/nuxt -D
58
-
59
- # pnpm
60
- pnpm add @vite-pwa/nuxt -D
54
+ npx nuxi@latest module add @vite-pwa/nuxt
61
55
  ```
62
56
 
63
57
  ## 🦄 Usage
@@ -3,7 +3,7 @@ import { resolve, relative, basename } from 'node:path';
3
3
  import { readFile } from 'node:fs/promises';
4
4
  import { instructions } from '@vite-pwa/assets-generator/api/instructions';
5
5
  import { loadConfig } from '@vite-pwa/assets-generator/config';
6
- import { p as pwaIcons, g as generatePwaImageType } from '../shared/nuxt.563189da.mjs';
6
+ import { p as pwaIcons, g as generatePwaImageType } from '../shared/nuxt.f7ffa03b.mjs';
7
7
  import '@nuxt/kit';
8
8
  import 'vite-plugin-pwa';
9
9
  import 'node:crypto';
package/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.6.5",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.6.0"
8
+ "version": "0.7.0"
9
9
  }
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@nuxt/kit';
2
- export { m as default } from './shared/nuxt.563189da.mjs';
2
+ export { m as default } from './shared/nuxt.f7ffa03b.mjs';
3
3
  import 'node:path';
4
4
  import 'node:fs/promises';
5
5
  import 'vite-plugin-pwa';
@@ -6,7 +6,7 @@ import { createHash } from 'node:crypto';
6
6
  import { createReadStream } from 'node:fs';
7
7
  import { resolve } from 'pathe';
8
8
 
9
- const version = "0.6.0";
9
+ const version = "0.7.0";
10
10
 
11
11
  function configurePWAOptions(nuxt3_8, options, nuxt, nitroConfig) {
12
12
  if (!options.outDir) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vite-pwa/nuxt",
3
3
  "type": "module",
4
- "version": "0.6.0",
5
- "packageManager": "pnpm@8.15.4",
4
+ "version": "0.7.0",
5
+ "packageManager": "pnpm@9.0.6",
6
6
  "description": "Zero-config PWA for Nuxt 3",
7
7
  "author": "antfu <anthonyfu117@hotmail.com>",
8
8
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "@nuxt/kit": "^3.9.0",
61
61
  "pathe": "^1.1.1",
62
62
  "ufo": "^1.3.2",
63
- "vite-plugin-pwa": ">=0.19.2 <1"
63
+ "vite-plugin-pwa": ">=0.20.0 <1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@antfu/eslint-config": "^0.43.1",
@@ -77,7 +77,7 @@
77
77
  "publint": "^0.2.5",
78
78
  "rimraf": "^5.0.5",
79
79
  "serve": "^14.2.1",
80
- "typescript": "^5.3.3",
80
+ "typescript": "^5.4.5",
81
81
  "vitest": "^1.1.0",
82
82
  "vue-tsc": "^1.8.27"
83
83
  },