vercel 50.4.7 → 50.4.8
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 +40 -18
- package/package.json +18 -18
package/dist/index.js
CHANGED
|
@@ -50328,7 +50328,7 @@ var require_package = __commonJS2({
|
|
|
50328
50328
|
"../client/package.json"(exports2, module2) {
|
|
50329
50329
|
module2.exports = {
|
|
50330
50330
|
name: "@vercel/client",
|
|
50331
|
-
version: "17.2.
|
|
50331
|
+
version: "17.2.27",
|
|
50332
50332
|
main: "dist/index.js",
|
|
50333
50333
|
typings: "dist/index.d.ts",
|
|
50334
50334
|
homepage: "https://vercel.com",
|
|
@@ -81394,6 +81394,7 @@ var require_frameworks = __commonJS2({
|
|
|
81394
81394
|
name: "Python",
|
|
81395
81395
|
slug: "python",
|
|
81396
81396
|
experimental: true,
|
|
81397
|
+
runtimeFramework: true,
|
|
81397
81398
|
logo: "https://api-frameworks.vercel.sh/framework-logos/python.svg",
|
|
81398
81399
|
tagline: "Python is a programming language that lets you work quickly and integrate systems more effectively.",
|
|
81399
81400
|
description: "A generic Python application deployed as a serverless function.",
|
|
@@ -81440,6 +81441,33 @@ var require_frameworks = __commonJS2({
|
|
|
81440
81441
|
}
|
|
81441
81442
|
]
|
|
81442
81443
|
},
|
|
81444
|
+
{
|
|
81445
|
+
name: "Services",
|
|
81446
|
+
slug: "services",
|
|
81447
|
+
experimental: true,
|
|
81448
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/other.svg",
|
|
81449
|
+
tagline: "Multiple services deployed as serverless functions within your project.",
|
|
81450
|
+
description: "Multiple services deployed as serverless functions within your project.",
|
|
81451
|
+
website: "https://vercel.com",
|
|
81452
|
+
detectors: {},
|
|
81453
|
+
settings: {
|
|
81454
|
+
installCommand: {
|
|
81455
|
+
placeholder: "None"
|
|
81456
|
+
},
|
|
81457
|
+
buildCommand: {
|
|
81458
|
+
placeholder: "None",
|
|
81459
|
+
value: null
|
|
81460
|
+
},
|
|
81461
|
+
devCommand: {
|
|
81462
|
+
placeholder: "None",
|
|
81463
|
+
value: null
|
|
81464
|
+
},
|
|
81465
|
+
outputDirectory: {
|
|
81466
|
+
value: "N/A"
|
|
81467
|
+
}
|
|
81468
|
+
},
|
|
81469
|
+
getOutputDirName: async () => "public"
|
|
81470
|
+
},
|
|
81443
81471
|
{
|
|
81444
81472
|
name: "Other",
|
|
81445
81473
|
slug: null,
|
|
@@ -172167,7 +172195,8 @@ import {
|
|
|
172167
172195
|
FileBlob,
|
|
172168
172196
|
FileFsRef as FileFsRef3,
|
|
172169
172197
|
normalizePath as normalizePath5,
|
|
172170
|
-
isBackendFramework
|
|
172198
|
+
isBackendFramework,
|
|
172199
|
+
isPythonFramework
|
|
172171
172200
|
} from "@vercel/build-utils";
|
|
172172
172201
|
async function createBuildProcess(match, envConfigs, workPath) {
|
|
172173
172202
|
output_manager_default.debug(`Creating build process for "${match.entrypoint}"`);
|
|
@@ -172441,22 +172470,15 @@ async function getBuildMatches(vercelConfig, cwd, devServer, fileList) {
|
|
|
172441
172470
|
if (isBackendFramework(buildConfig.config?.framework)) {
|
|
172442
172471
|
src = "package.json";
|
|
172443
172472
|
}
|
|
172444
|
-
if (buildConfig.config?.framework
|
|
172445
|
-
const
|
|
172446
|
-
|
|
172447
|
-
|
|
172448
|
-
|
|
172449
|
-
|
|
172450
|
-
|
|
172451
|
-
|
|
172452
|
-
|
|
172453
|
-
if (!fileList.includes(src)) {
|
|
172454
|
-
const existing = candidates.filter((p) => fileList.includes(p));
|
|
172455
|
-
if (existing.length > 0) {
|
|
172456
|
-
src = existing[0];
|
|
172457
|
-
} else if (fileList.includes("pyproject.toml")) {
|
|
172458
|
-
src = "pyproject.toml";
|
|
172459
|
-
}
|
|
172473
|
+
if (buildConfig.config?.framework && isPythonFramework(buildConfig.config?.framework)) {
|
|
172474
|
+
const pythonManifestFiles = [
|
|
172475
|
+
"pyproject.toml",
|
|
172476
|
+
"requirements.txt",
|
|
172477
|
+
"Pipfile"
|
|
172478
|
+
];
|
|
172479
|
+
const existing = pythonManifestFiles.filter((p) => fileList.includes(p));
|
|
172480
|
+
if (existing.length > 0) {
|
|
172481
|
+
src = existing[0];
|
|
172460
172482
|
}
|
|
172461
172483
|
}
|
|
172462
172484
|
const mapToEntrypoint = /* @__PURE__ */ new Map();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "50.4.
|
|
3
|
+
"version": "50.4.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"form-data": "^4.0.0",
|
|
30
30
|
"jose": "5.9.6",
|
|
31
31
|
"@vercel/backends": "0.0.22",
|
|
32
|
-
"@vercel/build-utils": "13.2.12",
|
|
33
32
|
"@vercel/detect-agent": "1.0.0",
|
|
34
|
-
"@vercel/elysia": "0.1.
|
|
35
|
-
"@vercel/
|
|
36
|
-
"@vercel/
|
|
33
|
+
"@vercel/elysia": "0.1.24",
|
|
34
|
+
"@vercel/build-utils": "13.2.13",
|
|
35
|
+
"@vercel/express": "0.1.31",
|
|
36
|
+
"@vercel/fastify": "0.1.27",
|
|
37
37
|
"@vercel/go": "3.3.3",
|
|
38
|
-
"@vercel/
|
|
39
|
-
"@vercel/
|
|
38
|
+
"@vercel/hono": "0.2.27",
|
|
39
|
+
"@vercel/h3": "0.1.33",
|
|
40
40
|
"@vercel/hydrogen": "1.3.5",
|
|
41
|
-
"@vercel/koa": "0.1.
|
|
42
|
-
"@vercel/nestjs": "0.2.27",
|
|
41
|
+
"@vercel/koa": "0.1.7",
|
|
43
42
|
"@vercel/next": "4.15.15",
|
|
44
|
-
"@vercel/node": "5.5.
|
|
45
|
-
"@vercel/
|
|
43
|
+
"@vercel/node": "5.5.25",
|
|
44
|
+
"@vercel/nestjs": "0.2.28",
|
|
45
|
+
"@vercel/python": "6.2.1",
|
|
46
46
|
"@vercel/redwood": "2.4.9",
|
|
47
47
|
"@vercel/remix-builder": "5.5.9",
|
|
48
48
|
"@vercel/ruby": "2.2.4",
|
|
49
49
|
"@vercel/rust": "1.0.4",
|
|
50
|
-
"@vercel/static-build": "2.8.
|
|
50
|
+
"@vercel/static-build": "2.8.25"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@alex_neo/jest-expect-message": "1.0.5",
|
|
@@ -171,14 +171,14 @@
|
|
|
171
171
|
"write-json-file": "2.2.0",
|
|
172
172
|
"xdg-app-paths": "5.1.0",
|
|
173
173
|
"yauzl-promise": "2.1.3",
|
|
174
|
-
"@vercel-internals/
|
|
174
|
+
"@vercel-internals/constants": "1.0.4",
|
|
175
175
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
176
|
-
"@vercel/
|
|
176
|
+
"@vercel-internals/types": "3.0.6",
|
|
177
|
+
"@vercel/client": "17.2.27",
|
|
177
178
|
"@vercel/error-utils": "2.0.3",
|
|
178
|
-
"@vercel/frameworks": "3.15.
|
|
179
|
-
"@vercel/
|
|
180
|
-
"@vercel/
|
|
181
|
-
"@vercel-internals/constants": "1.0.4"
|
|
179
|
+
"@vercel/frameworks": "3.15.7",
|
|
180
|
+
"@vercel/fs-detectors": "5.7.15",
|
|
181
|
+
"@vercel/routing-utils": "5.3.2"
|
|
182
182
|
},
|
|
183
183
|
"scripts": {
|
|
184
184
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|