@vercel/static-build 2.9.26 → 2.9.27
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 +11 -19
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -8955,9 +8955,10 @@ var require_frameworks = __commonJS({
|
|
|
8955
8955
|
website: "https://tanstack.com/start",
|
|
8956
8956
|
supersedes: ["ionic-react", "vite"],
|
|
8957
8957
|
detectors: {
|
|
8958
|
-
every: [
|
|
8959
|
-
|
|
8960
|
-
{ matchPackage: "
|
|
8958
|
+
every: [{ matchPackage: "@tanstack/router-plugin" }],
|
|
8959
|
+
some: [
|
|
8960
|
+
{ matchPackage: "@tanstack/react-start" },
|
|
8961
|
+
{ matchPackage: "@tanstack/solid-start" }
|
|
8961
8962
|
]
|
|
8962
8963
|
},
|
|
8963
8964
|
settings: {
|
|
@@ -23495,6 +23496,7 @@ var require_resolve = __commonJS({
|
|
|
23495
23496
|
runtime,
|
|
23496
23497
|
buildCommand: config.buildCommand,
|
|
23497
23498
|
installCommand: config.installCommand,
|
|
23499
|
+
preDeployCommand: config.preDeployCommand,
|
|
23498
23500
|
schedule: config.schedule,
|
|
23499
23501
|
handlerFunction: moduleAttrParsed?.attrName,
|
|
23500
23502
|
topics,
|
|
@@ -24067,12 +24069,12 @@ var require_detect_railway = __commonJS({
|
|
|
24067
24069
|
if (cf.dirPath !== ".") {
|
|
24068
24070
|
serviceConfig.entrypoint = cf.dirPath;
|
|
24069
24071
|
}
|
|
24070
|
-
|
|
24071
|
-
cf.config.build
|
|
24072
|
-
|
|
24073
|
-
|
|
24074
|
-
if (
|
|
24075
|
-
serviceConfig.
|
|
24072
|
+
if (cf.config.build?.buildCommand) {
|
|
24073
|
+
serviceConfig.buildCommand = cf.config.build.buildCommand;
|
|
24074
|
+
}
|
|
24075
|
+
const railwayPreDeploy = cf.config.deploy?.preDeployCommand;
|
|
24076
|
+
if (railwayPreDeploy) {
|
|
24077
|
+
serviceConfig.preDeployCommand = Array.isArray(railwayPreDeploy) ? railwayPreDeploy.join(" && ") : railwayPreDeploy;
|
|
24076
24078
|
}
|
|
24077
24079
|
services[serviceName] = serviceConfig;
|
|
24078
24080
|
}
|
|
@@ -24169,16 +24171,6 @@ var require_detect_railway = __commonJS({
|
|
|
24169
24171
|
const segments = dirPath.split("/");
|
|
24170
24172
|
return segments[segments.length - 1];
|
|
24171
24173
|
}
|
|
24172
|
-
function combineBuildCommand(buildCommand, preDeployCommand) {
|
|
24173
|
-
const preDeploy = Array.isArray(preDeployCommand) ? preDeployCommand.join(" && ") : preDeployCommand;
|
|
24174
|
-
if (preDeploy && buildCommand) {
|
|
24175
|
-
return `${buildCommand} && ${preDeploy}`;
|
|
24176
|
-
} else if (preDeploy) {
|
|
24177
|
-
return preDeploy;
|
|
24178
|
-
} else {
|
|
24179
|
-
return buildCommand;
|
|
24180
|
-
}
|
|
24181
|
-
}
|
|
24182
24174
|
function assignRoutePrefixes(services) {
|
|
24183
24175
|
const warnings = [];
|
|
24184
24176
|
const names = Object.keys(services);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.27",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
18
|
-
"@vercel/
|
|
19
|
-
"@vercel/
|
|
18
|
+
"@vercel/static-config": "3.3.0",
|
|
19
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.2.5"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"semver": "7.5.2",
|
|
38
38
|
"tree-kill": "1.2.2",
|
|
39
39
|
"vitest": "2.0.3",
|
|
40
|
-
"@vercel/build-utils": "13.24.0",
|
|
41
|
-
"@vercel/frameworks": "3.26.0",
|
|
42
|
-
"@vercel/fs-detectors": "6.3.0",
|
|
43
40
|
"@vercel/error-utils": "2.1.0",
|
|
44
|
-
"@vercel/
|
|
41
|
+
"@vercel/frameworks": "3.26.1",
|
|
42
|
+
"@vercel/build-utils": "13.25.0",
|
|
43
|
+
"@vercel/routing-utils": "6.2.0",
|
|
44
|
+
"@vercel/fs-detectors": "6.4.0"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "node ../../utils/build-builder.mjs",
|