@vercel/build-utils 14.9.3 → 14.10.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 +11 -0
- package/dist/types.d.ts +8 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 14.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 54a6d73: Require schedule jitter to be an integer from 1 to 15 minutes in vercel.json and Build Output API config, matching the maximum SQS message delay. Duration strings are no longer accepted.
|
|
8
|
+
- 3d16792: Add an optional IANA `timezone` to schedules in `vercel.json` and Build Output API config. Omitted timezones use UTC. Validate configured timezones before building.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 2a57243: More robust Next.js framework version detection
|
|
13
|
+
|
|
3
14
|
## 14.9.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/types.d.ts
CHANGED
|
@@ -560,6 +560,10 @@ export interface BuildResultBuildOutput {
|
|
|
560
560
|
* @example "/path/to/.vercel/output"
|
|
561
561
|
*/
|
|
562
562
|
buildOutputPath: string;
|
|
563
|
+
framework?: {
|
|
564
|
+
slug: string;
|
|
565
|
+
version: string;
|
|
566
|
+
};
|
|
563
567
|
}
|
|
564
568
|
export interface Cron {
|
|
565
569
|
path: string;
|
|
@@ -568,8 +572,8 @@ export interface Cron {
|
|
|
568
572
|
export interface ScheduleExpression {
|
|
569
573
|
/** Cron expression describing when the schedule fires (REQUIRED) */
|
|
570
574
|
cron: string;
|
|
571
|
-
/** Maximum random delay applied to each firing,
|
|
572
|
-
jitter?:
|
|
575
|
+
/** Maximum random delay applied to each firing, from 1 to 15 whole minutes (OPTIONAL) */
|
|
576
|
+
jitter?: number;
|
|
573
577
|
}
|
|
574
578
|
export type ScheduleTarget = {
|
|
575
579
|
/** Build output path of the function to invoke, e.g. "api/cron" */
|
|
@@ -582,6 +586,8 @@ export interface Schedule {
|
|
|
582
586
|
/** Unique name of the schedule within the deployment (REQUIRED) */
|
|
583
587
|
name: string;
|
|
584
588
|
expression: ScheduleExpression;
|
|
589
|
+
/** IANA timezone for cron evaluation, e.g. "America/New_York". Defaults to UTC. */
|
|
590
|
+
timezone?: string;
|
|
585
591
|
target: ScheduleTarget;
|
|
586
592
|
/** Payload delivered with each firing (OPTIONAL) */
|
|
587
593
|
payload?: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/build-utils",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.10.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"vitest": "4.1.10",
|
|
53
53
|
"typescript": "4.9.5",
|
|
54
54
|
"yazl": "2.5.1",
|
|
55
|
-
"@vercel/
|
|
56
|
-
"@vercel/
|
|
55
|
+
"@vercel/error-utils": "2.2.1",
|
|
56
|
+
"@vercel/routing-utils": "6.5.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "node build.mjs",
|