@vercel/build-utils 6.1.0 → 6.2.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/dist/index.js +6 -0
- package/dist/lambda.d.ts +1 -1
- package/dist/lambda.js +1 -0
- package/dist/schemas.d.ts +5 -0
- package/dist/schemas.js +5 -0
- package/dist/types.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -31851,6 +31851,7 @@ async function getLambdaOptionsFromFunction({ sourceFile, config, }) {
|
|
31851
31851
|
return {
|
31852
31852
|
memory: fn.memory,
|
31853
31853
|
maxDuration: fn.maxDuration,
|
31854
|
+
cron: fn.cron,
|
31854
31855
|
};
|
31855
31856
|
}
|
31856
31857
|
}
|
@@ -31992,6 +31993,11 @@ exports.functionsSchema = {
|
|
31992
31993
|
type: 'string',
|
31993
31994
|
maxLength: 256,
|
31994
31995
|
},
|
31996
|
+
cron: {
|
31997
|
+
type: 'string',
|
31998
|
+
minLength: 9,
|
31999
|
+
maxLength: 256,
|
32000
|
+
},
|
31995
32001
|
},
|
31996
32002
|
},
|
31997
32003
|
},
|
package/dist/lambda.d.ts
CHANGED
@@ -66,5 +66,5 @@ export declare class Lambda {
|
|
66
66
|
*/
|
67
67
|
export declare function createLambda(opts: LambdaOptions): Promise<Lambda>;
|
68
68
|
export declare function createZip(files: Files): Promise<Buffer>;
|
69
|
-
export declare function getLambdaOptionsFromFunction({ sourceFile, config, }: GetLambdaOptionsFromFunctionOptions): Promise<Pick<LambdaOptions, 'memory' | 'maxDuration'>>;
|
69
|
+
export declare function getLambdaOptionsFromFunction({ sourceFile, config, }: GetLambdaOptionsFromFunctionOptions): Promise<Pick<LambdaOptions, 'memory' | 'maxDuration' | 'cron'>>;
|
70
70
|
export {};
|
package/dist/lambda.js
CHANGED
package/dist/schemas.d.ts
CHANGED
package/dist/schemas.js
CHANGED
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.2.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.js",
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"typescript": "4.3.4",
|
52
52
|
"yazl": "2.5.1"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "a585969dd3b77a4ed36d6a2ca11b34f9050489f1"
|
55
55
|
}
|