@serwist/nuxt 8.4.0 → 8.4.1

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 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
- ["serwist"]?: ModuleOptions;
55
+ serwist?: ModuleOptions;
56
56
  }
57
57
  interface NuxtOptions {
58
- ["serwist"]?: ModuleOptions;
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
- ["serwist"]?: ModuleOptions;
55
+ serwist?: ModuleOptions;
56
56
  }
57
57
  interface NuxtOptions {
58
- ["serwist"]?: ModuleOptions;
58
+ serwist?: ModuleOptions;
59
59
  }
60
60
  }
61
61
 
package/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.8.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "8.4.0"
8
+ "version": "8.4.1"
9
9
  }
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.0";
9
+ const version = "8.4.1";
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, api;
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");
@@ -17,5 +17,3 @@ declare module "@vue/runtime-core" {
17
17
  $serwist: Serwist | undefined;
18
18
  }
19
19
  }
20
-
21
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/nuxt",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
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.0",
57
- "@serwist/vite": "8.4.0",
58
- "@serwist/window": "8.4.0"
56
+ "@serwist/build": "8.4.1",
57
+ "@serwist/vite": "8.4.1",
58
+ "@serwist/window": "8.4.1"
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.0"
75
+ "@serwist/constants": "8.4.1"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "vite": "^5.0.0"