nitropack-nightly 2.12.5-20250726-101003.c3121977 → 2.12.5-20250726-160806.b49eb81d
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/meta/index.mjs
CHANGED
|
@@ -46,17 +46,33 @@ export interface VercelBuildConfigV3 {
|
|
|
46
46
|
}[];
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* https://vercel.com/docs/build-output-api/
|
|
49
|
+
* https://vercel.com/docs/build-output-api/primitives#serverless-function-configuration
|
|
50
|
+
* https://vercel.com/docs/build-output-api/primitives#node.js-config
|
|
50
51
|
*/
|
|
51
52
|
export interface VercelServerlessFunctionConfig {
|
|
52
53
|
/**
|
|
53
54
|
* Amount of memory (RAM in MB) that will be allocated to the Serverless Function.
|
|
54
55
|
*/
|
|
55
56
|
memory?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the instruction set "architecture" the Vercel Function supports.
|
|
59
|
+
*
|
|
60
|
+
* Either `x86_64` or `arm64`. The default value is `x86_64`
|
|
61
|
+
*/
|
|
62
|
+
architecture?: "x86_64" | "arm64";
|
|
56
63
|
/**
|
|
57
64
|
* Maximum execution duration (in seconds) that will be allowed for the Serverless Function.
|
|
58
65
|
*/
|
|
59
66
|
maxDuration?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Map of additional environment variables that will be available to the Vercel Function,
|
|
69
|
+
* in addition to the env vars specified in the Project Settings.
|
|
70
|
+
*/
|
|
71
|
+
environment?: Record<string, string>;
|
|
72
|
+
/**
|
|
73
|
+
* List of Vercel Regions where the Vercel Function will be deployed to.
|
|
74
|
+
*/
|
|
75
|
+
regions?: string[];
|
|
60
76
|
/**
|
|
61
77
|
* True if a custom runtime has support for Lambda runtime wrappers.
|
|
62
78
|
*/
|
|
@@ -65,6 +81,10 @@ export interface VercelServerlessFunctionConfig {
|
|
|
65
81
|
* When true, the Serverless Function will stream the response to the client.
|
|
66
82
|
*/
|
|
67
83
|
supportsResponseStreaming?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Enables source map generation.
|
|
86
|
+
*/
|
|
87
|
+
shouldAddSourcemapSupport?: boolean;
|
|
68
88
|
[key: string]: unknown;
|
|
69
89
|
}
|
|
70
90
|
export interface VercelOptions {
|
package/package.json
CHANGED