@vercel/redwood 3.0.0 → 5.0.1
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 +3 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2822,7 +2822,8 @@ var build = async ({
|
|
|
2822
2822
|
entrypoint,
|
|
2823
2823
|
meta = {},
|
|
2824
2824
|
config = {},
|
|
2825
|
-
service
|
|
2825
|
+
service,
|
|
2826
|
+
span
|
|
2826
2827
|
}) => {
|
|
2827
2828
|
await (0, import_build_utils.download)(files, workPath, meta);
|
|
2828
2829
|
const prefixedEnvs = (0, import_build_utils.getPrefixedEnvVars)({
|
|
@@ -3024,7 +3025,7 @@ var build = async ({
|
|
|
3024
3025
|
});
|
|
3025
3026
|
}
|
|
3026
3027
|
lambdaFiles[(0, import_path.relative)(workPath, fileFsRef.fsPath)] = fileFsRef;
|
|
3027
|
-
const staticConfig = (0, import_static_config.getConfig)(project, sourceFile);
|
|
3028
|
+
const staticConfig = (0, import_static_config.getConfig)(project, sourceFile, void 0, span);
|
|
3028
3029
|
const regions = staticConfig?.regions;
|
|
3029
3030
|
if (regions && !Array.isArray(regions)) {
|
|
3030
3031
|
throw new Error('"regions" configuration must be an array');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/redwood",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"@vercel/nft": "1.10.0",
|
|
17
17
|
"semver": "6.3.1",
|
|
18
18
|
"ts-morph": "12.0.0",
|
|
19
|
-
"@vercel/static-config": "3.4.
|
|
19
|
+
"@vercel/static-config": "3.4.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@vercel/build-utils": "14.
|
|
22
|
+
"@vercel/build-utils": "14.5.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/aws-lambda": "8.10.19",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"execa": "3.2.0",
|
|
29
29
|
"fs-extra": "11.1.0",
|
|
30
30
|
"vitest": "4.1.10",
|
|
31
|
-
"@vercel/build-utils": "14.
|
|
31
|
+
"@vercel/build-utils": "14.5.0",
|
|
32
32
|
"@vercel/routing-utils": "6.5.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|