vercel 50.22.0 → 50.23.0
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-GT5YMUDW.js → chunk-25M4QK3D.js} +1 -1
- package/dist/chunks/{chunk-V4BYOHHC.js → chunk-2LCYX7O7.js} +6 -4
- package/dist/chunks/{chunk-VNW7226M.js → chunk-56NHXUOM.js} +11 -31
- package/dist/chunks/{chunk-6LTRH3B2.js → chunk-5WZCCFBL.js} +3 -3
- package/dist/chunks/{chunk-WDZREVBU.js → chunk-6P3IP7XF.js} +71 -18
- package/dist/chunks/{chunk-D4QJ2SOI.js → chunk-7F5K2WKN.js} +6 -6
- package/dist/chunks/{chunk-DYV4NBAT.js → chunk-7YMB3EQM.js} +1 -1
- package/dist/chunks/{chunk-3J2XL77M.js → chunk-AOJD7NNH.js} +0 -14
- package/dist/chunks/{chunk-UPNWDVQF.js → chunk-FIRAQWQG.js} +2 -2
- package/dist/chunks/{chunk-JC5EOTR2.js → chunk-IQSGUQ6K.js} +7 -7
- package/dist/chunks/{chunk-M3N5RQLZ.js → chunk-JFBJHZDV.js} +1 -1
- package/dist/chunks/{chunk-SRPVI3PV.js → chunk-LD3DQXC3.js} +2 -2
- package/dist/chunks/{chunk-ISCLKSE2.js → chunk-LW7LKL4P.js} +2 -2
- package/dist/chunks/chunk-NIJXDOU6.js +20 -0
- package/dist/chunks/{chunk-NJKAUXT4.js → chunk-NPS664T7.js} +1 -1
- package/dist/chunks/{chunk-LTWXVGGJ.js → chunk-O42ZRAEX.js} +9 -9
- package/dist/chunks/{chunk-AVBVDIVA.js → chunk-OQ6SD7VQ.js} +91 -4
- package/dist/chunks/{chunk-5QN5JFM3.js → chunk-QQDYCKXH.js} +1 -1
- package/dist/chunks/{chunk-BNSR2EP5.js → chunk-QRGCJ3AY.js} +829 -559
- package/dist/chunks/{chunk-H5G734TV.js → chunk-R44QTKTK.js} +1 -1
- package/dist/chunks/{chunk-U2JGHN2P.js → chunk-RCOHNW53.js} +5 -5
- package/dist/chunks/{chunk-75TPDDWM.js → chunk-SPSVMAIZ.js} +1 -1
- package/dist/chunks/{chunk-7E44U65V.js → chunk-T7WC6AHA.js} +2 -2
- package/dist/chunks/{chunk-ZGVB6SQH.js → chunk-U7VQUPZM.js} +2 -2
- package/dist/chunks/{chunk-DI7L4B4K.js → chunk-UW5PLPAK.js} +2 -2
- package/dist/chunks/{chunk-3U5VDZM5.js → chunk-UX37ML2H.js} +2 -2
- package/dist/chunks/{chunk-CNJPNT3A.js → chunk-VE2IMRAO.js} +2 -2
- package/dist/chunks/{chunk-E37ZEXRP.js → chunk-XFV6ZPN5.js} +1040 -1329
- package/dist/chunks/{chunk-UFKHUDWY.js → chunk-YSKVWT6C.js} +1 -0
- package/dist/chunks/{chunk-BFAZVUS3.js → chunk-ZMSZKUSU.js} +3 -3
- package/dist/chunks/{compile-vercel-config-4O2XLIXQ.js → compile-vercel-config-3HBWUU3P.js} +3 -3
- package/dist/chunks/{query-ZX4TZFZQ.js → query-YF6WRFJA.js} +4 -4
- package/dist/chunks/{schema-FZ5ES4ZA.js → schema-URLIAFKC.js} +4 -4
- package/dist/commands/build/index.js +18 -16
- package/dist/commands/deploy/index.js +31 -33
- package/dist/commands/dev/index.js +56 -43
- package/dist/commands/env/index.js +767 -46
- package/dist/commands/link/index.js +13 -13
- package/dist/commands/list/index.js +8 -8
- package/dist/commands-bulk.js +821 -434
- package/dist/help.js +1 -1
- package/dist/index.js +37 -29
- package/dist/version.mjs +1 -1
- package/package.json +22 -21
|
@@ -6,23 +6,25 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-56NHXUOM.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCommandWithYes,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
outputActionRequired,
|
|
14
|
-
param
|
|
15
|
-
|
|
14
|
+
param,
|
|
15
|
+
resolveProjectCwd
|
|
16
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
16
17
|
import {
|
|
17
18
|
getCommandName,
|
|
18
19
|
getCommandNamePlain
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AOJD7NNH.js";
|
|
20
21
|
import {
|
|
21
22
|
output_manager_default
|
|
22
23
|
} from "./chunk-7K6FEHYP.js";
|
|
23
24
|
|
|
24
25
|
// src/util/link/ensure-link.ts
|
|
25
26
|
async function ensureLink(commandName, client, cwd, opts = {}) {
|
|
27
|
+
cwd = await resolveProjectCwd(cwd);
|
|
26
28
|
let { link } = opts;
|
|
27
29
|
const nonInteractive = opts.nonInteractive ?? client.nonInteractive ?? false;
|
|
28
30
|
opts.nonInteractive = nonInteractive;
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig,
|
|
9
9
|
readJSONFile
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LW7LKL4P.js";
|
|
11
11
|
import {
|
|
12
12
|
compileVercelConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-U7VQUPZM.js";
|
|
14
14
|
import {
|
|
15
15
|
table
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QQDYCKXH.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
@@ -28,19 +28,19 @@ import {
|
|
|
28
28
|
linkFolderToProject,
|
|
29
29
|
parseGitConfig,
|
|
30
30
|
pluckRemoteUrls,
|
|
31
|
-
require_dist3 as require_dist,
|
|
32
31
|
require_frameworks,
|
|
33
32
|
require_lib,
|
|
34
33
|
require_slugify,
|
|
35
34
|
selectAndParseRemoteUrl,
|
|
36
|
-
selectOrg
|
|
37
|
-
|
|
35
|
+
selectOrg,
|
|
36
|
+
tryDetectServices
|
|
37
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
38
38
|
import {
|
|
39
39
|
CantParseJSONFile,
|
|
40
40
|
ProjectNotFound,
|
|
41
41
|
isAPIError,
|
|
42
42
|
printError
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AOJD7NNH.js";
|
|
44
44
|
import {
|
|
45
45
|
output_manager_default
|
|
46
46
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -136,26 +136,6 @@ async function readConfig(dir) {
|
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
// src/util/projects/detect-services.ts
|
|
140
|
-
var import_fs_detectors = __toESM(require_dist(), 1);
|
|
141
|
-
function isExperimentalServicesEnabled() {
|
|
142
|
-
return process.env.VERCEL_USE_EXPERIMENTAL_SERVICES === "1" || process.env.VERCEL_USE_EXPERIMENTAL_SERVICES?.toLowerCase() === "true";
|
|
143
|
-
}
|
|
144
|
-
async function tryDetectServices(cwd) {
|
|
145
|
-
if (!isExperimentalServicesEnabled()) {
|
|
146
|
-
return null;
|
|
147
|
-
}
|
|
148
|
-
const fs = new import_fs_detectors.LocalFileSystemDetector(cwd);
|
|
149
|
-
const result = await (0, import_fs_detectors.detectServices)({ fs });
|
|
150
|
-
const hasNoServicesError = result.errors.some(
|
|
151
|
-
(e) => e.code === "NO_SERVICES_CONFIGURED"
|
|
152
|
-
);
|
|
153
|
-
if (hasNoServicesError) {
|
|
154
|
-
return null;
|
|
155
|
-
}
|
|
156
|
-
return result;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
139
|
// src/util/input/display-services.ts
|
|
160
140
|
var import_frameworks = __toESM(require_frameworks(), 1);
|
|
161
141
|
var chalk2 = require_source();
|
|
@@ -562,7 +542,8 @@ async function setupAndLink(client, path2, {
|
|
|
562
542
|
setupMsg = "Set up",
|
|
563
543
|
projectName = basename(path2),
|
|
564
544
|
nonInteractive = false,
|
|
565
|
-
pullEnv = true
|
|
545
|
+
pullEnv = true,
|
|
546
|
+
v0
|
|
566
547
|
}) {
|
|
567
548
|
const { config } = client;
|
|
568
549
|
if (!isDirectory(path2)) {
|
|
@@ -711,7 +692,8 @@ async function setupAndLink(client, path2, {
|
|
|
711
692
|
const project = await createProject(client, {
|
|
712
693
|
...settings,
|
|
713
694
|
name: newProjectName,
|
|
714
|
-
vercelAuth: vercelAuthSetting
|
|
695
|
+
vercelAuth: vercelAuthSetting,
|
|
696
|
+
v0
|
|
715
697
|
});
|
|
716
698
|
await linkFolderToProject(
|
|
717
699
|
client,
|
|
@@ -783,8 +765,6 @@ export {
|
|
|
783
765
|
validateRootDirectory,
|
|
784
766
|
validatePaths,
|
|
785
767
|
readConfig,
|
|
786
|
-
isExperimentalServicesEnabled,
|
|
787
|
-
tryDetectServices,
|
|
788
768
|
displayDetectedServices,
|
|
789
769
|
setupAndLink
|
|
790
770
|
};
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
noBorderChars,
|
|
9
9
|
require_cli_table3
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQDYCKXH.js";
|
|
11
11
|
import {
|
|
12
12
|
require_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCommandOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AOJD7NNH.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM,
|
|
19
19
|
require_source
|
|
@@ -6,20 +6,20 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
devCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JFBJHZDV.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NPS664T7.js";
|
|
13
13
|
import {
|
|
14
14
|
listCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7YMB3EQM.js";
|
|
16
16
|
import {
|
|
17
17
|
buildCommand,
|
|
18
18
|
pullCommand
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UW5PLPAK.js";
|
|
20
20
|
import {
|
|
21
21
|
envCommand
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
23
23
|
import {
|
|
24
24
|
confirmOption,
|
|
25
25
|
forceOption,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
nextOption,
|
|
30
30
|
packageName,
|
|
31
31
|
yesOption
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AOJD7NNH.js";
|
|
33
33
|
import {
|
|
34
34
|
output_manager_default
|
|
35
35
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -367,15 +367,15 @@ var linkCommand = {
|
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
name: "project",
|
|
370
|
-
description: "
|
|
370
|
+
description: "Project name or ID to link to (required for non-interactive)",
|
|
371
371
|
shorthand: "p",
|
|
372
|
-
argument: "
|
|
372
|
+
argument: "NAME_OR_ID",
|
|
373
373
|
type: String,
|
|
374
374
|
deprecated: false
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
name: "team",
|
|
378
|
-
description: "Scope
|
|
378
|
+
description: "Scope: team ID or slug (use with --project for non-interactive)",
|
|
379
379
|
shorthand: null,
|
|
380
380
|
argument: "TEAM_ID_OR_SLUG",
|
|
381
381
|
type: String,
|
|
@@ -396,6 +396,10 @@ var linkCommand = {
|
|
|
396
396
|
name: "Link current directory with default options and skip questions",
|
|
397
397
|
value: `${packageName} link --yes`
|
|
398
398
|
},
|
|
399
|
+
{
|
|
400
|
+
name: "Non-interactive: link to an existing project (CI/agents)",
|
|
401
|
+
value: `${packageName} link --yes --team <team-id> --project <project-name-or-id>`
|
|
402
|
+
},
|
|
399
403
|
{
|
|
400
404
|
name: "Link a specific directory to a Vercel Project",
|
|
401
405
|
value: `${packageName} link --cwd /path/to/project`
|
|
@@ -2004,6 +2008,14 @@ var addSubcommand6 = {
|
|
|
2004
2008
|
deprecated: false,
|
|
2005
2009
|
argument: "ENV",
|
|
2006
2010
|
description: "Environment to connect (can be repeated: production, preview, development). Defaults to all."
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
name: "prefix",
|
|
2014
|
+
shorthand: null,
|
|
2015
|
+
type: String,
|
|
2016
|
+
deprecated: false,
|
|
2017
|
+
argument: "PREFIX",
|
|
2018
|
+
description: "Prefix for environment variable names (e.g., --prefix NEON2_ creates NEON2_DATABASE_URL instead of DATABASE_URL)"
|
|
2007
2019
|
}
|
|
2008
2020
|
],
|
|
2009
2021
|
examples: [
|
|
@@ -2059,6 +2071,10 @@ var addSubcommand6 = {
|
|
|
2059
2071
|
name: "Install without pulling environment variables",
|
|
2060
2072
|
value: `${packageName} integration add acme --no-env-pull`
|
|
2061
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
name: "Install with a prefix for environment variable names",
|
|
2076
|
+
value: `${packageName} integration add acme --prefix NEON2_`
|
|
2077
|
+
},
|
|
2062
2078
|
{
|
|
2063
2079
|
name: "Show available products for an integration",
|
|
2064
2080
|
value: `${packageName} integration add acme --help`
|
|
@@ -2072,14 +2088,18 @@ var addSubcommand6 = {
|
|
|
2072
2088
|
var openSubcommand = {
|
|
2073
2089
|
name: "open",
|
|
2074
2090
|
aliases: [],
|
|
2075
|
-
description: "Opens a marketplace integration's dashboard",
|
|
2091
|
+
description: "Opens a marketplace integration's or resource's dashboard via SSO",
|
|
2076
2092
|
arguments: [
|
|
2077
2093
|
{
|
|
2078
2094
|
name: "name",
|
|
2079
2095
|
required: true
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
name: "resource",
|
|
2099
|
+
required: false
|
|
2080
2100
|
}
|
|
2081
2101
|
],
|
|
2082
|
-
options: [],
|
|
2102
|
+
options: [formatOption],
|
|
2083
2103
|
examples: [
|
|
2084
2104
|
{
|
|
2085
2105
|
name: "Open a marketplace integration's dashboard",
|
|
@@ -2087,6 +2107,20 @@ var openSubcommand = {
|
|
|
2087
2107
|
`${packageName} integration open <integration-name>`,
|
|
2088
2108
|
`${packageName} integration open acme`
|
|
2089
2109
|
]
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
name: "Open a resource's dashboard within an integration",
|
|
2113
|
+
value: [
|
|
2114
|
+
`${packageName} integration open <integration-name> <resource-name>`,
|
|
2115
|
+
`${packageName} integration open acme my-acme-store`
|
|
2116
|
+
]
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
name: "Get the SSO link as JSON",
|
|
2120
|
+
value: [
|
|
2121
|
+
`${packageName} integration open acme --format=json`,
|
|
2122
|
+
`${packageName} integration open acme my-acme-store --format=json`
|
|
2123
|
+
]
|
|
2090
2124
|
}
|
|
2091
2125
|
]
|
|
2092
2126
|
};
|
|
@@ -2157,7 +2191,7 @@ var discoverSubcommand = {
|
|
|
2157
2191
|
},
|
|
2158
2192
|
{
|
|
2159
2193
|
name: "Discover marketplace integrations as JSON",
|
|
2160
|
-
value: [`${packageName} integration discover --json`]
|
|
2194
|
+
value: [`${packageName} integration discover --format=json`]
|
|
2161
2195
|
}
|
|
2162
2196
|
]
|
|
2163
2197
|
};
|
|
@@ -2171,7 +2205,7 @@ var balanceSubcommand = {
|
|
|
2171
2205
|
required: true
|
|
2172
2206
|
}
|
|
2173
2207
|
],
|
|
2174
|
-
options: [],
|
|
2208
|
+
options: [formatOption],
|
|
2175
2209
|
examples: [
|
|
2176
2210
|
{
|
|
2177
2211
|
name: "Show the balance(s) & threshold(s) of a marketplace integration",
|
|
@@ -2179,6 +2213,10 @@ var balanceSubcommand = {
|
|
|
2179
2213
|
`${packageName} integration balance <integration-name>`,
|
|
2180
2214
|
`${packageName} integration balance acme`
|
|
2181
2215
|
]
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
name: "Output as JSON",
|
|
2219
|
+
value: `${packageName} integration balance acme --format=json`
|
|
2182
2220
|
}
|
|
2183
2221
|
]
|
|
2184
2222
|
};
|
|
@@ -2196,7 +2234,8 @@ var removeSubcommand6 = {
|
|
|
2196
2234
|
{
|
|
2197
2235
|
...yesOption,
|
|
2198
2236
|
description: "Skip the confirmation prompt when uninstalling an integration"
|
|
2199
|
-
}
|
|
2237
|
+
},
|
|
2238
|
+
formatOption
|
|
2200
2239
|
],
|
|
2201
2240
|
examples: [
|
|
2202
2241
|
{
|
|
@@ -2205,6 +2244,10 @@ var removeSubcommand6 = {
|
|
|
2205
2244
|
`${packageName} integration remove <integration>`,
|
|
2206
2245
|
`${packageName} integration remove acme`
|
|
2207
2246
|
]
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
name: "Output as JSON",
|
|
2250
|
+
value: `${packageName} integration remove acme --format=json --yes`
|
|
2208
2251
|
}
|
|
2209
2252
|
]
|
|
2210
2253
|
};
|
|
@@ -2318,7 +2361,8 @@ var removeSubcommand7 = {
|
|
|
2318
2361
|
{
|
|
2319
2362
|
...yesOption,
|
|
2320
2363
|
description: "Skip the confirmation prompt when deleting a resource"
|
|
2321
|
-
}
|
|
2364
|
+
},
|
|
2365
|
+
formatOption
|
|
2322
2366
|
],
|
|
2323
2367
|
examples: [
|
|
2324
2368
|
{
|
|
@@ -2335,6 +2379,10 @@ var removeSubcommand7 = {
|
|
|
2335
2379
|
`${packageName} integration-resource remove my-acme-resource --disconnect-all`,
|
|
2336
2380
|
`${packageName} integration-resource remove my-acme-resource -a`
|
|
2337
2381
|
]
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
name: "Output as JSON",
|
|
2385
|
+
value: `${packageName} integration-resource remove my-acme-resource --format=json --yes`
|
|
2338
2386
|
}
|
|
2339
2387
|
]
|
|
2340
2388
|
};
|
|
@@ -2363,7 +2411,8 @@ var disconnectSubcommand2 = {
|
|
|
2363
2411
|
{
|
|
2364
2412
|
...yesOption,
|
|
2365
2413
|
description: "Skip the confirmation prompt when disconnecting a resource"
|
|
2366
|
-
}
|
|
2414
|
+
},
|
|
2415
|
+
formatOption
|
|
2367
2416
|
],
|
|
2368
2417
|
examples: [
|
|
2369
2418
|
{
|
|
@@ -2387,6 +2436,10 @@ var disconnectSubcommand2 = {
|
|
|
2387
2436
|
`${packageName} integration-resource disconnect <resource> <project>`,
|
|
2388
2437
|
`${packageName} integration-resource disconnect my-acme-resource my-project`
|
|
2389
2438
|
]
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
name: "Output as JSON",
|
|
2442
|
+
value: `${packageName} integration-resource disconnect my-acme-resource --format=json --yes`
|
|
2390
2443
|
}
|
|
2391
2444
|
]
|
|
2392
2445
|
};
|
|
@@ -2423,8 +2476,8 @@ var createThresholdSubcommand = {
|
|
|
2423
2476
|
name: "create threshold",
|
|
2424
2477
|
value: [
|
|
2425
2478
|
`${packageName} integration-resource create-threshold <resource> <minimum> <spend> <limit> [options]`,
|
|
2426
|
-
`${packageName} integration-resource create-threshold my-acme-resource 100
|
|
2427
|
-
`${packageName} integration-resource create-threshold my-acme-resource 100
|
|
2479
|
+
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000`,
|
|
2480
|
+
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000 --yes`
|
|
2428
2481
|
]
|
|
2429
2482
|
}
|
|
2430
2483
|
]
|
|
@@ -6,16 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-25M4QK3D.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2LCYX7O7.js";
|
|
13
13
|
import {
|
|
14
14
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UW5PLPAK.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5WZCCFBL.js";
|
|
19
19
|
import {
|
|
20
20
|
TelemetryClient,
|
|
21
21
|
VERCEL_DIR,
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget,
|
|
26
26
|
stamp_default
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
28
28
|
import {
|
|
29
29
|
getFlagsSpecification,
|
|
30
30
|
parseArguments,
|
|
31
31
|
printError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AOJD7NNH.js";
|
|
33
33
|
import {
|
|
34
34
|
emoji,
|
|
35
35
|
output_manager_default,
|
|
@@ -6,7 +6,6 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
init_pkg,
|
|
9
|
-
link_default,
|
|
10
9
|
output_manager_default,
|
|
11
10
|
pkg_default,
|
|
12
11
|
require_dist
|
|
@@ -1696,18 +1695,6 @@ var InvalidLocalConfig = class extends NowError {
|
|
|
1696
1695
|
|
|
1697
1696
|
// src/util/output/error.ts
|
|
1698
1697
|
var import_chalk4 = __toESM(require_source(), 1);
|
|
1699
|
-
function error(...input) {
|
|
1700
|
-
let messages = input;
|
|
1701
|
-
if (typeof input[0] === "object") {
|
|
1702
|
-
const { slug, message, link, action = "Learn More" } = input[0];
|
|
1703
|
-
messages = [message];
|
|
1704
|
-
const details = slug ? `https://err.sh/vercel/${slug}` : link;
|
|
1705
|
-
if (details) {
|
|
1706
|
-
messages.push(`${import_chalk4.default.bold(action)}: ${link_default(details)}`);
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
return `${import_chalk4.default.red("Error:")} ${messages.join("\n")}`;
|
|
1710
|
-
}
|
|
1711
1698
|
|
|
1712
1699
|
// src/util/error.ts
|
|
1713
1700
|
var import_bytes2 = __toESM(require_bytes(), 1);
|
|
@@ -1867,7 +1854,6 @@ export {
|
|
|
1867
1854
|
InvalidLocalConfig,
|
|
1868
1855
|
require_strip_ansi,
|
|
1869
1856
|
require_string_width,
|
|
1870
|
-
error,
|
|
1871
1857
|
responseError,
|
|
1872
1858
|
toEnumerableError,
|
|
1873
1859
|
printError,
|
|
@@ -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-R44QTKTK.js";
|
|
10
10
|
import {
|
|
11
11
|
require_once
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
13
13
|
import {
|
|
14
14
|
require_signal_exit
|
|
15
15
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -10,23 +10,23 @@ import {
|
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep,
|
|
12
12
|
ua_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XFV6ZPN5.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-2TX2KBK2.js";
|
|
17
17
|
import {
|
|
18
18
|
getDeployment,
|
|
19
19
|
mapCertError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SPSVMAIZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LD3DQXC3.js";
|
|
24
24
|
import {
|
|
25
25
|
CommandTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6P3IP7XF.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist as require_dist3
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZMSZKUSU.js";
|
|
30
30
|
import {
|
|
31
31
|
require_lib
|
|
32
32
|
} from "./chunk-LLPVFNNI.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
param,
|
|
36
36
|
require_ms,
|
|
37
37
|
stamp_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
39
39
|
import {
|
|
40
40
|
APIError,
|
|
41
41
|
BuildError,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
require_pluralize,
|
|
57
57
|
require_strip_ansi,
|
|
58
58
|
responseError
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AOJD7NNH.js";
|
|
60
60
|
import {
|
|
61
61
|
emoji,
|
|
62
62
|
eraseLines,
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getTeamById,
|
|
9
9
|
getUser
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
11
11
|
import {
|
|
12
12
|
TeamDeleted
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AOJD7NNH.js";
|
|
14
14
|
|
|
15
15
|
// src/util/get-scope.ts
|
|
16
16
|
async function getScope(client, opts = {}) {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
require_json_parse_better_errors,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
12
12
|
import {
|
|
13
13
|
CantParseJSONFile,
|
|
14
14
|
ConflictingConfigFiles,
|
|
15
15
|
InvalidLocalConfig,
|
|
16
16
|
getArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AOJD7NNH.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
20
|
} from "./chunk-7K6FEHYP.js";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
+
const require = __createRequire(import.meta.url);
|
|
5
|
+
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
__toESM,
|
|
9
|
+
require_source
|
|
10
|
+
} from "./chunk-A2M6YJ6J.js";
|
|
11
|
+
|
|
12
|
+
// src/util/output/highlight.ts
|
|
13
|
+
var import_chalk = __toESM(require_source(), 1);
|
|
14
|
+
function highlight(text) {
|
|
15
|
+
return import_chalk.default.bold.underline(text);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
highlight
|
|
20
|
+
};
|
|
@@ -4,11 +4,12 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
isExperimentalServicesEnabled
|
|
9
|
+
} from "./chunk-QRGCJ3AY.js";
|
|
7
10
|
import {
|
|
8
11
|
__commonJS,
|
|
9
|
-
__require
|
|
10
|
-
__toESM,
|
|
11
|
-
require_source
|
|
12
|
+
__require
|
|
12
13
|
} from "./chunk-A2M6YJ6J.js";
|
|
13
14
|
|
|
14
15
|
// ../../node_modules/.pnpm/async-listen@3.0.0/node_modules/async-listen/dist/index.js
|
|
@@ -90,13 +91,12 @@ var require_dist = __commonJS({
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
|
|
93
|
-
// src/util/
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return import_chalk.default.bold.underline(text);
|
|
94
|
+
// src/util/dev/experimental.ts
|
|
95
|
+
function isExperimentalSkipDevLinkEnabled() {
|
|
96
|
+
return process.env.VERCEL_EXPERIMENTAL_DEV_SKIP_LINK === "1" || process.env.VERCEL_EXPERIMENTAL_DEV_SKIP_LINK?.toLowerCase() === "true" || isExperimentalServicesEnabled();
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
require_dist,
|
|
101
|
+
isExperimentalSkipDevLinkEnabled
|
|
102
102
|
};
|