@serwist/nuxt 8.4.0 → 8.4.2
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/dist/module.d.mts +2 -2
- package/dist/module.d.ts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/plugins/augmentation.d.ts +0 -2
- package/package.json +5 -5
package/dist/module.d.mts
CHANGED
@@ -52,10 +52,10 @@ declare const _default: _nuxt_schema.NuxtModule<RequiredFields<ModuleOptions, "s
|
|
52
52
|
|
53
53
|
declare module "@nuxt/schema" {
|
54
54
|
interface NuxtConfig {
|
55
|
-
|
55
|
+
serwist?: ModuleOptions;
|
56
56
|
}
|
57
57
|
interface NuxtOptions {
|
58
|
-
|
58
|
+
serwist?: ModuleOptions;
|
59
59
|
}
|
60
60
|
}
|
61
61
|
|
package/dist/module.d.ts
CHANGED
@@ -52,10 +52,10 @@ declare const _default: _nuxt_schema.NuxtModule<RequiredFields<ModuleOptions, "s
|
|
52
52
|
|
53
53
|
declare module "@nuxt/schema" {
|
54
54
|
interface NuxtConfig {
|
55
|
-
|
55
|
+
serwist?: ModuleOptions;
|
56
56
|
}
|
57
57
|
interface NuxtOptions {
|
58
|
-
|
58
|
+
serwist?: ModuleOptions;
|
59
59
|
}
|
60
60
|
}
|
61
61
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
@@ -6,7 +6,7 @@ import { createReadStream } from 'node:fs';
|
|
6
6
|
import fs from 'node:fs/promises';
|
7
7
|
import pathe from 'pathe';
|
8
8
|
|
9
|
-
const version = "8.4.
|
9
|
+
const version = "8.4.2";
|
10
10
|
|
11
11
|
function configurePwaOptions(options, nuxt, nitroConfig) {
|
12
12
|
let buildAssetsDir = nuxt.options.app.buildAssetsDir ?? "_nuxt/";
|
@@ -111,7 +111,8 @@ const module = defineNuxtModule({
|
|
111
111
|
},
|
112
112
|
async setup(options, nuxt) {
|
113
113
|
const resolver = createResolver(import.meta.url);
|
114
|
-
let ctx
|
114
|
+
let ctx;
|
115
|
+
let api;
|
115
116
|
const { manifest: manifestPath, client: _client, ...userOptions } = options;
|
116
117
|
const client = { registerPlugin: true, ..._client };
|
117
118
|
const runtimeDir = resolver.resolve("./runtime");
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@serwist/nuxt",
|
3
|
-
"version": "8.4.
|
3
|
+
"version": "8.4.2",
|
4
4
|
"type": "module",
|
5
5
|
"description": "A Nuxt module that integrates Serwist into your application.",
|
6
6
|
"files": [
|
@@ -53,9 +53,9 @@
|
|
53
53
|
"fast-json-stable-stringify": "2.1.0",
|
54
54
|
"pathe": "1.1.1",
|
55
55
|
"ufo": "1.3.2",
|
56
|
-
"@serwist/build": "8.4.
|
57
|
-
"@serwist/vite": "8.4.
|
58
|
-
"@serwist/window": "8.4.
|
56
|
+
"@serwist/build": "8.4.2",
|
57
|
+
"@serwist/vite": "8.4.2",
|
58
|
+
"@serwist/window": "8.4.2"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
61
|
"@nuxt/module-builder": "0.5.5",
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"vite": "5.0.10",
|
73
73
|
"vitest": "1.1.0",
|
74
74
|
"vue-tsc": "1.8.27",
|
75
|
-
"@serwist/constants": "8.4.
|
75
|
+
"@serwist/constants": "8.4.2"
|
76
76
|
},
|
77
77
|
"peerDependencies": {
|
78
78
|
"vite": "^5.0.0"
|