@vercel/build-utils 13.32.2 → 13.32.3
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/CHANGELOG.md +6 -0
- package/dist/types.d.ts +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -409,6 +409,24 @@ export interface ProjectSettings {
|
|
|
409
409
|
gitForkProtection?: boolean;
|
|
410
410
|
commandForIgnoringBuildStep?: string | null;
|
|
411
411
|
}
|
|
412
|
+
export interface GetDevSidecarsOptions {
|
|
413
|
+
workPath: string;
|
|
414
|
+
/** Original build configuration before source expansion or dev filtering. */
|
|
415
|
+
build: Builder;
|
|
416
|
+
}
|
|
417
|
+
export interface DevSubscriber {
|
|
418
|
+
type: 'subscriber';
|
|
419
|
+
name: string;
|
|
420
|
+
consumer: string;
|
|
421
|
+
workspace: string;
|
|
422
|
+
framework?: string;
|
|
423
|
+
runtime?: string;
|
|
424
|
+
builder: Builder;
|
|
425
|
+
topics: ServiceTopics;
|
|
426
|
+
}
|
|
427
|
+
export type DevSidecar = DevSubscriber;
|
|
428
|
+
/** Returns additional processes that a builder needs alongside its primary dev server. */
|
|
429
|
+
export type GetDevSidecars = (options: GetDevSidecarsOptions) => Promise<DevSidecar[]>;
|
|
412
430
|
export interface BuilderVX {
|
|
413
431
|
version: -1;
|
|
414
432
|
build: BuildVX;
|
|
@@ -416,6 +434,7 @@ export interface BuilderVX {
|
|
|
416
434
|
prepareCache?: PrepareCache;
|
|
417
435
|
shouldServe?: ShouldServe;
|
|
418
436
|
startDevServer?: StartDevServer;
|
|
437
|
+
getDevSidecars?: GetDevSidecars;
|
|
419
438
|
}
|
|
420
439
|
export interface BuilderV2 {
|
|
421
440
|
version: 2;
|
|
@@ -424,6 +443,7 @@ export interface BuilderV2 {
|
|
|
424
443
|
prepareCache?: PrepareCache;
|
|
425
444
|
shouldServe?: ShouldServe;
|
|
426
445
|
startDevServer?: StartDevServer;
|
|
446
|
+
getDevSidecars?: GetDevSidecars;
|
|
427
447
|
}
|
|
428
448
|
export interface BuilderV3 {
|
|
429
449
|
version: 3;
|
|
@@ -432,6 +452,7 @@ export interface BuilderV3 {
|
|
|
432
452
|
prepareCache?: PrepareCache;
|
|
433
453
|
shouldServe?: ShouldServe;
|
|
434
454
|
startDevServer?: StartDevServer;
|
|
455
|
+
getDevSidecars?: GetDevSidecars;
|
|
435
456
|
}
|
|
436
457
|
type ImageFormat = 'image/avif' | 'image/webp';
|
|
437
458
|
type ImageContentDispositionType = 'inline' | 'attachment';
|