@serwist/nuxt 9.0.7 → 9.0.8
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 +1 -28
- package/dist/module.d.ts +1 -28
- package/dist/module.json +2 -2
- package/dist/module.mjs +1 -1
- package/package.json +13 -13
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<
|
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<
|
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
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.
|
8
|
+
const version = "9.0.8";
|
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.
|
3
|
+
"version": "9.0.8",
|
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.
|
55
|
-
"@serwist/build": "9.0.
|
56
|
-
"@serwist/vite": "9.0.
|
57
|
-
"@serwist/window": "9.0.
|
54
|
+
"@nuxt/kit": "3.13.2",
|
55
|
+
"@serwist/build": "9.0.8",
|
56
|
+
"@serwist/vite": "9.0.8",
|
57
|
+
"@serwist/window": "9.0.8"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
|
-
"@nuxt/module-builder": "0.8.
|
61
|
-
"@nuxt/schema": "3.
|
62
|
-
"@types/node": "22.5.
|
60
|
+
"@nuxt/module-builder": "0.8.4",
|
61
|
+
"@nuxt/schema": "3.13.2",
|
62
|
+
"@types/node": "22.5.5",
|
63
63
|
"eslint": "8.57.0",
|
64
|
-
"nuxt": "3.
|
64
|
+
"nuxt": "3.13.2",
|
65
65
|
"rimraf": "5.0.9",
|
66
66
|
"serve": "14.2.3",
|
67
|
-
"typescript": "5.
|
68
|
-
"vite": "5.4.
|
69
|
-
"vue-tsc": "2.
|
70
|
-
"@serwist/configs": "9.0.
|
67
|
+
"typescript": "5.6.2",
|
68
|
+
"vite": "5.4.6",
|
69
|
+
"vue-tsc": "2.1.6",
|
70
|
+
"@serwist/configs": "9.0.8"
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
73
73
|
"typescript": ">=5.0.0",
|