@vite-pwa/nuxt 0.3.6 → 0.4.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 +3 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -45,7 +45,9 @@ Zero-config PWA Plugin for Nuxt 3
|
|
|
45
45
|
|
|
46
46
|
## 📦 Install
|
|
47
47
|
|
|
48
|
-
>
|
|
48
|
+
> From v0.4.0, `@vite-pwa/nuxt` requires Vite 5 and Nuxt 3.9.0+.
|
|
49
|
+
|
|
50
|
+
> For older versions, `@vite-pwa/nuxt` requires Vite 3.2.0+ and Nuxt 3.0.0+.
|
|
49
51
|
|
|
50
52
|
```bash
|
|
51
53
|
npm i @vite-pwa/nuxt -D
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -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.
|
|
9
|
+
const version = "0.4.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.
|
|
5
|
-
"packageManager": "pnpm@8.
|
|
4
|
+
"version": "0.4.0",
|
|
5
|
+
"packageManager": "pnpm@8.13.1",
|
|
6
6
|
"description": "Zero-config PWA for Nuxt 3",
|
|
7
7
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -57,29 +57,29 @@
|
|
|
57
57
|
"test:with-build": "nr dev:prepare && nr prepack && nr test"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@nuxt/kit": "^3.
|
|
60
|
+
"@nuxt/kit": "^3.9.0",
|
|
61
61
|
"pathe": "^1.1.1",
|
|
62
62
|
"ufo": "^1.3.2",
|
|
63
|
-
"vite-plugin-pwa": ">=0.
|
|
63
|
+
"vite-plugin-pwa": ">=0.17.4 <1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@antfu/eslint-config": "^0.43.1",
|
|
67
67
|
"@antfu/ni": "^0.21.10",
|
|
68
68
|
"@nuxt/module-builder": "^0.5.4",
|
|
69
|
-
"@nuxt/schema": "^3.
|
|
70
|
-
"@nuxt/test-utils": "^3.
|
|
71
|
-
"@playwright/test": "^1.
|
|
69
|
+
"@nuxt/schema": "^3.9.0",
|
|
70
|
+
"@nuxt/test-utils": "^3.9.0",
|
|
71
|
+
"@playwright/test": "^1.40.1",
|
|
72
72
|
"@types/node": "^18",
|
|
73
73
|
"bumpp": "^9.2.0",
|
|
74
74
|
"eslint": "^8.54.0",
|
|
75
75
|
"node-fetch-native": "^1.4.1",
|
|
76
|
-
"nuxt": "^3.
|
|
76
|
+
"nuxt": "^3.9.0",
|
|
77
77
|
"publint": "^0.2.5",
|
|
78
78
|
"rimraf": "^5.0.5",
|
|
79
79
|
"serve": "^14.2.1",
|
|
80
|
-
"typescript": "^5.3.
|
|
81
|
-
"vitest": "^
|
|
82
|
-
"vue-tsc": "^1.8.
|
|
80
|
+
"typescript": "^5.3.3",
|
|
81
|
+
"vitest": "^1.1.0",
|
|
82
|
+
"vue-tsc": "^1.8.27"
|
|
83
83
|
},
|
|
84
84
|
"build": {
|
|
85
85
|
"externals": [
|