@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.32.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 7b30856: Add `vercel dev` support for Python queue subscribers defined in `pyproject.toml`.
8
+
3
9
  ## 13.32.2
4
10
 
5
11
  ### Patch Changes
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.32.2",
3
+ "version": "13.32.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",