@vercel/static-build 2.8.40 → 2.8.41
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 +8 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -22437,6 +22437,9 @@ var require_utils4 = __commonJS({
|
|
|
22437
22437
|
if (config.runtime && config.runtime in import_types.RUNTIME_BUILDERS) {
|
|
22438
22438
|
return config.runtime;
|
|
22439
22439
|
}
|
|
22440
|
+
if (config.framework && config.framework in import_types.RUNTIME_BUILDERS) {
|
|
22441
|
+
return config.framework;
|
|
22442
|
+
}
|
|
22440
22443
|
if ((0, import_framework_helpers.isPythonFramework)(config.framework)) {
|
|
22441
22444
|
return "python";
|
|
22442
22445
|
}
|
|
@@ -23230,6 +23233,9 @@ var require_auto_detect = __commonJS({
|
|
|
23230
23233
|
var BACKEND_DIR = "backend";
|
|
23231
23234
|
var SERVICES_DIR = "services";
|
|
23232
23235
|
var FRONTEND_LOCATIONS = [FRONTEND_DIR, APPS_WEB_DIR];
|
|
23236
|
+
var DETECTION_FRAMEWORKS = import_frameworks2.default.filter(
|
|
23237
|
+
(framework) => !framework.experimental || framework.runtimeFramework
|
|
23238
|
+
);
|
|
23233
23239
|
async function autoDetectServices2(options) {
|
|
23234
23240
|
const { fs: fs5 } = options;
|
|
23235
23241
|
const rootFrameworks = await (0, import_detect_framework.detectFrameworks)({
|
|
@@ -23390,7 +23396,8 @@ var require_auto_detect = __commonJS({
|
|
|
23390
23396
|
const serviceFs = fs5.chdir(dirPath);
|
|
23391
23397
|
const frameworks2 = await (0, import_detect_framework.detectFrameworks)({
|
|
23392
23398
|
fs: serviceFs,
|
|
23393
|
-
frameworkList:
|
|
23399
|
+
frameworkList: DETECTION_FRAMEWORKS,
|
|
23400
|
+
useExperimentalFrameworks: true
|
|
23394
23401
|
});
|
|
23395
23402
|
if (frameworks2.length > 1) {
|
|
23396
23403
|
const frameworkNames = frameworks2.map((f) => f.name).join(", ");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.41",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-
|
|
18
|
-
"@vercel/
|
|
19
|
-
"@vercel/
|
|
17
|
+
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.139",
|
|
19
|
+
"@vercel/static-config": "3.1.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"rc9": "1.2.0",
|
|
39
39
|
"semver": "7.5.2",
|
|
40
40
|
"tree-kill": "1.2.2",
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
43
|
-
"@vercel/
|
|
44
|
-
"@vercel/fs-detectors": "5.8.
|
|
45
|
-
"@vercel/
|
|
41
|
+
"@vercel/build-utils": "13.5.0",
|
|
42
|
+
"@vercel/error-utils": "2.0.3",
|
|
43
|
+
"@vercel/frameworks": "3.19.0",
|
|
44
|
+
"@vercel/fs-detectors": "5.8.10",
|
|
45
|
+
"@vercel/routing-utils": "5.3.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "node ../../utils/build-builder.mjs",
|