@vercel/build-utils 13.33.1 → 13.35.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7dd4301: Make service bindings type optional.
8
+
9
+ ## 13.34.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 238543c: Support Python services that declare their web app and development workflow sidecars through a `pyproject.toml` entrypoint in `vercel dev`.
14
+
3
15
  ## 13.33.1
4
16
 
5
17
  ### Patch Changes
package/dist/types.d.ts CHANGED
@@ -413,6 +413,8 @@ export interface GetDevSidecarsOptions {
413
413
  workPath: string;
414
414
  /** Original build configuration before source expansion or dev filtering. */
415
415
  build: Builder;
416
+ /** Resolved Services V2 service when collecting its sidecars. */
417
+ service?: ExperimentalServiceV2;
416
418
  }
417
419
  export interface DevSubscriber {
418
420
  type: 'subscriber';
@@ -851,8 +853,8 @@ export type ExperimentalServices = Record<string, ExperimentalServiceConfig>;
851
853
  */
852
854
  export type ExperimentalServiceGroups = Record<string, string[]>;
853
855
  export interface ServiceBinding {
854
- /** Must be `"service"` for Service-to-Service HTTP bindings. */
855
- type: 'service';
856
+ /** If present, must be `"service"` for Service-to-Service HTTP bindings. */
857
+ type?: 'service';
856
858
  /** Target service name from `services`. */
857
859
  service: string;
858
860
  /** Generated value shape, must be `"url"`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.33.1",
3
+ "version": "13.35.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -53,8 +53,8 @@
53
53
  "vitest": "2.0.1",
54
54
  "typescript": "4.9.5",
55
55
  "yazl": "2.5.1",
56
- "@vercel/routing-utils": "6.4.0",
57
- "@vercel/error-utils": "2.2.0"
56
+ "@vercel/error-utils": "2.2.0",
57
+ "@vercel/routing-utils": "6.4.0"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "node build.mjs",