@serwist/build 9.0.13 → 9.0.14
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/schema/base.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
15
15
|
}>]>, "many">>;
|
|
16
16
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
17
17
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
18
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
18
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
19
19
|
integrity: z.ZodOptional<z.ZodString>;
|
|
20
20
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
url: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
size: z.ZodNumber;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
url: string;
|
|
26
26
|
size: number;
|
|
27
27
|
integrity?: string | undefined;
|
|
@@ -32,13 +32,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
32
32
|
integrity?: string | undefined;
|
|
33
33
|
revision?: string | null | undefined;
|
|
34
34
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
35
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
35
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
36
36
|
integrity: z.ZodOptional<z.ZodString>;
|
|
37
37
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
url: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
size: z.ZodNumber;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
url: string;
|
|
43
43
|
size: number;
|
|
44
44
|
integrity?: string | undefined;
|
|
@@ -67,13 +67,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
67
67
|
}[];
|
|
68
68
|
warnings?: string[] | undefined;
|
|
69
69
|
}>>, z.ZodObject<{
|
|
70
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
70
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
71
71
|
integrity: z.ZodOptional<z.ZodString>;
|
|
72
72
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
url: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
size: z.ZodNumber;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
url: string;
|
|
78
78
|
size: number;
|
|
79
79
|
integrity?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
|
-
export declare const getManifestOptions: z.ZodObject<
|
|
2
|
+
export declare const getManifestOptions: z.ZodObject<{
|
|
3
3
|
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4
4
|
integrity: z.ZodOptional<z.ZodString>;
|
|
5
5
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15,13 +15,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
15
15
|
}>]>, "many">>;
|
|
16
16
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
17
17
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
18
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
18
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
19
19
|
integrity: z.ZodOptional<z.ZodString>;
|
|
20
20
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
url: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
size: z.ZodNumber;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
url: string;
|
|
26
26
|
size: number;
|
|
27
27
|
integrity?: string | undefined;
|
|
@@ -32,13 +32,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
32
32
|
integrity?: string | undefined;
|
|
33
33
|
revision?: string | null | undefined;
|
|
34
34
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
35
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
35
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
36
36
|
integrity: z.ZodOptional<z.ZodString>;
|
|
37
37
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
url: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
size: z.ZodNumber;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
url: string;
|
|
43
43
|
size: number;
|
|
44
44
|
integrity?: string | undefined;
|
|
@@ -67,13 +67,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
67
67
|
}[];
|
|
68
68
|
warnings?: string[] | undefined;
|
|
69
69
|
}>>, z.ZodObject<{
|
|
70
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
70
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
71
71
|
integrity: z.ZodOptional<z.ZodString>;
|
|
72
72
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
url: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
size: z.ZodNumber;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
url: string;
|
|
78
78
|
size: number;
|
|
79
79
|
integrity?: string | undefined;
|
|
@@ -104,15 +104,15 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
104
104
|
}>]>>, "many">>;
|
|
105
105
|
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
106
106
|
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
107
|
-
}
|
|
107
|
+
} & {
|
|
108
108
|
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
109
109
|
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
110
110
|
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
111
111
|
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
112
112
|
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
113
|
-
}
|
|
113
|
+
} & {
|
|
114
114
|
globDirectory: z.ZodString;
|
|
115
|
-
}
|
|
115
|
+
}, "strict", z.ZodTypeAny, {
|
|
116
116
|
disablePrecacheManifest: boolean;
|
|
117
117
|
maximumFileSizeToCacheInBytes: number;
|
|
118
118
|
globFollow: boolean;
|
|
@@ -9,7 +9,7 @@ export declare const baseInjectPartial: z.ZodObject<{
|
|
|
9
9
|
swSrc: string;
|
|
10
10
|
injectionPoint?: string | undefined;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const injectManifestOptions: z.ZodObject<
|
|
12
|
+
export declare const injectManifestOptions: z.ZodObject<{
|
|
13
13
|
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14
14
|
integrity: z.ZodOptional<z.ZodString>;
|
|
15
15
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,13 +25,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
25
25
|
}>]>, "many">>;
|
|
26
26
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
27
27
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
28
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
28
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
29
29
|
integrity: z.ZodOptional<z.ZodString>;
|
|
30
30
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
url: z.ZodString;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
size: z.ZodNumber;
|
|
34
|
-
}
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
url: string;
|
|
36
36
|
size: number;
|
|
37
37
|
integrity?: string | undefined;
|
|
@@ -42,13 +42,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
42
42
|
integrity?: string | undefined;
|
|
43
43
|
revision?: string | null | undefined;
|
|
44
44
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
45
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
45
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
46
46
|
integrity: z.ZodOptional<z.ZodString>;
|
|
47
47
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
url: z.ZodString;
|
|
49
|
-
}
|
|
49
|
+
} & {
|
|
50
50
|
size: z.ZodNumber;
|
|
51
|
-
}
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
url: string;
|
|
53
53
|
size: number;
|
|
54
54
|
integrity?: string | undefined;
|
|
@@ -77,13 +77,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
77
77
|
}[];
|
|
78
78
|
warnings?: string[] | undefined;
|
|
79
79
|
}>>, z.ZodObject<{
|
|
80
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
80
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
81
81
|
integrity: z.ZodOptional<z.ZodString>;
|
|
82
82
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
url: z.ZodString;
|
|
84
|
-
}
|
|
84
|
+
} & {
|
|
85
85
|
size: z.ZodNumber;
|
|
86
|
-
}
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
url: string;
|
|
88
88
|
size: number;
|
|
89
89
|
integrity?: string | undefined;
|
|
@@ -114,20 +114,20 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
114
|
}>]>>, "many">>;
|
|
115
115
|
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
116
116
|
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
|
-
}
|
|
117
|
+
} & {
|
|
118
118
|
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
119
119
|
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
120
120
|
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
121
121
|
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
122
122
|
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
123
|
-
}
|
|
123
|
+
} & {
|
|
124
124
|
injectionPoint: z.ZodDefault<z.ZodString>;
|
|
125
125
|
swSrc: z.ZodString;
|
|
126
|
-
}
|
|
126
|
+
} & {
|
|
127
127
|
swDest: z.ZodString;
|
|
128
|
-
}
|
|
128
|
+
} & {
|
|
129
129
|
globDirectory: z.ZodString;
|
|
130
|
-
}
|
|
130
|
+
}, "strict", z.ZodTypeAny, {
|
|
131
131
|
disablePrecacheManifest: boolean;
|
|
132
132
|
maximumFileSizeToCacheInBytes: number;
|
|
133
133
|
globFollow: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const manifestTransformResult: z.ZodObject<{
|
|
3
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
3
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
4
4
|
integrity: z.ZodOptional<z.ZodString>;
|
|
5
5
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
url: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
size: z.ZodNumber;
|
|
9
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
url: string;
|
|
11
11
|
size: number;
|
|
12
12
|
integrity?: string | undefined;
|
|
@@ -35,13 +35,13 @@ export declare const manifestTransformResult: z.ZodObject<{
|
|
|
35
35
|
}[];
|
|
36
36
|
warnings?: string[] | undefined;
|
|
37
37
|
}>;
|
|
38
|
-
export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
38
|
+
export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
39
39
|
integrity: z.ZodOptional<z.ZodString>;
|
|
40
40
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
url: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
} & {
|
|
43
43
|
size: z.ZodNumber;
|
|
44
|
-
}
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
url: string;
|
|
46
46
|
size: number;
|
|
47
47
|
integrity?: string | undefined;
|
|
@@ -52,13 +52,13 @@ export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.Z
|
|
|
52
52
|
integrity?: string | undefined;
|
|
53
53
|
revision?: string | null | undefined;
|
|
54
54
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
55
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
55
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
56
56
|
integrity: z.ZodOptional<z.ZodString>;
|
|
57
57
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
url: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
} & {
|
|
60
60
|
size: z.ZodNumber;
|
|
61
|
-
}
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
url: string;
|
|
63
63
|
size: number;
|
|
64
64
|
integrity?: string | undefined;
|
|
@@ -87,13 +87,13 @@ export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.Z
|
|
|
87
87
|
}[];
|
|
88
88
|
warnings?: string[] | undefined;
|
|
89
89
|
}>>, z.ZodObject<{
|
|
90
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
90
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
91
91
|
integrity: z.ZodOptional<z.ZodString>;
|
|
92
92
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
url: z.ZodString;
|
|
94
|
-
}
|
|
94
|
+
} & {
|
|
95
95
|
size: z.ZodNumber;
|
|
96
|
-
}
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
url: string;
|
|
98
98
|
size: number;
|
|
99
99
|
integrity?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/build",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.",
|
|
6
6
|
"files": [
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"glob": "10.4.5",
|
|
53
53
|
"pretty-bytes": "6.1.1",
|
|
54
54
|
"source-map": "0.8.0-beta.0",
|
|
55
|
-
"zod": "3.24.
|
|
55
|
+
"zod": "3.24.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/common-tags": "1.8.4",
|
|
59
|
-
"@types/node": "22.14.
|
|
60
|
-
"rollup": "4.
|
|
61
|
-
"type-fest": "4.
|
|
59
|
+
"@types/node": "22.14.1",
|
|
60
|
+
"rollup": "4.40.0",
|
|
61
|
+
"type-fest": "4.40.0",
|
|
62
62
|
"typescript": "5.6.3",
|
|
63
|
-
"@serwist/
|
|
64
|
-
"@serwist/
|
|
63
|
+
"@serwist/utils": "9.0.14",
|
|
64
|
+
"@serwist/configs": "9.0.14"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"typescript": ">=5.0.0"
|