@vercel/build-utils 13.14.1 → 13.14.2

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.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Add `mount` support for experimental services across config validation and service resolution. ([#15882](https://github.com/vercel/vercel/pull/15882))
8
+
3
9
  ## 13.14.1
4
10
 
5
11
  ### Patch Changes
package/dist/types.d.ts CHANGED
@@ -658,6 +658,12 @@ export interface TriggerEvent extends TriggerEventBase {
658
658
  }
659
659
  export type ServiceRuntime = 'node' | 'python' | 'go' | 'rust' | 'ruby';
660
660
  export type ServiceType = 'web' | 'cron' | 'worker';
661
+ export interface ServiceMount {
662
+ /** URL path prefix where the service is mounted. */
663
+ path?: string;
664
+ /** Optional subdomain this service is mounted on. */
665
+ subdomain?: string;
666
+ }
661
667
  /**
662
668
  * Configuration for a service in vercel.json.
663
669
  * @experimental This feature is experimental and may change.
@@ -684,7 +690,9 @@ export interface ExperimentalServiceConfig {
684
690
  maxDuration?: MaxDuration;
685
691
  includeFiles?: string | string[];
686
692
  excludeFiles?: string | string[];
687
- /** URL prefix for routing */
693
+ /** Preferred routing config alias for routePrefix/subdomain. */
694
+ mount?: string | ServiceMount;
695
+ /** URL prefix for routing (deprecated, use mount instead) */
688
696
  routePrefix?: string;
689
697
  /** Subdomain this service should respond to (web services only). */
690
698
  subdomain?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.14.1",
3
+ "version": "13.14.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",