From e3754f7bca5367027f817f014f2070321f37beba Mon Sep 17 00:00:00 2001 From: Rihan Arfan Date: Tue, 31 Mar 2026 21:38:17 +0100 Subject: [PATCH 1/2] chore(vercel): support `max` value on `maxDuration` types --- src/presets/vercel/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/presets/vercel/types.ts b/src/presets/vercel/types.ts index e86904c254..3a1bd90d61 100644 --- a/src/presets/vercel/types.ts +++ b/src/presets/vercel/types.ts @@ -70,9 +70,9 @@ export interface VercelServerlessFunctionConfig { architecture?: "x86_64" | "arm64"; /** - * Maximum execution duration (in seconds) that will be allowed for the Serverless Function. + * Maximum execution duration (in seconds) that will be allowed for the Serverless Function. `max` automatically sets the duration to the maximum allowed value. */ - maxDuration?: number; + maxDuration?: number | 'max'; /** * Map of additional environment variables that will be available to the Vercel Function, From 95586f4f3e1dcce7b7a537613ca9cc1259d3a19c Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:40:59 +0000 Subject: [PATCH 2/2] chore: apply automated updates --- src/presets/vercel/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/presets/vercel/types.ts b/src/presets/vercel/types.ts index 3a1bd90d61..85557c8803 100644 --- a/src/presets/vercel/types.ts +++ b/src/presets/vercel/types.ts @@ -72,7 +72,7 @@ export interface VercelServerlessFunctionConfig { /** * Maximum execution duration (in seconds) that will be allowed for the Serverless Function. `max` automatically sets the duration to the maximum allowed value. */ - maxDuration?: number | 'max'; + maxDuration?: number | "max"; /** * Map of additional environment variables that will be available to the Vercel Function,