@vercel/build-utils 13.32.2 → 13.33.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/CHANGELOG.md +12 -0
- package/dist/deploy-manifest.d.ts +7 -1
- package/dist/types.d.ts +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 13.33.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 607f0ef: Add service information to deploy-manifest.
|
|
8
|
+
|
|
9
|
+
## 13.32.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7b30856: Add `vercel dev` support for Python queue subscribers defined in `pyproject.toml`.
|
|
14
|
+
|
|
3
15
|
## 13.32.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import type { PackageManifest } from './package-manifest';
|
|
2
|
-
|
|
2
|
+
import type { ServiceBinding } from './types';
|
|
3
|
+
export interface DeployManifestBuild extends Omit<PackageManifest, 'version'> {
|
|
3
4
|
root: string;
|
|
4
5
|
builder: string;
|
|
5
6
|
}
|
|
7
|
+
export interface DeployManifestService {
|
|
8
|
+
builds: string[];
|
|
9
|
+
bindings?: ServiceBinding[];
|
|
10
|
+
}
|
|
6
11
|
export interface DeployManifest {
|
|
7
12
|
manifestVersion: '2.0';
|
|
8
13
|
builds: Record<string, DeployManifestBuild>;
|
|
14
|
+
services?: Record<string, DeployManifestService>;
|
|
9
15
|
}
|
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';
|