@vite-pwa/nuxt 0.10.3 → 0.10.4

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.
@@ -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.9be15fe1.mjs';
6
+ import { p as pwaIcons, g as generatePwaImageType } from '../shared/nuxt.010c92c1.mjs';
7
7
  import '@nuxt/kit';
8
8
  import 'vite-plugin-pwa';
9
9
  import 'node:crypto';
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.6.5",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.10.3",
8
+ "version": "0.10.4",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.8.3",
11
11
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@nuxt/kit';
2
- export { m as default } from './shared/nuxt.9be15fe1.mjs';
2
+ export { m as default } from './shared/nuxt.010c92c1.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.10.3";
9
+ const version = "0.10.4";
10
10
 
11
11
  function configurePWAOptions(nuxt3_8, options, nuxt, nitroConfig) {
12
12
  if (!options.outDir) {
@@ -261,7 +261,7 @@ function configureEntry<K extends keyof PWAIcons>(key: K) {
261
261
  write: true,
262
262
  getContents: () => `// Generated by @vite-pwa/nuxt
263
263
  import { defineNuxtPlugin } from '#imports'
264
- import type { PWAAssetIcon, PWAIcons } from '#build/pwa-icons/pwa-icons'
264
+ import type { PWAIcons } from '#build/pwa-icons/pwa-icons'
265
265
 
266
266
  export default defineNuxtPlugin(() => {
267
267
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vite-pwa/nuxt",
3
3
  "type": "module",
4
- "version": "0.10.3",
4
+ "version": "0.10.4",
5
5
  "packageManager": "pnpm@9.9.0",
6
6
  "description": "Zero-config PWA for Nuxt 3",
7
7
  "author": "antfu <anthonyfu117@hotmail.com>",
@@ -28,6 +28,7 @@
28
28
  "./configuration": {
29
29
  "types": "./configuration.d.ts"
30
30
  },
31
+ "./package.json": "./package.json",
31
32
  "./*": "./*"
32
33
  },
33
34
  "main": "./dist/module.mjs",
@@ -63,7 +64,7 @@
63
64
  "@nuxt/kit": "^3.9.0",
64
65
  "pathe": "^1.1.1",
65
66
  "ufo": "^1.3.2",
66
- "vite-plugin-pwa": ">=0.20.3 <1"
67
+ "vite-plugin-pwa": ">=0.20.4 <1"
67
68
  },
68
69
  "devDependencies": {
69
70
  "@antfu/eslint-config": "^0.43.1",
@@ -88,7 +89,7 @@
88
89
  "@nuxt/kit": "^3.10.1"
89
90
  },
90
91
  "peerDependencies": {
91
- "@vite-pwa/assets-generator": "^0.2.4"
92
+ "@vite-pwa/assets-generator": "^0.2.6"
92
93
  },
93
94
  "peerDependenciesMeta": {
94
95
  "@vite-pwa/assets-generator": {