@serwist/vite 9.0.0-preview.8 → 9.0.0
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/chunks/schema.js +56 -0
- package/dist/index.d.ts +8 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +77 -180
- package/dist/index.schema.d.ts +3 -0
- package/dist/index.schema.d.ts.map +1 -0
- package/dist/index.schema.js +3 -0
- package/dist/index.worker.d.ts +8 -10
- package/dist/index.worker.d.ts.map +1 -1
- package/dist/index.worker.js +18 -11
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/constants.d.ts +3 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/{context.d.ts → lib/context.d.ts} +2 -2
- package/dist/lib/context.d.ts.map +1 -0
- package/dist/lib/log.d.ts.map +1 -0
- package/dist/{modules.d.ts → lib/modules.d.ts} +1 -1
- package/dist/lib/modules.d.ts.map +1 -0
- package/dist/lib/options.d.ts +4 -0
- package/dist/lib/options.d.ts.map +1 -0
- package/dist/lib/schema.d.ts +359 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/types.d.ts +130 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/validator.d.ts +3 -0
- package/dist/lib/validator.d.ts.map +1 -0
- package/dist/plugins/build.d.ts +2 -2
- package/dist/plugins/build.d.ts.map +1 -1
- package/dist/plugins/dev.d.ts +2 -2
- package/dist/plugins/dev.d.ts.map +1 -1
- package/dist/plugins/main.d.ts +2 -2
- package/dist/plugins/main.d.ts.map +1 -1
- package/package.json +29 -65
- package/src/index.schema.ts +3 -0
- package/src/index.ts +8 -7
- package/src/index.worker.ts +111 -96
- package/src/lib/constants.ts +2 -0
- package/src/{context.ts → lib/context.ts} +2 -2
- package/src/{log.ts → lib/log.ts} +1 -1
- package/src/{modules.ts → lib/modules.ts} +4 -5
- package/src/lib/options.ts +76 -0
- package/src/lib/schema.ts +35 -0
- package/src/lib/types.ts +163 -0
- package/src/lib/validator.ts +10 -0
- package/src/plugins/build.ts +3 -3
- package/src/plugins/dev.ts +3 -3
- package/src/plugins/main.ts +15 -9
- package/src/rollup.js +4 -5
- package/dist/api.d.ts.map +0 -1
- package/dist/assets.d.ts +0 -4
- package/dist/assets.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +0 -1
- package/dist/context.d.ts.map +0 -1
- package/dist/index.browser.d.ts +0 -2
- package/dist/index.browser.d.ts.map +0 -1
- package/dist/index.browser.js +0 -13
- package/dist/log.d.ts.map +0 -1
- package/dist/modules.d.ts.map +0 -1
- package/dist/options.d.ts +0 -4
- package/dist/options.d.ts.map +0 -1
- package/dist/types.d.ts +0 -191
- package/dist/types.d.ts.map +0 -1
- package/dist/utils-types.d.ts +0 -2
- package/dist/utils-types.d.ts.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/src/assets.ts +0 -76
- package/src/constants.ts +0 -2
- package/src/index.browser.ts +0 -8
- package/src/options.ts +0 -90
- package/src/types.ts +0 -207
- package/src/utils-types.ts +0 -1
- package/src/virtual.d.ts +0 -5
- /package/dist/{api.d.ts → lib/api.d.ts} +0 -0
- /package/dist/{log.d.ts → lib/log.d.ts} +0 -0
- /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
- /package/src/{api.ts → lib/api.ts} +0 -0
- /package/src/{utils.ts → lib/utils.ts} +0 -0
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const hooks: z.ZodObject<{
|
|
3
|
+
beforeBuildServiceWorker: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
4
|
+
closeBundleOrder: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"pre">, z.ZodLiteral<"post">, z.ZodNull]>>;
|
|
5
|
+
configureOptions: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
8
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
9
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
12
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
13
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const devOptions: z.ZodObject<{
|
|
16
|
+
bundle: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
+
minify: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"terser">, z.ZodLiteral<"esbuild">]>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
bundle: boolean;
|
|
20
|
+
minify: boolean | "terser" | "esbuild";
|
|
21
|
+
}, {
|
|
22
|
+
bundle?: boolean | undefined;
|
|
23
|
+
minify?: boolean | "terser" | "esbuild" | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const injectManifestPartial: z.ZodObject<{
|
|
26
|
+
mode: z.ZodUnion<[z.ZodLiteral<"development">, z.ZodLiteral<"production">]>;
|
|
27
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodLiteral<"module">]>>;
|
|
28
|
+
scope: z.ZodString;
|
|
29
|
+
base: z.ZodString;
|
|
30
|
+
disable: z.ZodDefault<z.ZodBoolean>;
|
|
31
|
+
integration: z.ZodDefault<z.ZodObject<{
|
|
32
|
+
beforeBuildServiceWorker: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
33
|
+
closeBundleOrder: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"pre">, z.ZodLiteral<"post">, z.ZodNull]>>;
|
|
34
|
+
configureOptions: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
37
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
38
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
41
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
42
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
43
|
+
}>>;
|
|
44
|
+
swUrl: z.ZodDefault<z.ZodString>;
|
|
45
|
+
plugins: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
46
|
+
rollupFormat: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"iife">]>>;
|
|
47
|
+
rollupOptions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
48
|
+
devOptions: z.ZodDefault<z.ZodObject<{
|
|
49
|
+
bundle: z.ZodDefault<z.ZodBoolean>;
|
|
50
|
+
minify: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"terser">, z.ZodLiteral<"esbuild">]>>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
bundle: boolean;
|
|
53
|
+
minify: boolean | "terser" | "esbuild";
|
|
54
|
+
}, {
|
|
55
|
+
bundle?: boolean | undefined;
|
|
56
|
+
minify?: boolean | "terser" | "esbuild" | undefined;
|
|
57
|
+
}>>;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
type: "classic" | "module";
|
|
60
|
+
mode: "development" | "production";
|
|
61
|
+
scope: string;
|
|
62
|
+
base: string;
|
|
63
|
+
disable: boolean;
|
|
64
|
+
integration: {
|
|
65
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
66
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
67
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
68
|
+
};
|
|
69
|
+
swUrl: string;
|
|
70
|
+
plugins: any[];
|
|
71
|
+
rollupFormat: "es" | "iife";
|
|
72
|
+
rollupOptions: Record<string, any>;
|
|
73
|
+
devOptions: {
|
|
74
|
+
bundle: boolean;
|
|
75
|
+
minify: boolean | "terser" | "esbuild";
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
mode: "development" | "production";
|
|
79
|
+
scope: string;
|
|
80
|
+
base: string;
|
|
81
|
+
type?: "classic" | "module" | undefined;
|
|
82
|
+
disable?: boolean | undefined;
|
|
83
|
+
integration?: {
|
|
84
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
85
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
86
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
swUrl?: string | undefined;
|
|
89
|
+
plugins?: any[] | undefined;
|
|
90
|
+
rollupFormat?: "es" | "iife" | undefined;
|
|
91
|
+
rollupOptions?: Record<string, any> | undefined;
|
|
92
|
+
devOptions?: {
|
|
93
|
+
bundle?: boolean | undefined;
|
|
94
|
+
minify?: boolean | "terser" | "esbuild" | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const injectManifestOptions: z.ZodObject<{
|
|
98
|
+
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
99
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
100
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
url: z.ZodString;
|
|
102
|
+
}, "strict", z.ZodTypeAny, {
|
|
103
|
+
url: string;
|
|
104
|
+
integrity?: string | undefined;
|
|
105
|
+
revision?: string | null | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
url: string;
|
|
108
|
+
integrity?: string | undefined;
|
|
109
|
+
revision?: string | null | undefined;
|
|
110
|
+
}>]>, "many">>;
|
|
111
|
+
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
112
|
+
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
113
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
114
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
115
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
url: z.ZodString;
|
|
117
|
+
size: z.ZodNumber;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
url: string;
|
|
120
|
+
size: number;
|
|
121
|
+
integrity?: string | undefined;
|
|
122
|
+
revision?: string | null | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
url: string;
|
|
125
|
+
size: number;
|
|
126
|
+
integrity?: string | undefined;
|
|
127
|
+
revision?: string | null | undefined;
|
|
128
|
+
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
129
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
130
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
131
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
url: z.ZodString;
|
|
133
|
+
size: z.ZodNumber;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
url: string;
|
|
136
|
+
size: number;
|
|
137
|
+
integrity?: string | undefined;
|
|
138
|
+
revision?: string | null | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
url: string;
|
|
141
|
+
size: number;
|
|
142
|
+
integrity?: string | undefined;
|
|
143
|
+
revision?: string | null | undefined;
|
|
144
|
+
}>, "many">;
|
|
145
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
146
|
+
}, "strict", z.ZodTypeAny, {
|
|
147
|
+
manifest: {
|
|
148
|
+
url: string;
|
|
149
|
+
size: number;
|
|
150
|
+
integrity?: string | undefined;
|
|
151
|
+
revision?: string | null | undefined;
|
|
152
|
+
}[];
|
|
153
|
+
warnings?: string[] | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
manifest: {
|
|
156
|
+
url: string;
|
|
157
|
+
size: number;
|
|
158
|
+
integrity?: string | undefined;
|
|
159
|
+
revision?: string | null | undefined;
|
|
160
|
+
}[];
|
|
161
|
+
warnings?: string[] | undefined;
|
|
162
|
+
}>>, z.ZodObject<{
|
|
163
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
164
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
165
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
+
url: z.ZodString;
|
|
167
|
+
size: z.ZodNumber;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
url: string;
|
|
170
|
+
size: number;
|
|
171
|
+
integrity?: string | undefined;
|
|
172
|
+
revision?: string | null | undefined;
|
|
173
|
+
}, {
|
|
174
|
+
url: string;
|
|
175
|
+
size: number;
|
|
176
|
+
integrity?: string | undefined;
|
|
177
|
+
revision?: string | null | undefined;
|
|
178
|
+
}>, "many">;
|
|
179
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
180
|
+
}, "strict", z.ZodTypeAny, {
|
|
181
|
+
manifest: {
|
|
182
|
+
url: string;
|
|
183
|
+
size: number;
|
|
184
|
+
integrity?: string | undefined;
|
|
185
|
+
revision?: string | null | undefined;
|
|
186
|
+
}[];
|
|
187
|
+
warnings?: string[] | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
manifest: {
|
|
190
|
+
url: string;
|
|
191
|
+
size: number;
|
|
192
|
+
integrity?: string | undefined;
|
|
193
|
+
revision?: string | null | undefined;
|
|
194
|
+
}[];
|
|
195
|
+
warnings?: string[] | undefined;
|
|
196
|
+
}>]>>, "many">>;
|
|
197
|
+
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
198
|
+
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
199
|
+
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
200
|
+
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
201
|
+
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
202
|
+
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
203
|
+
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
204
|
+
injectionPoint: z.ZodDefault<z.ZodString>;
|
|
205
|
+
swSrc: z.ZodString;
|
|
206
|
+
swDest: z.ZodString;
|
|
207
|
+
globDirectory: z.ZodString;
|
|
208
|
+
mode: z.ZodUnion<[z.ZodLiteral<"development">, z.ZodLiteral<"production">]>;
|
|
209
|
+
type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"classic">, z.ZodLiteral<"module">]>>;
|
|
210
|
+
scope: z.ZodString;
|
|
211
|
+
base: z.ZodString;
|
|
212
|
+
disable: z.ZodDefault<z.ZodBoolean>;
|
|
213
|
+
integration: z.ZodDefault<z.ZodObject<{
|
|
214
|
+
beforeBuildServiceWorker: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
215
|
+
closeBundleOrder: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"pre">, z.ZodLiteral<"post">, z.ZodNull]>>;
|
|
216
|
+
configureOptions: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodAny], null>, z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid]>>>;
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
218
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
219
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
220
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
223
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
224
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
225
|
+
}>>;
|
|
226
|
+
swUrl: z.ZodDefault<z.ZodString>;
|
|
227
|
+
plugins: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
228
|
+
rollupFormat: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"iife">]>>;
|
|
229
|
+
rollupOptions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
230
|
+
devOptions: z.ZodDefault<z.ZodObject<{
|
|
231
|
+
bundle: z.ZodDefault<z.ZodBoolean>;
|
|
232
|
+
minify: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"terser">, z.ZodLiteral<"esbuild">]>>;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
bundle: boolean;
|
|
235
|
+
minify: boolean | "terser" | "esbuild";
|
|
236
|
+
}, {
|
|
237
|
+
bundle?: boolean | undefined;
|
|
238
|
+
minify?: boolean | "terser" | "esbuild" | undefined;
|
|
239
|
+
}>>;
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
241
|
+
type: "classic" | "module";
|
|
242
|
+
mode: "development" | "production";
|
|
243
|
+
scope: string;
|
|
244
|
+
base: string;
|
|
245
|
+
disable: boolean;
|
|
246
|
+
integration: {
|
|
247
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
248
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
249
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
250
|
+
};
|
|
251
|
+
swUrl: string;
|
|
252
|
+
plugins: any[];
|
|
253
|
+
rollupFormat: "es" | "iife";
|
|
254
|
+
rollupOptions: Record<string, any>;
|
|
255
|
+
devOptions: {
|
|
256
|
+
bundle: boolean;
|
|
257
|
+
minify: boolean | "terser" | "esbuild";
|
|
258
|
+
};
|
|
259
|
+
disablePrecacheManifest: boolean;
|
|
260
|
+
maximumFileSizeToCacheInBytes: number;
|
|
261
|
+
globFollow: boolean;
|
|
262
|
+
globIgnores: string[];
|
|
263
|
+
globPatterns: string[];
|
|
264
|
+
globStrict: boolean;
|
|
265
|
+
injectionPoint: string;
|
|
266
|
+
swSrc: string;
|
|
267
|
+
swDest: string;
|
|
268
|
+
globDirectory: string;
|
|
269
|
+
additionalPrecacheEntries?: (string | {
|
|
270
|
+
url: string;
|
|
271
|
+
integrity?: string | undefined;
|
|
272
|
+
revision?: string | null | undefined;
|
|
273
|
+
})[] | undefined;
|
|
274
|
+
dontCacheBustURLsMatching?: RegExp | undefined;
|
|
275
|
+
manifestTransforms?: ((args_0: {
|
|
276
|
+
url: string;
|
|
277
|
+
size: number;
|
|
278
|
+
integrity?: string | undefined;
|
|
279
|
+
revision?: string | null | undefined;
|
|
280
|
+
}[], args_1: unknown) => {
|
|
281
|
+
manifest: {
|
|
282
|
+
url: string;
|
|
283
|
+
size: number;
|
|
284
|
+
integrity?: string | undefined;
|
|
285
|
+
revision?: string | null | undefined;
|
|
286
|
+
}[];
|
|
287
|
+
warnings?: string[] | undefined;
|
|
288
|
+
} | Promise<{
|
|
289
|
+
manifest: {
|
|
290
|
+
url: string;
|
|
291
|
+
size: number;
|
|
292
|
+
integrity?: string | undefined;
|
|
293
|
+
revision?: string | null | undefined;
|
|
294
|
+
}[];
|
|
295
|
+
warnings?: string[] | undefined;
|
|
296
|
+
}>)[] | undefined;
|
|
297
|
+
modifyURLPrefix?: Record<string, string> | undefined;
|
|
298
|
+
templatedURLs?: Record<string, string | string[]> | undefined;
|
|
299
|
+
}, {
|
|
300
|
+
mode: "development" | "production";
|
|
301
|
+
scope: string;
|
|
302
|
+
base: string;
|
|
303
|
+
swSrc: string;
|
|
304
|
+
swDest: string;
|
|
305
|
+
globDirectory: string;
|
|
306
|
+
additionalPrecacheEntries?: (string | {
|
|
307
|
+
url: string;
|
|
308
|
+
integrity?: string | undefined;
|
|
309
|
+
revision?: string | null | undefined;
|
|
310
|
+
})[] | undefined;
|
|
311
|
+
disablePrecacheManifest?: boolean | undefined;
|
|
312
|
+
dontCacheBustURLsMatching?: RegExp | undefined;
|
|
313
|
+
manifestTransforms?: ((args_0: {
|
|
314
|
+
url: string;
|
|
315
|
+
size: number;
|
|
316
|
+
integrity?: string | undefined;
|
|
317
|
+
revision?: string | null | undefined;
|
|
318
|
+
}[], args_1: unknown) => {
|
|
319
|
+
manifest: {
|
|
320
|
+
url: string;
|
|
321
|
+
size: number;
|
|
322
|
+
integrity?: string | undefined;
|
|
323
|
+
revision?: string | null | undefined;
|
|
324
|
+
}[];
|
|
325
|
+
warnings?: string[] | undefined;
|
|
326
|
+
} | Promise<{
|
|
327
|
+
manifest: {
|
|
328
|
+
url: string;
|
|
329
|
+
size: number;
|
|
330
|
+
integrity?: string | undefined;
|
|
331
|
+
revision?: string | null | undefined;
|
|
332
|
+
}[];
|
|
333
|
+
warnings?: string[] | undefined;
|
|
334
|
+
}>)[] | undefined;
|
|
335
|
+
maximumFileSizeToCacheInBytes?: number | undefined;
|
|
336
|
+
modifyURLPrefix?: Record<string, string> | undefined;
|
|
337
|
+
globFollow?: boolean | undefined;
|
|
338
|
+
globIgnores?: string[] | undefined;
|
|
339
|
+
globPatterns?: string[] | undefined;
|
|
340
|
+
globStrict?: boolean | undefined;
|
|
341
|
+
templatedURLs?: Record<string, string | string[]> | undefined;
|
|
342
|
+
injectionPoint?: string | undefined;
|
|
343
|
+
type?: "classic" | "module" | undefined;
|
|
344
|
+
disable?: boolean | undefined;
|
|
345
|
+
integration?: {
|
|
346
|
+
beforeBuildServiceWorker?: ((args_0: any) => void | Promise<void>) | undefined;
|
|
347
|
+
closeBundleOrder?: "pre" | "post" | null | undefined;
|
|
348
|
+
configureOptions?: ((args_0: any, args_1: any) => void | Promise<void>) | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
swUrl?: string | undefined;
|
|
351
|
+
plugins?: any[] | undefined;
|
|
352
|
+
rollupFormat?: "es" | "iife" | undefined;
|
|
353
|
+
rollupOptions?: Record<string, any> | undefined;
|
|
354
|
+
devOptions?: {
|
|
355
|
+
bundle?: boolean | undefined;
|
|
356
|
+
minify?: boolean | "terser" | "esbuild" | undefined;
|
|
357
|
+
} | undefined;
|
|
358
|
+
}>;
|
|
359
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/lib/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK;;;;;;;;;;;;EAIhB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;EAGrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMmC,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { BasePartial, BaseResolved, GlobPartial, GlobResolved, InjectPartial as BaseInjectPartial, InjectResolved as BaseInjectResolved, ManifestEntry, RequiredGlobDirectoryPartial, RequiredGlobDirectoryResolved, RequiredSwDestPartial, RequiredSwDestResolved } from "@serwist/build";
|
|
2
|
+
import type { Require } from "@serwist/utils";
|
|
3
|
+
import type { RollupOptions } from "rollup";
|
|
4
|
+
import type { BuildOptions, Plugin, ResolvedConfig } from "vite";
|
|
5
|
+
export interface InjectPartial {
|
|
6
|
+
/**
|
|
7
|
+
* The mode in which your service worker should be built.
|
|
8
|
+
*
|
|
9
|
+
* @default
|
|
10
|
+
* process.env.NODE_ENV // or "production" if undefined
|
|
11
|
+
*/
|
|
12
|
+
mode?: "development" | "production";
|
|
13
|
+
/**
|
|
14
|
+
* The module type with which the service worker should be registered. Usually used alongside
|
|
15
|
+
* `rollupFormat`.
|
|
16
|
+
*
|
|
17
|
+
* @default "classic"
|
|
18
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register#type
|
|
19
|
+
*/
|
|
20
|
+
type?: WorkerType;
|
|
21
|
+
/**
|
|
22
|
+
* The service worker's URL scope. Set to `"/foo/"` so that paths under "/foo/"
|
|
23
|
+
* are under the service worker's control while others are not.
|
|
24
|
+
*
|
|
25
|
+
* @default viteOptions.base
|
|
26
|
+
* @see https://vitejs.dev/config/shared-options.html#base
|
|
27
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register#scope
|
|
28
|
+
*/
|
|
29
|
+
scope?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The base from which Serwist resolves URLs.
|
|
32
|
+
*
|
|
33
|
+
* @default viteOptions.base
|
|
34
|
+
* @see https://vitejs.dev/config/shared-options.html#base
|
|
35
|
+
*/
|
|
36
|
+
base?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether Serwist should be disabled.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
disable?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Hooks of the build lifecycle.
|
|
45
|
+
*/
|
|
46
|
+
integration?: Hooks;
|
|
47
|
+
/**
|
|
48
|
+
* The URL to the service worker.
|
|
49
|
+
*
|
|
50
|
+
* @default "/sw.js"
|
|
51
|
+
*/
|
|
52
|
+
swUrl?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Rollup/Vite plugins used to build the service worker.
|
|
55
|
+
*/
|
|
56
|
+
plugins?: Plugin[];
|
|
57
|
+
/**
|
|
58
|
+
* The format used to build the service worker.
|
|
59
|
+
*
|
|
60
|
+
* @default "es"
|
|
61
|
+
*/
|
|
62
|
+
rollupFormat?: "es" | "iife";
|
|
63
|
+
/**
|
|
64
|
+
* Custom Rollup options used to build the service worker.
|
|
65
|
+
*/
|
|
66
|
+
rollupOptions?: Omit<RollupOptions, "plugins" | "output">;
|
|
67
|
+
/**
|
|
68
|
+
* Development-specific options.
|
|
69
|
+
*/
|
|
70
|
+
devOptions?: DevOptions;
|
|
71
|
+
}
|
|
72
|
+
export interface InjectResolved extends Require<InjectPartial, "mode" | "type" | "scope" | "base" | "disable" | "swUrl" | "rollupFormat"> {
|
|
73
|
+
devOptions: Required<DevOptions>;
|
|
74
|
+
}
|
|
75
|
+
export interface InjectManifestOptions extends Omit<BasePartial, "disablePrecacheManifest">, GlobPartial, BaseInjectPartial, RequiredSwDestPartial, RequiredGlobDirectoryPartial, InjectPartial {
|
|
76
|
+
}
|
|
77
|
+
export interface InjectManifestOptionsComplete extends BaseResolved, GlobResolved, BaseInjectResolved, RequiredSwDestResolved, RequiredGlobDirectoryResolved, InjectResolved {
|
|
78
|
+
}
|
|
79
|
+
export interface Hooks {
|
|
80
|
+
/**
|
|
81
|
+
* Allows you to run some logic before the service worker is built.
|
|
82
|
+
* @param options
|
|
83
|
+
* @returns
|
|
84
|
+
*/
|
|
85
|
+
beforeBuildServiceWorker?: (options: PluginOptionsComplete) => void | Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Adjusts the application order of `@serwist/vite`'s `closeBundle` hook.
|
|
88
|
+
*/
|
|
89
|
+
closeBundleOrder?: "pre" | "post" | null;
|
|
90
|
+
/**
|
|
91
|
+
* Allows you to configure the options of Serwist and Vite. Useful when there is a dependency between the two.
|
|
92
|
+
* @param viteOptions
|
|
93
|
+
* @param options
|
|
94
|
+
* @returns
|
|
95
|
+
*/
|
|
96
|
+
configureOptions?: (viteOptions: ResolvedConfig, options: PluginOptions) => void | Promise<void>;
|
|
97
|
+
}
|
|
98
|
+
export interface DevOptions {
|
|
99
|
+
/**
|
|
100
|
+
* Whether the service worker should be bundled in development mode.
|
|
101
|
+
*
|
|
102
|
+
* @default true
|
|
103
|
+
*/
|
|
104
|
+
bundle?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether the service worker should be minified in development mode.
|
|
107
|
+
*
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
110
|
+
minify?: BuildOptions["minify"];
|
|
111
|
+
}
|
|
112
|
+
export interface PluginOptions extends InjectManifestOptions {
|
|
113
|
+
}
|
|
114
|
+
export interface PluginOptionsComplete extends InjectResolved {
|
|
115
|
+
injectManifest: Omit<InjectManifestOptionsComplete, keyof InjectResolved>;
|
|
116
|
+
}
|
|
117
|
+
export interface SerwistViteApi {
|
|
118
|
+
/**
|
|
119
|
+
* Whether the plugin is disabled.
|
|
120
|
+
*/
|
|
121
|
+
disabled: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Extends the precache manifest.
|
|
124
|
+
* @param fn
|
|
125
|
+
*/
|
|
126
|
+
extendManifestEntries(fn: ExtendManifestEntriesHook): void;
|
|
127
|
+
generateSW(): Promise<void>;
|
|
128
|
+
}
|
|
129
|
+
export type ExtendManifestEntriesHook = (manifestEntries: (string | ManifestEntry)[]) => (string | ManifestEntry)[] | undefined;
|
|
130
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,QAAS,MAAM,WAEhC,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,MAAM,WAG3C,CAAC;AAEF,eAAO,MAAM,UAAU,QAAS,MAAM,4BAErC,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,MAAM,WAEzC,CAAC;AAIF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,MAAM,GAAG,IAqBrD,CAAC;AAIF;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI,QAAS,MAAM,WAI/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/lib/validator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE,eAAO,MAAM,6BAA6B,UAAiB,OAAO,KAAG,QAAQ,6BAA6B,CAMzG,CAAC"}
|
package/dist/plugins/build.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from "vite";
|
|
2
|
-
import type { SerwistViteContext } from "../context.js";
|
|
3
|
-
import type { SerwistViteApi } from "../types.js";
|
|
2
|
+
import type { SerwistViteContext } from "../lib/context.js";
|
|
3
|
+
import type { SerwistViteApi } from "../lib/types.js";
|
|
4
4
|
/**
|
|
5
5
|
* Internal build plugin used by `@serwist/vite`.
|
|
6
6
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/plugins/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/plugins/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,QAAS,kBAAkB,OAAO,cAAc,gBAkBvE,CAAC"}
|
package/dist/plugins/dev.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Plugin } from "vite";
|
|
2
|
-
import type { SerwistViteContext } from "../context.js";
|
|
3
|
-
import type { SerwistViteApi } from "../types.js";
|
|
2
|
+
import type { SerwistViteContext } from "../lib/context.js";
|
|
3
|
+
import type { SerwistViteApi } from "../lib/types.js";
|
|
4
4
|
/**
|
|
5
5
|
* Internal dev plugin used by `@serwist/vite`.
|
|
6
6
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/plugins/dev.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAiB,MAAM,MAAM,CAAC;AAElD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/plugins/dev.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAiB,MAAM,MAAM,CAAC;AAElD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAStD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,QAAS,kBAAkB,OAAO,cAAc,KAAG,MAsCxE,CAAC"}
|
package/dist/plugins/main.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from "vite";
|
|
2
|
-
import type { SerwistViteContext } from "../context.js";
|
|
3
|
-
import type { SerwistViteApi } from "../types.js";
|
|
2
|
+
import type { SerwistViteContext } from "../lib/context.js";
|
|
3
|
+
import type { SerwistViteApi } from "../lib/types.js";
|
|
4
4
|
/**
|
|
5
5
|
* Internal plugin used by `@serwist/vite`.
|
|
6
6
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/plugins/main.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAC;AAG/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/plugins/main.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAC;AAG/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,QAAS,kBAAkB,OAAO,cAAc,gBAsCtE,CAAC"}
|