@serwist/nuxt 9.0.7 → 9.0.9

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
@@ -1,24 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { PluginOptions } from '@serwist/vite';
3
3
 
4
- /**
5
- * Make certain fields in a object type required
6
- *
7
- * @example
8
- * interface A {
9
- * a?: string;
10
- * b?: string;
11
- * c?: string;
12
- * }
13
- * type B = RequiredFields<A, "b" | "c">;
14
- * const b: B = {
15
- * b: "hehe",
16
- * c: "hehe",
17
- * }; //valid
18
- * const b: B = { a: "hehe" }; //invalid
19
- * const c: B = { a: "hehe", b: "hehe" }; //invalid
20
- */
21
- type Require<T, U extends keyof T> = T & Required<Pick<T, U>>;
22
4
  /**
23
5
  * Make certain fields in a object type optional
24
6
  *
@@ -47,15 +29,6 @@ interface ModuleOptions extends Optional<PluginOptions, "swSrc" | "swDest" | "gl
47
29
  client?: ClientOptions;
48
30
  }
49
31
 
50
- declare const _default: _nuxt_schema.NuxtModule<Require<ModuleOptions, "swUrl" | "swSrc" | "swDest" | "globDirectory" | "injectionPoint">>;
51
-
52
- declare module "@nuxt/schema" {
53
- interface NuxtConfig {
54
- serwist?: ModuleOptions;
55
- }
56
- interface NuxtOptions {
57
- serwist?: ModuleOptions;
58
- }
59
- }
32
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
60
33
 
61
34
  export { type ClientOptions, type ModuleOptions, _default as default };
package/dist/module.d.ts CHANGED
@@ -1,24 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { PluginOptions } from '@serwist/vite';
3
3
 
4
- /**
5
- * Make certain fields in a object type required
6
- *
7
- * @example
8
- * interface A {
9
- * a?: string;
10
- * b?: string;
11
- * c?: string;
12
- * }
13
- * type B = RequiredFields<A, "b" | "c">;
14
- * const b: B = {
15
- * b: "hehe",
16
- * c: "hehe",
17
- * }; //valid
18
- * const b: B = { a: "hehe" }; //invalid
19
- * const c: B = { a: "hehe", b: "hehe" }; //invalid
20
- */
21
- type Require<T, U extends keyof T> = T & Required<Pick<T, U>>;
22
4
  /**
23
5
  * Make certain fields in a object type optional
24
6
  *
@@ -47,15 +29,6 @@ interface ModuleOptions extends Optional<PluginOptions, "swSrc" | "swDest" | "gl
47
29
  client?: ClientOptions;
48
30
  }
49
31
 
50
- declare const _default: _nuxt_schema.NuxtModule<Require<ModuleOptions, "swUrl" | "swSrc" | "swDest" | "globDirectory" | "injectionPoint">>;
51
-
52
- declare module "@nuxt/schema" {
53
- interface NuxtConfig {
54
- serwist?: ModuleOptions;
55
- }
56
- interface NuxtOptions {
57
- serwist?: ModuleOptions;
58
- }
59
- }
32
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
60
33
 
61
34
  export { type ClientOptions, type ModuleOptions, _default as default };
package/dist/module.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "nuxt": "^3.8.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "9.0.7",
8
+ "version": "9.0.9",
9
9
  "builder": {
10
- "@nuxt/module-builder": "0.8.3",
10
+ "@nuxt/module-builder": "0.8.4",
11
11
  "unbuild": "unknown"
12
12
  }
13
13
  }
package/dist/module.mjs CHANGED
@@ -5,7 +5,7 @@ import { createHash } from 'node:crypto';
5
5
  import { createReadStream } from 'node:fs';
6
6
  import fsp from 'node:fs/promises';
7
7
 
8
- const version = "9.0.7";
8
+ const version = "9.0.9";
9
9
 
10
10
  function configurePwaOptions(options, nuxt, nitroConfig) {
11
11
  let buildAssetsDir = nuxt.options.app.buildAssetsDir ?? "_nuxt/";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/nuxt",
3
- "version": "9.0.7",
3
+ "version": "9.0.9",
4
4
  "type": "module",
5
5
  "description": "A Nuxt module that integrates Serwist into your application.",
6
6
  "files": [
@@ -51,23 +51,23 @@
51
51
  ]
52
52
  },
53
53
  "dependencies": {
54
- "@nuxt/kit": "3.12.4",
55
- "@serwist/build": "9.0.7",
56
- "@serwist/vite": "9.0.7",
57
- "@serwist/window": "9.0.7"
54
+ "@nuxt/kit": "3.13.2",
55
+ "@serwist/build": "9.0.9",
56
+ "@serwist/vite": "9.0.9",
57
+ "@serwist/window": "9.0.9"
58
58
  },
59
59
  "devDependencies": {
60
- "@nuxt/module-builder": "0.8.3",
61
- "@nuxt/schema": "3.12.4",
62
- "@types/node": "22.5.0",
60
+ "@nuxt/module-builder": "0.8.4",
61
+ "@nuxt/schema": "3.13.2",
62
+ "@types/node": "22.7.4",
63
63
  "eslint": "8.57.0",
64
- "nuxt": "3.12.4",
64
+ "nuxt": "3.13.2",
65
65
  "rimraf": "5.0.9",
66
66
  "serve": "14.2.3",
67
- "typescript": "5.5.4",
68
- "vite": "5.4.2",
69
- "vue-tsc": "2.0.29",
70
- "@serwist/configs": "9.0.7"
67
+ "typescript": "5.6.2",
68
+ "vite": "5.4.8",
69
+ "vue-tsc": "2.1.6",
70
+ "@serwist/configs": "9.0.9"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "typescript": ">=5.0.0",