@vercel/fs-detectors 5.7.19 → 5.7.21
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/detect-builders.js +3 -1
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/detect-builders.js
CHANGED
|
@@ -414,7 +414,9 @@ function detectFrontBuilder(pkg, files, usedFunctions, fallbackEntrypoint, optio
|
|
|
414
414
|
const f = slugToFramework.get(framework || "");
|
|
415
415
|
if (f && f.useRuntime) {
|
|
416
416
|
const { src, use } = f.useRuntime;
|
|
417
|
-
|
|
417
|
+
const shouldUseUnifiedBackend = (0, import_build_utils.isExperimentalBackendsEnabled)() && import_build_utils.BACKEND_BUILDERS.includes(use);
|
|
418
|
+
const finalUse = shouldUseUnifiedBackend ? import_build_utils.UNIFIED_BACKEND_BUILDER : use;
|
|
419
|
+
return { src, use: `${finalUse}${withTag}`, config };
|
|
418
420
|
}
|
|
419
421
|
const entrypoints = /* @__PURE__ */ new Set([
|
|
420
422
|
"package.json",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { detectBuilders, detectOutputDirectory, detectApiDirectory, detectApiExtensions, type Options as DetectBuildersOptions, } from './detect-builders';
|
|
2
2
|
export { detectServices, generateServicesRoutes, } from './services/detect-services';
|
|
3
3
|
export { getServicesBuilders } from './services/get-services-builders';
|
|
4
|
-
export type { DetectServicesOptions, DetectServicesResult, ResolvedService, ServicesRoutes, } from './services/types';
|
|
4
|
+
export type { DetectServicesOptions, DetectServicesResult, ResolvedService, ServicesRoutes, ServiceDetectionError, } from './services/types';
|
|
5
5
|
export { detectFileSystemAPI } from './detect-file-system-api';
|
|
6
6
|
export { detectFramework, detectFrameworks, detectFrameworkRecord, detectFrameworkVersion, } from './detect-framework';
|
|
7
7
|
export { getProjectPaths } from './get-project-paths';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/fs-detectors",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.21",
|
|
4
4
|
"description": "Vercel filesystem detectors",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"minimatch": "3.1.2",
|
|
21
21
|
"semver": "6.3.1",
|
|
22
22
|
"@vercel/error-utils": "2.0.3",
|
|
23
|
-
"@vercel/
|
|
24
|
-
"@vercel/
|
|
23
|
+
"@vercel/frameworks": "3.16.1",
|
|
24
|
+
"@vercel/routing-utils": "5.3.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/glob": "7.2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/semver": "7.3.10",
|
|
33
33
|
"jest-junit": "16.0.0",
|
|
34
34
|
"typescript": "4.9.5",
|
|
35
|
-
"@vercel/build-utils": "13.2.
|
|
35
|
+
"@vercel/build-utils": "13.2.17"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "node ../../utils/build.mjs",
|