vercel 50.33.0 → 50.33.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/chunks/{chunk-PROJ6OWB.js → chunk-3M73Y7IM.js} +3 -3
- package/dist/chunks/{chunk-FUXLBOKJ.js → chunk-C2PIWQ2C.js} +2 -2
- package/dist/chunks/{chunk-ORIYWHRW.js → chunk-DPRZMI7B.js} +2 -2
- package/dist/chunks/{chunk-S37SYOM7.js → chunk-EZFF3IZR.js} +2 -2
- package/dist/chunks/{chunk-J5GEWLM6.js → chunk-GPS3QG2J.js} +1 -1
- package/dist/chunks/{chunk-AEWPH6JJ.js → chunk-HEBKSTJU.js} +1 -1
- package/dist/chunks/{chunk-YPGQPP7E.js → chunk-IIHWQEO5.js} +4 -4
- package/dist/chunks/{chunk-NKVB5BF4.js → chunk-IM6P2I5W.js} +1 -1
- package/dist/chunks/{chunk-CTCVK5HY.js → chunk-LCP5SRFI.js} +1 -1
- package/dist/chunks/{chunk-QZXG54D3.js → chunk-NXOZX27U.js} +1 -1
- package/dist/chunks/{chunk-UABJEQL6.js → chunk-OESBY636.js} +1 -1
- package/dist/chunks/{chunk-XHKLIKVT.js → chunk-QEJUUVQ5.js} +3 -3
- package/dist/chunks/{chunk-2AEWRDGY.js → chunk-RHUKJ7OR.js} +5 -5
- package/dist/chunks/{chunk-HWWNJ65G.js → chunk-SL56SOZK.js} +1 -1
- package/dist/chunks/{chunk-BKR43TKN.js → chunk-TN77H34V.js} +1 -1
- package/dist/chunks/{chunk-NF3MSQPT.js → chunk-U7WYFYT7.js} +40 -38
- package/dist/chunks/{chunk-C45VNQLV.js → chunk-XYEQKOCN.js} +1 -1
- package/dist/chunks/{chunk-VWDKLCYD.js → chunk-Z3WSSW7K.js} +4 -4
- package/dist/chunks/{chunk-F3XLCTJI.js → chunk-ZA7B7LXL.js} +3 -3
- package/dist/chunks/{chunk-WTF3UC76.js → chunk-ZCLE24XW.js} +4 -4
- package/dist/chunks/{chunk-OYDS5OOQ.js → chunk-ZGEOIAUP.js} +1 -1
- package/dist/chunks/{compile-vercel-config-K7L3OECT.js → compile-vercel-config-J2YHXM4P.js} +2 -2
- package/dist/chunks/{delete-AXXJISFO.js → delete-UYZJEKMR.js} +2 -2
- package/dist/chunks/{disable-Q62M5TKI.js → disable-VKJEEFGB.js} +2 -2
- package/dist/chunks/{discard-3IAHFXJF.js → discard-JRTZQS5N.js} +2 -2
- package/dist/chunks/{edit-JM3UL3NX.js → edit-OGKZPWBW.js} +3 -3
- package/dist/chunks/{enable-E7NRJBAH.js → enable-REXWHBKN.js} +2 -2
- package/dist/chunks/{export-L44PJY3N.js → export-K5FKTTKP.js} +2 -2
- package/dist/chunks/{list-3OWFG625.js → list-FYVMOLWX.js} +2 -2
- package/dist/chunks/{list-52ZFC4OZ.js → list-W6TR7RA3.js} +2 -2
- package/dist/chunks/{publish-MMZQVTCM.js → publish-2NQTVPYT.js} +2 -2
- package/dist/chunks/{query-FVDOVPUL.js → query-YKR2KXGC.js} +2 -2
- package/dist/chunks/{reorder-WMO43ZOM.js → reorder-GGXBU3XH.js} +2 -2
- package/dist/chunks/{restore-Y5RDXGBR.js → restore-JFCF5QRC.js} +2 -2
- package/dist/commands/build/index.js +13 -13
- package/dist/commands/deploy/index.js +13 -13
- package/dist/commands/dev/index.js +11 -11
- package/dist/commands/env/index.js +6 -6
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +32 -32
- package/dist/index.js +12 -12
- package/dist/version.mjs +1 -1
- package/package.json +13 -13
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SL56SOZK.js";
|
|
10
10
|
import {
|
|
11
11
|
compileVercelConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XYEQKOCN.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR_PROJECT,
|
|
15
15
|
VERCEL_DIR_README,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
selectAndParseRemoteUrl,
|
|
32
32
|
selectOrg,
|
|
33
33
|
tryDetectServices
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U7WYFYT7.js";
|
|
35
35
|
import {
|
|
36
36
|
table
|
|
37
37
|
} from "./chunk-K2VZKBUV.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_end_of_stream
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LCP5SRFI.js";
|
|
10
10
|
import {
|
|
11
11
|
require_once
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U7WYFYT7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_signal_exit
|
|
15
15
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-QXRJ52T4.js";
|
|
10
10
|
import {
|
|
11
11
|
require_end_of_stream
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LCP5SRFI.js";
|
|
13
13
|
import {
|
|
14
14
|
require_graceful_fs,
|
|
15
15
|
require_inherits,
|
|
16
16
|
require_minimatch,
|
|
17
17
|
require_once
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-U7WYFYT7.js";
|
|
19
19
|
import {
|
|
20
20
|
require_ms
|
|
21
21
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3M73Y7IM.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCommandWithYes,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
outputActionRequired,
|
|
14
14
|
param,
|
|
15
15
|
resolveProjectCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U7WYFYT7.js";
|
|
17
17
|
import {
|
|
18
18
|
getCommandName,
|
|
19
19
|
getCommandNamePlain
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IM6P2I5W.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z3WSSW7K.js";
|
|
13
13
|
import {
|
|
14
14
|
loginCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZA7B7LXL.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
18
|
} from "./chunk-FLNT6F6U.js";
|
|
19
19
|
import {
|
|
20
20
|
outputActionRequired
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-U7WYFYT7.js";
|
|
22
22
|
import {
|
|
23
23
|
TelemetryClient
|
|
24
24
|
} from "./chunk-NEZW5RL2.js";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist as require_dist2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DPRZMI7B.js";
|
|
13
13
|
import {
|
|
14
14
|
require_execa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C2PIWQ2C.js";
|
|
16
16
|
import {
|
|
17
17
|
VERCEL_DIR,
|
|
18
18
|
readJSONFile,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
require_dist2 as require_dist4,
|
|
22
22
|
require_lib,
|
|
23
23
|
require_minimatch2 as require_minimatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-U7WYFYT7.js";
|
|
25
25
|
import {
|
|
26
26
|
require_pluralize
|
|
27
27
|
} from "./chunk-7EHTK7LP.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep,
|
|
12
12
|
ua_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z3WSSW7K.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-XR53KVJD.js";
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
} from "./chunk-WLQVWIUI.js";
|
|
21
21
|
import {
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OESBY636.js";
|
|
24
24
|
import {
|
|
25
25
|
CommandTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZA7B7LXL.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist as require_dist3
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DPRZMI7B.js";
|
|
30
30
|
import {
|
|
31
31
|
require_lib
|
|
32
32
|
} from "./chunk-QXRJ52T4.js";
|
|
33
33
|
import {
|
|
34
34
|
getProjectByNameOrId,
|
|
35
35
|
param
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-U7WYFYT7.js";
|
|
37
37
|
import {
|
|
38
38
|
stamp_default
|
|
39
39
|
} from "./chunk-SOTR4CXR.js";
|
|
@@ -16837,7 +16837,7 @@ var require_types3 = __commonJS({
|
|
|
16837
16837
|
});
|
|
16838
16838
|
module2.exports = __toCommonJS(types_exports);
|
|
16839
16839
|
var RUNTIME_BUILDERS = {
|
|
16840
|
-
node: "@vercel/
|
|
16840
|
+
node: "@vercel/backends",
|
|
16841
16841
|
python: "@vercel/python",
|
|
16842
16842
|
go: "@vercel/go",
|
|
16843
16843
|
rust: "@vercel/rust",
|
|
@@ -17290,11 +17290,9 @@ var require_detect_framework = __commonJS({
|
|
|
17290
17290
|
var require_resolve = __commonJS({
|
|
17291
17291
|
"../fs-detectors/dist/services/resolve.js"(exports2, module2) {
|
|
17292
17292
|
"use strict";
|
|
17293
|
-
var __create = Object.create;
|
|
17294
17293
|
var __defProp = Object.defineProperty;
|
|
17295
17294
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
17296
17295
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
17297
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
17298
17296
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
17299
17297
|
var __export = (target, all) => {
|
|
17300
17298
|
for (var name in all)
|
|
@@ -17308,14 +17306,6 @@ var require_resolve = __commonJS({
|
|
|
17308
17306
|
}
|
|
17309
17307
|
return to;
|
|
17310
17308
|
};
|
|
17311
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17312
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17313
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
17314
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
17315
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
17316
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
17317
|
-
mod
|
|
17318
|
-
));
|
|
17319
17309
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17320
17310
|
var resolve_exports = {};
|
|
17321
17311
|
__export(resolve_exports, {
|
|
@@ -17328,10 +17318,11 @@ var require_resolve = __commonJS({
|
|
|
17328
17318
|
var import_path11 = __require("path");
|
|
17329
17319
|
var import_types = require_types3();
|
|
17330
17320
|
var import_utils4 = require_utils3();
|
|
17331
|
-
var import_frameworks2 =
|
|
17321
|
+
var import_frameworks2 = require_frameworks();
|
|
17332
17322
|
var import_detect_framework = require_detect_framework();
|
|
17333
17323
|
var import_routing_utils = require_dist5();
|
|
17334
|
-
var
|
|
17324
|
+
var import_build_utils3 = __require("@vercel/build-utils");
|
|
17325
|
+
var frameworksBySlug = new Map(import_frameworks2.frameworkList.map((f) => [f.slug, f]));
|
|
17335
17326
|
var PYTHON_MODULE_ATTR_RE = /^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/;
|
|
17336
17327
|
function parsePyModuleAttrEntrypoint(entrypoint) {
|
|
17337
17328
|
const match = PYTHON_MODULE_ATTR_RE.exec(entrypoint);
|
|
@@ -17432,7 +17423,7 @@ var require_resolve = __commonJS({
|
|
|
17432
17423
|
runtime
|
|
17433
17424
|
}) {
|
|
17434
17425
|
const serviceFs = workspace === "." ? fs5 : fs5.chdir(workspace);
|
|
17435
|
-
const frameworkCandidates = (0, import_utils4.filterFrameworksByRuntime)(import_frameworks2.
|
|
17426
|
+
const frameworkCandidates = (0, import_utils4.filterFrameworksByRuntime)(import_frameworks2.frameworkList, runtime);
|
|
17436
17427
|
const frameworks = await (0, import_detect_framework.detectFrameworks)({
|
|
17437
17428
|
fs: serviceFs,
|
|
17438
17429
|
frameworkList: frameworkCandidates
|
|
@@ -17564,6 +17555,7 @@ var require_resolve = __commonJS({
|
|
|
17564
17555
|
function validateServiceEntrypoint(name, config, resolvedEntrypoint) {
|
|
17565
17556
|
if (!resolvedEntrypoint.isDirectory && !config.builder && !config.runtime && !config.framework) {
|
|
17566
17557
|
const runtime = (0, import_utils4.inferServiceRuntime)({
|
|
17558
|
+
...config,
|
|
17567
17559
|
entrypoint: resolvedEntrypoint.normalized
|
|
17568
17560
|
});
|
|
17569
17561
|
if (!runtime) {
|
|
@@ -17634,15 +17626,28 @@ var require_resolve = __commonJS({
|
|
|
17634
17626
|
const consumer = type === "worker" ? config.consumer || "default" : config.consumer;
|
|
17635
17627
|
let builderUse;
|
|
17636
17628
|
let builderSrc;
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
builderUse = framework?.useRuntime?.use || "@vercel/static-build";
|
|
17640
|
-
builderSrc = resolvedEntrypointFile || framework?.useRuntime?.src || "package.json";
|
|
17641
|
-
} else if (config.builder) {
|
|
17629
|
+
const frameworkDefinition = config.framework ? frameworksBySlug.get(config.framework) : void 0;
|
|
17630
|
+
if (config.builder) {
|
|
17642
17631
|
builderUse = config.builder;
|
|
17643
|
-
builderSrc = resolvedEntrypointFile;
|
|
17632
|
+
builderSrc = resolvedEntrypointFile || frameworkDefinition?.useRuntime?.src || "package.json";
|
|
17633
|
+
} else if (config.framework) {
|
|
17634
|
+
if (type === "web" && (0, import_build_utils3.isNodeBackendFramework)(config.framework)) {
|
|
17635
|
+
builderUse = "@vercel/backends";
|
|
17636
|
+
} else {
|
|
17637
|
+
builderUse = frameworkDefinition?.useRuntime?.use || "@vercel/static-build";
|
|
17638
|
+
}
|
|
17639
|
+
builderSrc = resolvedEntrypointFile || frameworkDefinition?.useRuntime?.src || "package.json";
|
|
17644
17640
|
} else {
|
|
17645
|
-
|
|
17641
|
+
if (!inferredRuntime) {
|
|
17642
|
+
throw new Error(
|
|
17643
|
+
`Could not infer runtime for service "${name}" and no builder or framework were provided.`
|
|
17644
|
+
);
|
|
17645
|
+
}
|
|
17646
|
+
if (inferredRuntime === "node") {
|
|
17647
|
+
builderUse = type === "web" ? "@vercel/backends" : "@vercel/node";
|
|
17648
|
+
} else {
|
|
17649
|
+
builderUse = (0, import_utils4.getBuilderForRuntime)(inferredRuntime);
|
|
17650
|
+
}
|
|
17646
17651
|
builderSrc = resolvedEntrypointFile;
|
|
17647
17652
|
}
|
|
17648
17653
|
const normalizedSubdomain = type === "web" && typeof config.subdomain === "string" ? config.subdomain.toLowerCase() : void 0;
|
|
@@ -17654,6 +17659,9 @@ var require_resolve = __commonJS({
|
|
|
17654
17659
|
builderSrc = import_path11.posix.join(workspace, builderSrc);
|
|
17655
17660
|
}
|
|
17656
17661
|
const builderConfig = { zeroConfig: true };
|
|
17662
|
+
if (builderUse === "@vercel/backends") {
|
|
17663
|
+
builderConfig.serviceName = name;
|
|
17664
|
+
}
|
|
17657
17665
|
if (config.memory)
|
|
17658
17666
|
builderConfig.memory = config.memory;
|
|
17659
17667
|
if (config.maxDuration)
|
|
@@ -17742,10 +17750,14 @@ var require_resolve = __commonJS({
|
|
|
17742
17750
|
let resolvedConfig = serviceConfig;
|
|
17743
17751
|
if (!serviceConfig.framework && resolvedEntrypoint) {
|
|
17744
17752
|
if (resolvedEntrypoint.isDirectory) {
|
|
17753
|
+
const inferredRuntime = (0, import_utils4.inferServiceRuntime)({
|
|
17754
|
+
...serviceConfig
|
|
17755
|
+
});
|
|
17745
17756
|
const workspace = resolvedEntrypoint.normalized;
|
|
17746
17757
|
const { framework, error } = await detectFrameworkFromWorkspace({
|
|
17747
17758
|
fs: fs5,
|
|
17748
17759
|
workspace,
|
|
17760
|
+
runtime: inferredRuntime,
|
|
17749
17761
|
serviceName: name
|
|
17750
17762
|
});
|
|
17751
17763
|
if (error) {
|
|
@@ -17782,7 +17794,7 @@ var require_resolve = __commonJS({
|
|
|
17782
17794
|
serviceName: name,
|
|
17783
17795
|
runtime: inferredRuntime
|
|
17784
17796
|
});
|
|
17785
|
-
if (detection.framework) {
|
|
17797
|
+
if (!detection.error && detection.framework) {
|
|
17786
17798
|
resolvedConfig = {
|
|
17787
17799
|
...resolvedConfig,
|
|
17788
17800
|
framework: detection.framework
|
|
@@ -17824,11 +17836,9 @@ var require_resolve = __commonJS({
|
|
|
17824
17836
|
var require_auto_detect = __commonJS({
|
|
17825
17837
|
"../fs-detectors/dist/services/auto-detect.js"(exports2, module2) {
|
|
17826
17838
|
"use strict";
|
|
17827
|
-
var __create = Object.create;
|
|
17828
17839
|
var __defProp = Object.defineProperty;
|
|
17829
17840
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
17830
17841
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
17831
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
17832
17842
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
17833
17843
|
var __export = (target, all) => {
|
|
17834
17844
|
for (var name in all)
|
|
@@ -17842,14 +17852,6 @@ var require_auto_detect = __commonJS({
|
|
|
17842
17852
|
}
|
|
17843
17853
|
return to;
|
|
17844
17854
|
};
|
|
17845
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17846
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17847
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
17848
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
17849
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
17850
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
17851
|
-
mod
|
|
17852
|
-
));
|
|
17853
17855
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17854
17856
|
var auto_detect_exports = {};
|
|
17855
17857
|
__export(auto_detect_exports, {
|
|
@@ -17857,20 +17859,20 @@ var require_auto_detect = __commonJS({
|
|
|
17857
17859
|
});
|
|
17858
17860
|
module2.exports = __toCommonJS(auto_detect_exports);
|
|
17859
17861
|
var import_detect_framework = require_detect_framework();
|
|
17860
|
-
var import_frameworks2 =
|
|
17862
|
+
var import_frameworks2 = require_frameworks();
|
|
17861
17863
|
var FRONTEND_DIR = "frontend";
|
|
17862
17864
|
var APPS_WEB_DIR = "apps/web";
|
|
17863
17865
|
var BACKEND_DIR = "backend";
|
|
17864
17866
|
var SERVICES_DIR = "services";
|
|
17865
17867
|
var FRONTEND_LOCATIONS = [FRONTEND_DIR, APPS_WEB_DIR];
|
|
17866
|
-
var DETECTION_FRAMEWORKS = import_frameworks2.
|
|
17868
|
+
var DETECTION_FRAMEWORKS = import_frameworks2.frameworkList.filter(
|
|
17867
17869
|
(framework) => !framework.experimental || framework.runtimeFramework
|
|
17868
17870
|
);
|
|
17869
17871
|
async function autoDetectServices2(options) {
|
|
17870
17872
|
const { fs: fs5 } = options;
|
|
17871
17873
|
const rootFrameworks = await (0, import_detect_framework.detectFrameworks)({
|
|
17872
17874
|
fs: fs5,
|
|
17873
|
-
frameworkList: import_frameworks2.
|
|
17875
|
+
frameworkList: import_frameworks2.frameworkList
|
|
17874
17876
|
});
|
|
17875
17877
|
if (rootFrameworks.length > 1) {
|
|
17876
17878
|
const frameworkNames = rootFrameworks.map((f) => f.name).join(", ");
|
|
@@ -17895,7 +17897,7 @@ var require_auto_detect = __commonJS({
|
|
|
17895
17897
|
const frontendFs = fs5.chdir(frontendLocation);
|
|
17896
17898
|
const frontendFrameworks = await (0, import_detect_framework.detectFrameworks)({
|
|
17897
17899
|
fs: frontendFs,
|
|
17898
|
-
frameworkList: import_frameworks2.
|
|
17900
|
+
frameworkList: import_frameworks2.frameworkList
|
|
17899
17901
|
});
|
|
17900
17902
|
if (frontendFrameworks.length > 1) {
|
|
17901
17903
|
const frameworkNames = frontendFrameworks.map((f) => f.name).join(", ");
|
|
@@ -18667,7 +18669,7 @@ var require_detect_builders = __commonJS({
|
|
|
18667
18669
|
var import_minimatch = __toESM2(require_minimatch());
|
|
18668
18670
|
var import_semver = require_semver();
|
|
18669
18671
|
var import_path11 = __require("path");
|
|
18670
|
-
var import_frameworks2 =
|
|
18672
|
+
var import_frameworks2 = require_frameworks();
|
|
18671
18673
|
var import_is_official_runtime = require_is_official_runtime();
|
|
18672
18674
|
var import_build_utils3 = __require("@vercel/build-utils");
|
|
18673
18675
|
var import_get_services_builders = require_get_services_builders();
|
|
@@ -18675,7 +18677,7 @@ var require_detect_builders = __commonJS({
|
|
|
18675
18677
|
var REGEX_VERCEL_PLATFORM_FILES = `api/**,package.json,${REGEX_MIDDLEWARE_FILES}`;
|
|
18676
18678
|
var REGEX_NON_VERCEL_PLATFORM_FILES2 = `!{${REGEX_VERCEL_PLATFORM_FILES}}`;
|
|
18677
18679
|
var slugToFramework = new Map(
|
|
18678
|
-
import_frameworks2.
|
|
18680
|
+
import_frameworks2.frameworkList.map((f) => [f.slug, f])
|
|
18679
18681
|
);
|
|
18680
18682
|
function sortFiles(fileA, fileB) {
|
|
18681
18683
|
return fileA.localeCompare(fileB);
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist as require_dist2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DPRZMI7B.js";
|
|
13
13
|
import {
|
|
14
14
|
require_lib as require_lib2
|
|
15
15
|
} from "./chunk-QXRJ52T4.js";
|
|
16
16
|
import {
|
|
17
17
|
getLocalPathConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SL56SOZK.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
21
21
|
VERCEL_CONFIG_EXTENSIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XYEQKOCN.js";
|
|
23
23
|
import {
|
|
24
24
|
VERCEL_DIR,
|
|
25
25
|
createPrompt,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
useKeypress,
|
|
42
42
|
usePrefix,
|
|
43
43
|
useState
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-U7WYFYT7.js";
|
|
45
45
|
import {
|
|
46
46
|
APIError,
|
|
47
47
|
NowError,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TN77H34V.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U7WYFYT7.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -1984,7 +1984,7 @@ var disableSubcommand = {
|
|
|
1984
1984
|
},
|
|
1985
1985
|
{
|
|
1986
1986
|
name: "Disable a flag with a specific variant",
|
|
1987
|
-
value: `${packageName} flags disable my-feature -e production --variant
|
|
1987
|
+
value: `${packageName} flags disable my-feature -e production --variant false`
|
|
1988
1988
|
},
|
|
1989
1989
|
{
|
|
1990
1990
|
name: "Disable a flag with a revision message",
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZGEOIAUP.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EZFF3IZR.js";
|
|
13
13
|
import {
|
|
14
14
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TN77H34V.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
18
|
} from "./chunk-FLNT6F6U.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
envPullCommandLogic,
|
|
23
23
|
humanizePath,
|
|
24
24
|
parseTarget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-U7WYFYT7.js";
|
|
26
26
|
import {
|
|
27
27
|
TelemetryClient
|
|
28
28
|
} from "./chunk-NEZW5RL2.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XYEQKOCN.js";
|
|
15
|
+
import "./chunk-U7WYFYT7.js";
|
|
16
16
|
import "./chunk-NEZW5RL2.js";
|
|
17
17
|
import "./chunk-SOTR4CXR.js";
|
|
18
18
|
import "./chunk-7EHTK7LP.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
offerAutoPromote,
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoutes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HEBKSTJU.js";
|
|
18
18
|
import {
|
|
19
19
|
deleteSubcommand
|
|
20
20
|
} from "./chunk-GSF2XYMN.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-U7WYFYT7.js";
|
|
22
22
|
import "./chunk-NEZW5RL2.js";
|
|
23
23
|
import {
|
|
24
24
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
offerAutoPromote,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HEBKSTJU.js";
|
|
20
20
|
import {
|
|
21
21
|
disableSubcommand
|
|
22
22
|
} from "./chunk-GSF2XYMN.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-U7WYFYT7.js";
|
|
24
24
|
import "./chunk-NEZW5RL2.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
getRoutes,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
printDiffSummary
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HEBKSTJU.js";
|
|
20
20
|
import {
|
|
21
21
|
discardSubcommand
|
|
22
22
|
} from "./chunk-GSF2XYMN.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-U7WYFYT7.js";
|
|
24
24
|
import "./chunk-NEZW5RL2.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GPS3QG2J.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
offerAutoPromote,
|
|
30
30
|
parseSubcommandArgs,
|
|
31
31
|
resolveRoute
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HEBKSTJU.js";
|
|
33
33
|
import {
|
|
34
34
|
editSubcommand
|
|
35
35
|
} from "./chunk-GSF2XYMN.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-U7WYFYT7.js";
|
|
37
37
|
import "./chunk-NEZW5RL2.js";
|
|
38
38
|
import {
|
|
39
39
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
offerAutoPromote,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HEBKSTJU.js";
|
|
20
20
|
import {
|
|
21
21
|
enableSubcommand
|
|
22
22
|
} from "./chunk-GSF2XYMN.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-U7WYFYT7.js";
|
|
24
24
|
import "./chunk-NEZW5RL2.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
ensureProjectLink,
|
|
9
9
|
getRoutes,
|
|
10
10
|
parseSubcommandArgs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HEBKSTJU.js";
|
|
12
12
|
import {
|
|
13
13
|
exportSubcommand
|
|
14
14
|
} from "./chunk-GSF2XYMN.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-U7WYFYT7.js";
|
|
16
16
|
import "./chunk-NEZW5RL2.js";
|
|
17
17
|
import "./chunk-SOTR4CXR.js";
|
|
18
18
|
import "./chunk-7EHTK7LP.js";
|