vercel 56.4.0 → 56.4.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/{add-XY2LNFK3.js → add-L3Z6PL54.js} +3 -3
- package/dist/chunks/{add-2HLAH42D.js → add-RFEJCIBM.js} +2 -2
- package/dist/chunks/{chunk-IN3RG4AU.js → chunk-43B3LNUF.js} +1 -1
- package/dist/chunks/{chunk-C4TEOOGB.js → chunk-4M3ZQCYN.js} +63 -6
- package/dist/chunks/{chunk-PEC4ROHM.js → chunk-5EXIJBLL.js} +5 -5
- package/dist/chunks/{chunk-BRTMH4PL.js → chunk-A4XB42AB.js} +1 -1
- package/dist/chunks/{chunk-S7HMSWGQ.js → chunk-CHZBEMLF.js} +2 -2
- package/dist/chunks/{chunk-JGXABANG.js → chunk-DXFSBJTA.js} +1 -1
- package/dist/chunks/{chunk-UA3D44SL.js → chunk-F32B76CK.js} +1 -1
- package/dist/chunks/{chunk-ORMDX3GR.js → chunk-GKVAAY2A.js} +1 -1
- package/dist/chunks/{chunk-QX4337BT.js → chunk-GLAHGVBS.js} +3 -0
- package/dist/chunks/{chunk-4QRRJEYO.js → chunk-HZKJMZEQ.js} +2 -2
- package/dist/chunks/{chunk-2KNVJ7ET.js → chunk-IHQ7DPQI.js} +3 -3
- package/dist/chunks/{chunk-VZGX4CKB.js → chunk-J6KTUJHV.js} +1 -1
- package/dist/chunks/{chunk-ENIJVO7C.js → chunk-MQRHJEBS.js} +2 -2
- package/dist/chunks/{chunk-SLCLT4P5.js → chunk-NLRIKNPX.js} +1 -1
- package/dist/chunks/{chunk-JIK3GTU3.js → chunk-OOD67FAL.js} +1 -1
- package/dist/chunks/{chunk-K6YMSJMZ.js → chunk-UHGAPG7O.js} +4 -4
- package/dist/chunks/{chunk-EJNFC5AV.js → chunk-VLTQJKP6.js} +1 -1
- package/dist/chunks/{chunk-WM3UMX65.js → chunk-XFGY3JAX.js} +1 -1
- package/dist/chunks/{chunk-OSXJ6G4O.js → chunk-Y7TVKRRJ.js} +3 -3
- package/dist/chunks/{compile-vercel-config-4Q4YZ44O.js → compile-vercel-config-J2X5OV6K.js} +1 -1
- package/dist/chunks/{delete-AUDPLCMU.js → delete-57A44RN7.js} +2 -2
- package/dist/chunks/{disable-WFPXR7GZ.js → disable-DNZ52MEO.js} +2 -2
- package/dist/chunks/{discard-RVFKIZZG.js → discard-HACSIZ74.js} +2 -2
- package/dist/chunks/{edit-KO5KX4WU.js → edit-HJ47TQU3.js} +3 -3
- package/dist/chunks/{enable-I5HE32DI.js → enable-BVLRVRYM.js} +2 -2
- package/dist/chunks/{export-4Y5L2TOT.js → export-7MJFGMG7.js} +2 -2
- package/dist/chunks/{image-QC5MVWKN.js → image-4UMD7UZP.js} +3 -3
- package/dist/chunks/{inspect-JUGFKEGR.js → inspect-4JD2QN67.js} +2 -2
- package/dist/chunks/{inspect-Q5BKZNVI.js → inspect-5YZP7IWI.js} +2 -2
- package/dist/chunks/{inspect-BULBAPNR.js → inspect-WBHUZC3R.js} +2 -2
- package/dist/chunks/{inspect-PJDCPARM.js → inspect-XX3OXSHC.js} +2 -2
- package/dist/chunks/{list-FJT44SB6.js → list-5H57NTM4.js} +1 -1
- package/dist/chunks/{list-N7OA4FBI.js → list-AM6K2JCW.js} +2 -2
- package/dist/chunks/{login-BPE774JW.js → login-YO34E4V5.js} +2 -2
- package/dist/chunks/{ls-E47M6P5O.js → ls-44NPIO2N.js} +2 -2
- package/dist/chunks/{ls-26VFGQ6P.js → ls-MB74DIQV.js} +3 -3
- package/dist/chunks/{ls-H52WO65Y.js → ls-P7ZLBWW2.js} +2 -2
- package/dist/chunks/{ls-YV554CRJ.js → ls-YDUYTLXW.js} +2 -2
- package/dist/chunks/{publish-DUTEBRX3.js → publish-RXFUYSW3.js} +2 -2
- package/dist/chunks/{query-QDOKUCHX.js → query-ILJJL3BZ.js} +1 -1
- package/dist/chunks/{reorder-L2M3YGJ4.js → reorder-GBCOPZT4.js} +2 -2
- package/dist/chunks/{restore-BVDNAJVC.js → restore-YK5DGGRX.js} +2 -2
- package/dist/chunks/{rm-7KSHXSTB.js → rm-FRZMXB2W.js} +3 -3
- package/dist/chunks/{rm-VHWBHG3A.js → rm-LK6P7XTA.js} +2 -2
- package/dist/chunks/{rm-4OQ7G6UX.js → rm-O474MI5C.js} +2 -2
- package/dist/chunks/{rule-inspect-AT6IEOUF.js → rule-inspect-YEZGYINZ.js} +3 -3
- package/dist/chunks/{rules-SQFCUKWS.js → rules-MZ2MP6KJ.js} +6 -6
- package/dist/chunks/{schema-PWSCMD24.js → schema-FR6CCQIZ.js} +1 -1
- package/dist/chunks/{tags-BT7ZGJP2.js → tags-AKRTKFRV.js} +2 -2
- package/dist/chunks/{update-PTDGBKEH.js → update-W3CWQB2F.js} +3 -3
- package/dist/commands/build/index.js +8 -8
- package/dist/commands/deploy/index.js +9 -9
- package/dist/commands/dev/index.js +7 -7
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +6 -6
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +37 -37
- package/dist/index.js +7 -7
- package/dist/vc.js +6 -1
- package/dist/version.mjs +1 -1
- package/package.json +87 -7
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-A4XB42AB.js";
|
|
13
|
+
import "./chunk-XFGY3JAX.js";
|
|
14
14
|
import "./chunk-BUZRVER7.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
20
|
} from "./chunk-STJJ3DFO.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GLAHGVBS.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON,
|
|
24
24
|
buildCommandWithGlobalFlags,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NLRIKNPX.js";
|
|
13
13
|
import {
|
|
14
14
|
outputError
|
|
15
15
|
} from "./chunk-BUZRVER7.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-3VS4DTAU.js";
|
|
20
20
|
import "./chunk-GIL3VAUR.js";
|
|
21
21
|
import "./chunk-FYQPTH5C.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GLAHGVBS.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_REASON,
|
|
25
25
|
buildCommandWithGlobalFlags,
|
|
@@ -19,12 +19,15 @@ import {
|
|
|
19
19
|
require_lib,
|
|
20
20
|
require_minimatch,
|
|
21
21
|
require_pluralize
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GLAHGVBS.js";
|
|
23
23
|
import {
|
|
24
24
|
CantParseJSONFile,
|
|
25
25
|
cmd,
|
|
26
26
|
code
|
|
27
27
|
} from "./chunk-KSSNLCL4.js";
|
|
28
|
+
import {
|
|
29
|
+
pkg_default
|
|
30
|
+
} from "./chunk-P4QNYOFB.js";
|
|
28
31
|
import {
|
|
29
32
|
output_manager_default,
|
|
30
33
|
require_dist
|
|
@@ -10903,7 +10906,7 @@ function notNull(value) {
|
|
|
10903
10906
|
|
|
10904
10907
|
// src/util/build/import-builders.ts
|
|
10905
10908
|
var import_npm_package_arg = __toESM(require_npa(), 1);
|
|
10906
|
-
var
|
|
10909
|
+
var import_semver2 = __toESM(require_semver(), 1);
|
|
10907
10910
|
var import_fs_extra3 = __toESM(require_lib(), 1);
|
|
10908
10911
|
var import_fs_detectors = __toESM(require_dist3(), 1);
|
|
10909
10912
|
import { dirname, join as join2 } from "path";
|
|
@@ -10975,6 +10978,7 @@ var import_error_utils2 = __toESM(require_dist(), 1);
|
|
|
10975
10978
|
|
|
10976
10979
|
// src/util/build/install-builders.ts
|
|
10977
10980
|
var import_pluralize = __toESM(require_pluralize(), 1);
|
|
10981
|
+
var import_semver = __toESM(require_semver(), 1);
|
|
10978
10982
|
var import_fs_extra2 = __toESM(require_lib(), 1);
|
|
10979
10983
|
var import_execa = __toESM(require_execa(), 1);
|
|
10980
10984
|
import { URL } from "url";
|
|
@@ -11009,10 +11013,12 @@ async function untracedInstallBuilders(buildersDir, buildersToAdd) {
|
|
|
11009
11013
|
buildersToAdd
|
|
11010
11014
|
).join(", ")}`
|
|
11011
11015
|
);
|
|
11016
|
+
const buildUtilsVersion = pkg_default.dependencies?.["@vercel/build-utils"];
|
|
11017
|
+
const buildUtilsSpec = buildUtilsVersion && (0, import_semver.validRange)(buildUtilsVersion) ? `@vercel/build-utils@${buildUtilsVersion}` : "@vercel/build-utils";
|
|
11012
11018
|
try {
|
|
11013
11019
|
const { stderr } = await (0, import_execa.default)(
|
|
11014
11020
|
"npm",
|
|
11015
|
-
["install",
|
|
11021
|
+
["install", buildUtilsSpec, ...buildersToAdd],
|
|
11016
11022
|
{
|
|
11017
11023
|
cwd: buildersDir,
|
|
11018
11024
|
stdio: "pipe",
|
|
@@ -11095,14 +11101,45 @@ async function installBuilders(buildersDir, buildersToAdd, span, installReasons)
|
|
|
11095
11101
|
|
|
11096
11102
|
// src/util/build/import-builders.ts
|
|
11097
11103
|
var require_ = createRequire(__filename);
|
|
11104
|
+
var builderPins;
|
|
11105
|
+
function getBuilderPins() {
|
|
11106
|
+
if (!builderPins) {
|
|
11107
|
+
builderPins = /* @__PURE__ */ new Map();
|
|
11108
|
+
const peerDependencies = pkg_default.peerDependencies ?? {};
|
|
11109
|
+
for (const [name, version2] of Object.entries(peerDependencies)) {
|
|
11110
|
+
if ((0, import_semver2.validRange)(version2)) {
|
|
11111
|
+
builderPins.set(name, version2);
|
|
11112
|
+
}
|
|
11113
|
+
}
|
|
11114
|
+
}
|
|
11115
|
+
return builderPins;
|
|
11116
|
+
}
|
|
11117
|
+
function isBareSpec(parsed) {
|
|
11118
|
+
return parsed.type === "tag" && parsed.rawSpec === "";
|
|
11119
|
+
}
|
|
11120
|
+
function pinBuilderSpecs(specs) {
|
|
11121
|
+
const pins = getBuilderPins();
|
|
11122
|
+
const pinnedSpecs = /* @__PURE__ */ new Map();
|
|
11123
|
+
for (const spec of specs) {
|
|
11124
|
+
const parsed = (0, import_npm_package_arg.default)(spec);
|
|
11125
|
+
if (parsed.name && isBareSpec(parsed)) {
|
|
11126
|
+
const version2 = pins.get(parsed.name);
|
|
11127
|
+
if (version2) {
|
|
11128
|
+
pinnedSpecs.set(spec, `${parsed.name}@${version2}`);
|
|
11129
|
+
}
|
|
11130
|
+
}
|
|
11131
|
+
}
|
|
11132
|
+
return pinnedSpecs;
|
|
11133
|
+
}
|
|
11098
11134
|
async function importBuilders(builderSpecs, cwd, span) {
|
|
11099
11135
|
const buildersDir = join2(cwd, VERCEL_DIR, "builders");
|
|
11100
11136
|
let importResult = await resolveBuilders(buildersDir, builderSpecs);
|
|
11101
11137
|
if ("buildersToAdd" in importResult) {
|
|
11102
11138
|
const { buildersToAdd, installReasons } = importResult;
|
|
11139
|
+
const pinnedSpecs = pinBuilderSpecs(buildersToAdd);
|
|
11103
11140
|
const installResult = await installBuilders(
|
|
11104
11141
|
buildersDir,
|
|
11105
|
-
buildersToAdd,
|
|
11142
|
+
new Set(Array.from(buildersToAdd, (spec) => pinnedSpecs.get(spec) ?? spec)),
|
|
11106
11143
|
span,
|
|
11107
11144
|
installReasons
|
|
11108
11145
|
);
|
|
@@ -11112,7 +11149,18 @@ async function importBuilders(builderSpecs, cwd, span) {
|
|
|
11112
11149
|
installResult
|
|
11113
11150
|
);
|
|
11114
11151
|
if ("buildersToAdd" in importResult) {
|
|
11115
|
-
|
|
11152
|
+
const { buildersToAdd: failed, installReasons: reasons } = importResult;
|
|
11153
|
+
const failures = Array.from(failed, (spec) => {
|
|
11154
|
+
const reason = reasons.get(spec);
|
|
11155
|
+
return reason ? `${spec} (${reason})` : spec;
|
|
11156
|
+
});
|
|
11157
|
+
const err = new Error(
|
|
11158
|
+
`Failed to load Builders after installing them: ${failures.join(
|
|
11159
|
+
", "
|
|
11160
|
+
)}. Retry the build. If the failure persists, contact Vercel Support.`
|
|
11161
|
+
);
|
|
11162
|
+
err.link = "https://vercel.link/builder-dependencies-install-failed";
|
|
11163
|
+
throw err;
|
|
11116
11164
|
}
|
|
11117
11165
|
}
|
|
11118
11166
|
const resolvedBuildersDebug = [];
|
|
@@ -11183,6 +11231,15 @@ async function resolveBuilders(buildersDir, builderSpecs, resolvedSpecs) {
|
|
|
11183
11231
|
`\`package.json\` for "${name}" does not contain a "version" field`
|
|
11184
11232
|
);
|
|
11185
11233
|
}
|
|
11234
|
+
const peerVersion = getBuilderPins().get(name);
|
|
11235
|
+
if (isBareSpec(parsed) && peerVersion && pkgPath.startsWith(buildersDir) && !(0, import_semver2.satisfies)(builderPkg.version, peerVersion)) {
|
|
11236
|
+
output_manager_default.debug(
|
|
11237
|
+
`Cached "${name}@${builderPkg.version}" does not satisfy "${peerVersion}"`
|
|
11238
|
+
);
|
|
11239
|
+
buildersToAdd.add(spec);
|
|
11240
|
+
installReasons.set(spec, "peer-version-mismatch");
|
|
11241
|
+
continue;
|
|
11242
|
+
}
|
|
11186
11243
|
if (parsed.type === "version" && parsed.rawSpec !== builderPkg.version) {
|
|
11187
11244
|
output_manager_default.debug(
|
|
11188
11245
|
`Installed version "${name}@${builderPkg.version}" does not match "${parsed.rawSpec}"`
|
|
@@ -11191,7 +11248,7 @@ async function resolveBuilders(buildersDir, builderSpecs, resolvedSpecs) {
|
|
|
11191
11248
|
installReasons.set(spec, "version-mismatch");
|
|
11192
11249
|
continue;
|
|
11193
11250
|
}
|
|
11194
|
-
if (parsed.type === "range" && !(0,
|
|
11251
|
+
if (parsed.type === "range" && !(0, import_semver2.satisfies)(builderPkg.version, parsed.rawSpec)) {
|
|
11195
11252
|
output_manager_default.debug(
|
|
11196
11253
|
`Installed version "${name}@${builderPkg.version}" is not compatible with "${parsed.rawSpec}"`
|
|
11197
11254
|
);
|
|
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-43B3LNUF.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig,
|
|
13
13
|
progress,
|
|
14
14
|
writeToConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CHZBEMLF.js";
|
|
16
16
|
import {
|
|
17
17
|
apiCommand,
|
|
18
18
|
listSubcommand3 as listSubcommand,
|
|
19
19
|
loginCommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IHQ7DPQI.js";
|
|
21
21
|
import {
|
|
22
22
|
require_semver
|
|
23
23
|
} from "./chunk-IB5L4LKZ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-DMSLNAVH.js";
|
|
27
27
|
import {
|
|
28
28
|
login
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GLAHGVBS.js";
|
|
30
30
|
import {
|
|
31
31
|
TelemetryClient,
|
|
32
32
|
isNativeBinaryInstall
|
|
@@ -1278,7 +1278,7 @@ function generateCurlCommand(config, baseUrl) {
|
|
|
1278
1278
|
for (const [key, value] of Object.entries(config.headers)) {
|
|
1279
1279
|
parts.push(`-H '${key}: ${escapeShellArg(value)}'`);
|
|
1280
1280
|
}
|
|
1281
|
-
if (config.body) {
|
|
1281
|
+
if (config.method !== "GET" && config.body) {
|
|
1282
1282
|
const bodyStr = typeof config.body === "string" ? config.body : JSON.stringify(config.body);
|
|
1283
1283
|
parts.push(`-H 'Content-Type: application/json'`);
|
|
1284
1284
|
parts.push(`-d '${escapeShellArg(bodyStr)}'`);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PromptBackError,
|
|
12
12
|
PromptCanceledError,
|
|
13
13
|
getLocalPathConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F32B76CK.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
17
17
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
useKeypress,
|
|
39
39
|
usePrefix,
|
|
40
40
|
useState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GLAHGVBS.js";
|
|
42
42
|
import {
|
|
43
43
|
require_load_json_file
|
|
44
44
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -57710,6 +57710,9 @@ async function pullEnvRecordsForEnvPull(client, pullId, source, options) {
|
|
|
57710
57710
|
userId: void 0,
|
|
57711
57711
|
expiresAt: Math.floor(Date.now() / 1e3) + tokens.expires_in
|
|
57712
57712
|
});
|
|
57713
|
+
if (tokens.refresh_token) {
|
|
57714
|
+
client.updateAuthConfig({ refreshToken: tokens.refresh_token });
|
|
57715
|
+
}
|
|
57713
57716
|
client.persistAuthConfig();
|
|
57714
57717
|
output_manager_default.spinner("Downloading");
|
|
57715
57718
|
return await pullEnvRecords(client, pullId, source, options);
|
|
@@ -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-MQRHJEBS.js";
|
|
10
10
|
import {
|
|
11
11
|
detectExplicitScope,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
param,
|
|
14
14
|
printProjectNotFoundError,
|
|
15
15
|
resolveProjectCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GLAHGVBS.js";
|
|
17
17
|
import {
|
|
18
18
|
buildCommandWithYes,
|
|
19
19
|
outputActionRequired
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
buildCommand,
|
|
30
30
|
pullCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VLTQJKP6.js";
|
|
32
32
|
import {
|
|
33
33
|
envCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GLAHGVBS.js";
|
|
35
35
|
import {
|
|
36
36
|
confirmOption,
|
|
37
37
|
deploymentOption,
|
|
@@ -4633,7 +4633,7 @@ var versionsSubcommand = {
|
|
|
4633
4633
|
};
|
|
4634
4634
|
var evaluationsSubcommand = {
|
|
4635
4635
|
name: "evaluations",
|
|
4636
|
-
aliases: [
|
|
4636
|
+
aliases: [],
|
|
4637
4637
|
description: "Display evaluation metrics for a feature flag",
|
|
4638
4638
|
arguments: [
|
|
4639
4639
|
{
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getLocalPathConfig,
|
|
9
9
|
isPromptBackError,
|
|
10
10
|
isPromptCanceledError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F32B76CK.js";
|
|
12
12
|
import {
|
|
13
13
|
table
|
|
14
14
|
} from "./chunk-NZRWTCRM.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
selectAndParseRemoteUrl,
|
|
47
47
|
selectOrg,
|
|
48
48
|
writeServicesConfig
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GLAHGVBS.js";
|
|
50
50
|
import {
|
|
51
51
|
printError
|
|
52
52
|
} from "./chunk-SZXT3PDQ.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OOD67FAL.js";
|
|
10
10
|
import {
|
|
11
11
|
autoInstallVercelPlugin
|
|
12
12
|
} from "./chunk-NJUPUGOE.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-64IF634X.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureLink
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HZKJMZEQ.js";
|
|
19
19
|
import {
|
|
20
20
|
pullCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VLTQJKP6.js";
|
|
22
22
|
import {
|
|
23
23
|
help
|
|
24
24
|
} from "./chunk-DMSLNAVH.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
envPullCommandLogic,
|
|
29
29
|
humanizePath,
|
|
30
30
|
parseTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GLAHGVBS.js";
|
|
32
32
|
import {
|
|
33
33
|
TelemetryClient
|
|
34
34
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
progress,
|
|
11
11
|
require_dist as require_dist2,
|
|
12
12
|
sleep
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CHZBEMLF.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-XBN2O34P.js";
|
|
17
17
|
import {
|
|
18
18
|
CommandTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IHQ7DPQI.js";
|
|
20
20
|
import {
|
|
21
21
|
showPluginTipIfNeeded
|
|
22
22
|
} from "./chunk-NJUPUGOE.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
require_dist as require_dist3,
|
|
34
34
|
require_pluralize,
|
|
35
35
|
ua_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GLAHGVBS.js";
|
|
37
37
|
import {
|
|
38
38
|
require_strip_ansi,
|
|
39
39
|
responseError
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireProjectContext,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GKVAAY2A.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
stamp_default
|
|
24
24
|
} from "./chunk-64IF634X.js";
|
|
25
25
|
import "./chunk-VXYGCOKL.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-GLAHGVBS.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
29
29
|
AGENT_STATUS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printDiffSummary,
|
|
18
18
|
requireProjectContext,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J6KTUJHV.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveRoute,
|
|
32
32
|
shellQuoteRouteIdentifierForSuggestion,
|
|
33
33
|
withGlobalFlags
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GKVAAY2A.js";
|
|
35
35
|
import {
|
|
36
36
|
editSubcommand
|
|
37
37
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
stamp_default
|
|
40
40
|
} from "./chunk-64IF634X.js";
|
|
41
41
|
import "./chunk-VXYGCOKL.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GLAHGVBS.js";
|
|
43
43
|
import {
|
|
44
44
|
outputAgentError
|
|
45
45
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKVAAY2A.js";
|
|
21
21
|
import {
|
|
22
22
|
enableSubcommand
|
|
23
23
|
} from "./chunk-VZSZBD4V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GLAHGVBS.js";
|
|
29
29
|
import {
|
|
30
30
|
outputAgentError
|
|
31
31
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
parseSubcommandArgs,
|
|
10
10
|
requireProjectContext,
|
|
11
11
|
withGlobalFlags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GKVAAY2A.js";
|
|
13
13
|
import {
|
|
14
14
|
exportSubcommand
|
|
15
15
|
} from "./chunk-VZSZBD4V.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GLAHGVBS.js";
|
|
17
17
|
import {
|
|
18
18
|
outputAgentError
|
|
19
19
|
} from "./chunk-UDWRZXIT.js";
|
|
@@ -56,11 +56,11 @@ async function image(client, argv, telemetry) {
|
|
|
56
56
|
}
|
|
57
57
|
switch (subcommand) {
|
|
58
58
|
case "ls":
|
|
59
|
-
return (await import("./ls-
|
|
59
|
+
return (await import("./ls-44NPIO2N.js")).default(client, args, telemetry);
|
|
60
60
|
case "inspect":
|
|
61
|
-
return (await import("./inspect-
|
|
61
|
+
return (await import("./inspect-WBHUZC3R.js")).default(client, args, telemetry);
|
|
62
62
|
case "rm":
|
|
63
|
-
return (await import("./rm-
|
|
63
|
+
return (await import("./rm-O474MI5C.js")).default(client, args, telemetry);
|
|
64
64
|
default:
|
|
65
65
|
output_manager_default.error(`Unhandled image subcommand: ${subcommand}`);
|
|
66
66
|
return 1;
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
requireVcrRepositoryAndTag,
|
|
21
21
|
resolveVcrScope,
|
|
22
22
|
validateVcrJsonOutput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NLRIKNPX.js";
|
|
24
24
|
import "./chunk-BUZRVER7.js";
|
|
25
25
|
import "./chunk-XPKWKPWA.js";
|
|
26
26
|
import {
|
|
27
27
|
tagsInspectSubcommand
|
|
28
28
|
} from "./chunk-GIL3VAUR.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GLAHGVBS.js";
|
|
30
30
|
import "./chunk-UDWRZXIT.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
emitAlertsScopeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XFGY3JAX.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getLinkedProject,
|
|
24
24
|
getProjectByNameOrId,
|
|
25
25
|
getScope
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GLAHGVBS.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
29
29
|
buildCommandWithGlobalFlags,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
requireVcrRepositoryAndImageId,
|
|
21
21
|
resolveVcrScope,
|
|
22
22
|
validateVcrJsonOutput
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NLRIKNPX.js";
|
|
24
24
|
import "./chunk-BUZRVER7.js";
|
|
25
25
|
import "./chunk-XPKWKPWA.js";
|
|
26
26
|
import {
|
|
27
27
|
imageInspectSubcommand
|
|
28
28
|
} from "./chunk-FYQPTH5C.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-GLAHGVBS.js";
|
|
30
30
|
import "./chunk-UDWRZXIT.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|