vercel 54.17.0 → 54.17.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-KWCZRH7N.js → chunk-DWA63R5L.js} +1 -1
- package/dist/chunks/{chunk-YE3C5CUX.js → chunk-LCNEKTLC.js} +31 -4
- package/dist/chunks/{chunk-5X7FBWLF.js → chunk-MLVCDMCS.js} +1 -1
- package/dist/chunks/{chunk-Z2MBXYZZ.js → chunk-NKU6QGO6.js} +17 -2
- package/dist/chunks/{chunk-BRLY3Q4U.js → chunk-VO7PRFFG.js} +1 -1
- package/dist/chunks/{query-MAN4NKU4.js → query-IIUJIRHR.js} +80 -8
- package/dist/chunks/{schema-WOW2BATT.js → schema-EUH7PJEX.js} +2 -2
- package/dist/commands/build/index.js +11 -3
- package/dist/commands/deploy/index.js +3 -3
- package/dist/commands/env/index.js +2 -2
- package/dist/commands/link/index.js +2 -2
- package/dist/commands-bulk.js +27 -6
- package/dist/index.js +3 -3
- package/dist/version.mjs +1 -1
- package/package.json +11 -11
|
@@ -73,12 +73,28 @@ var metricsCommand = {
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
name: "limit",
|
|
76
|
-
shorthand:
|
|
76
|
+
shorthand: "l",
|
|
77
77
|
type: Number,
|
|
78
78
|
deprecated: false,
|
|
79
79
|
description: "Max groups per time bucket (default: 10)",
|
|
80
80
|
argument: "N"
|
|
81
81
|
},
|
|
82
|
+
{
|
|
83
|
+
name: "order-by",
|
|
84
|
+
shorthand: null,
|
|
85
|
+
type: String,
|
|
86
|
+
deprecated: false,
|
|
87
|
+
description: "Order grouped results by value or count (default: count)",
|
|
88
|
+
argument: "value|count"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "order",
|
|
92
|
+
shorthand: null,
|
|
93
|
+
type: String,
|
|
94
|
+
deprecated: false,
|
|
95
|
+
description: "Order direction for grouped results: asc or desc (default: desc)",
|
|
96
|
+
argument: "asc|desc"
|
|
97
|
+
},
|
|
82
98
|
{
|
|
83
99
|
name: "filter",
|
|
84
100
|
shorthand: "f",
|
|
@@ -88,8 +104,15 @@ var metricsCommand = {
|
|
|
88
104
|
argument: "EXPR"
|
|
89
105
|
},
|
|
90
106
|
{
|
|
91
|
-
name: "
|
|
107
|
+
name: "prod",
|
|
92
108
|
shorthand: null,
|
|
109
|
+
type: Boolean,
|
|
110
|
+
deprecated: false,
|
|
111
|
+
description: `Limit query to production environment (equivalent to -f "environment eq 'production'")`
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "since",
|
|
115
|
+
shorthand: "s",
|
|
93
116
|
type: String,
|
|
94
117
|
deprecated: false,
|
|
95
118
|
description: "Start time: relative (1h, 30m, 2d) or ISO date (default: 1h)",
|
|
@@ -97,7 +120,7 @@ var metricsCommand = {
|
|
|
97
120
|
},
|
|
98
121
|
{
|
|
99
122
|
name: "until",
|
|
100
|
-
shorthand:
|
|
123
|
+
shorthand: "u",
|
|
101
124
|
type: String,
|
|
102
125
|
deprecated: false,
|
|
103
126
|
description: "End time (default: now)",
|
|
@@ -151,7 +174,11 @@ var metricsCommand = {
|
|
|
151
174
|
},
|
|
152
175
|
{
|
|
153
176
|
name: "Core Web Vitals (LCP) by route",
|
|
154
|
-
value: `${packageName} metrics vercel.
|
|
177
|
+
value: `${packageName} metrics vercel.speed_insights.lcp_ms -a p75 --prod --group-by route --since 7d`
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "Routes with the lowest p75 LCP",
|
|
181
|
+
value: `${packageName} metrics vercel.speed_insights.lcp_ms -a p75 --prod --group-by route --since 7d --order-by value --order asc`
|
|
155
182
|
},
|
|
156
183
|
{
|
|
157
184
|
name: "Daily pageviews with a Paris-aligned bucket",
|
|
@@ -15,13 +15,27 @@ import {
|
|
|
15
15
|
function getRollupColumnName(metric, aggregation) {
|
|
16
16
|
return `${metric}_${aggregation}`.replace(/[./]/g, "_");
|
|
17
17
|
}
|
|
18
|
+
function getResolvedOrderMetadata(query, response) {
|
|
19
|
+
const orderBy = query.orderBy ?? (response.orderBy ? "count" : void 0);
|
|
20
|
+
const orderDirection = response.orderDirection ?? query.orderDirection;
|
|
21
|
+
return {
|
|
22
|
+
...orderBy ? { orderBy } : {},
|
|
23
|
+
...orderDirection ? { orderDirection } : {}
|
|
24
|
+
};
|
|
25
|
+
}
|
|
18
26
|
function formatQueryJson(query, response) {
|
|
27
|
+
const orderMetadata = getResolvedOrderMetadata(query, response);
|
|
28
|
+
const queryWithResponseMetadata = {
|
|
29
|
+
...query,
|
|
30
|
+
...orderMetadata
|
|
31
|
+
};
|
|
19
32
|
return JSON.stringify(
|
|
20
33
|
{
|
|
21
|
-
query,
|
|
34
|
+
query: queryWithResponseMetadata,
|
|
22
35
|
summary: response.summary ?? [],
|
|
23
36
|
data: response.data ?? [],
|
|
24
|
-
statistics: response.statistics ?? {}
|
|
37
|
+
statistics: response.statistics ?? {},
|
|
38
|
+
...orderMetadata
|
|
25
39
|
},
|
|
26
40
|
null,
|
|
27
41
|
2
|
|
@@ -169,6 +183,7 @@ async function fetchMetricDetailOrExit(client, accountId, metricId, jsonOutput)
|
|
|
169
183
|
|
|
170
184
|
export {
|
|
171
185
|
getRollupColumnName,
|
|
186
|
+
getResolvedOrderMetadata,
|
|
172
187
|
formatQueryJson,
|
|
173
188
|
formatErrorJson,
|
|
174
189
|
handleApiError,
|
|
@@ -9,9 +9,10 @@ import {
|
|
|
9
9
|
formatErrorJson,
|
|
10
10
|
formatQueryJson,
|
|
11
11
|
getDefaultAggregation,
|
|
12
|
+
getResolvedOrderMetadata,
|
|
12
13
|
getRollupColumnName,
|
|
13
14
|
handleApiError
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NKU6QGO6.js";
|
|
15
16
|
import {
|
|
16
17
|
indent_default
|
|
17
18
|
} from "./chunk-A3NYPUKZ.js";
|
|
@@ -24,7 +25,7 @@ import {
|
|
|
24
25
|
} from "./chunk-XPKWKPWA.js";
|
|
25
26
|
import {
|
|
26
27
|
metricsCommand
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LCNEKTLC.js";
|
|
28
29
|
import {
|
|
29
30
|
getScope
|
|
30
31
|
} from "./chunk-2F6JT2OC.js";
|
|
@@ -75,6 +76,34 @@ function validateRequiredMetric(metric) {
|
|
|
75
76
|
message: "Missing required metric. Specify the metric to query.\n\nRun 'vercel metrics schema' to see available metrics."
|
|
76
77
|
};
|
|
77
78
|
}
|
|
79
|
+
function validateOrderDirection(orderDirection) {
|
|
80
|
+
if (orderDirection === void 0) {
|
|
81
|
+
return { valid: true, value: void 0 };
|
|
82
|
+
}
|
|
83
|
+
if (orderDirection === "asc" || orderDirection === "desc") {
|
|
84
|
+
return { valid: true, value: orderDirection };
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
valid: false,
|
|
88
|
+
code: "INVALID_ORDER",
|
|
89
|
+
message: `Invalid order "${orderDirection}". Use "asc" or "desc".`,
|
|
90
|
+
allowedValues: ["asc", "desc"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function validateOrderBy(orderBy) {
|
|
94
|
+
if (orderBy === void 0) {
|
|
95
|
+
return { valid: true, value: void 0 };
|
|
96
|
+
}
|
|
97
|
+
if (orderBy === "value" || orderBy === "count") {
|
|
98
|
+
return { valid: true, value: orderBy };
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
valid: false,
|
|
102
|
+
code: "INVALID_ORDER_BY",
|
|
103
|
+
message: `Invalid order-by "${orderBy}". Use "value" or "count".`,
|
|
104
|
+
allowedValues: ["value", "count"]
|
|
105
|
+
};
|
|
106
|
+
}
|
|
78
107
|
|
|
79
108
|
// src/commands/metrics/text-output.ts
|
|
80
109
|
var import_chalk = __toESM(require_source(), 1);
|
|
@@ -573,6 +602,12 @@ function formatMetadataHeader(opts) {
|
|
|
573
602
|
if (opts.filter) {
|
|
574
603
|
rows.push({ key: "Filter", value: opts.filter });
|
|
575
604
|
}
|
|
605
|
+
if (opts.orderBy && opts.orderDirection) {
|
|
606
|
+
rows.push({
|
|
607
|
+
key: "Order By",
|
|
608
|
+
value: `${opts.orderBy} ${opts.orderDirection}${opts.orderBy === "count" ? " (default)" : ""}`
|
|
609
|
+
});
|
|
610
|
+
}
|
|
576
611
|
if (opts.scope.type === "project") {
|
|
577
612
|
rows.push({
|
|
578
613
|
key: "Project",
|
|
@@ -692,6 +727,7 @@ function formatText(response, opts) {
|
|
|
692
727
|
opts.aggregation
|
|
693
728
|
);
|
|
694
729
|
const granularityMs = toGranularityMsFromDuration(opts.granularity);
|
|
730
|
+
const orderMetadata = getResolvedOrderMetadata(opts, response);
|
|
695
731
|
const { groups, series, groupValues } = extractGroupedSeries(
|
|
696
732
|
response.data ?? [],
|
|
697
733
|
opts.groupBy,
|
|
@@ -716,6 +752,7 @@ function formatText(response, opts) {
|
|
|
716
752
|
periodUnique,
|
|
717
753
|
bucketTimezone: opts.bucketTimezone,
|
|
718
754
|
filter: opts.filter,
|
|
755
|
+
...opts.groupBy.length > 0 ? orderMetadata : {},
|
|
719
756
|
scope: opts.scope,
|
|
720
757
|
projectName: opts.projectName,
|
|
721
758
|
teamName: opts.teamName,
|
|
@@ -769,11 +806,20 @@ function handleValidationError(result, jsonOutput, client) {
|
|
|
769
806
|
);
|
|
770
807
|
} else {
|
|
771
808
|
output_manager_default.error(result.message);
|
|
809
|
+
if (result.allowedValues && result.allowedValues.length > 0) {
|
|
810
|
+
output_manager_default.print(`
|
|
811
|
+
Available values: ${result.allowedValues.join(", ")}
|
|
812
|
+
`);
|
|
813
|
+
}
|
|
772
814
|
}
|
|
773
815
|
return 1;
|
|
774
816
|
}
|
|
775
|
-
|
|
776
|
-
|
|
817
|
+
var PRODUCTION_ENVIRONMENT_FILTER = "environment eq 'production'";
|
|
818
|
+
function combineFilters(filters, prod) {
|
|
819
|
+
const nonEmptyFilters = [
|
|
820
|
+
...filters?.filter((filter) => filter.length > 0) ?? [],
|
|
821
|
+
...prod ? [PRODUCTION_ENVIRONMENT_FILTER] : []
|
|
822
|
+
];
|
|
777
823
|
if (nonEmptyFilters.length === 0) {
|
|
778
824
|
return void 0;
|
|
779
825
|
}
|
|
@@ -782,6 +828,9 @@ function combineFilters(filters) {
|
|
|
782
828
|
}
|
|
783
829
|
return nonEmptyFilters.map((filter) => `(${filter})`).join(" and ");
|
|
784
830
|
}
|
|
831
|
+
function getRequestOrderBy(metric, aggregation, orderBy) {
|
|
832
|
+
return orderBy === "value" ? getRollupColumnName(metric, aggregation) : void 0;
|
|
833
|
+
}
|
|
785
834
|
async function resolveQueryScope(client, opts) {
|
|
786
835
|
if (opts.project || opts.all) {
|
|
787
836
|
const { team } = await getScope(client);
|
|
@@ -868,8 +917,11 @@ async function query(client, telemetry) {
|
|
|
868
917
|
const aggregationFlag = flags["--aggregation"];
|
|
869
918
|
const groupBy = flags["--group-by"] ?? [];
|
|
870
919
|
const limit = flags["--limit"];
|
|
920
|
+
const orderByInput = typeof flags["--order-by"] === "string" ? flags["--order-by"].trim().toLowerCase() : void 0;
|
|
921
|
+
const orderInput = typeof flags["--order"] === "string" ? flags["--order"].trim().toLowerCase() : void 0;
|
|
871
922
|
const filters = flags["--filter"];
|
|
872
|
-
const
|
|
923
|
+
const prod = flags["--prod"];
|
|
924
|
+
const filter = combineFilters(filters, prod);
|
|
873
925
|
const since = flags["--since"];
|
|
874
926
|
const until = flags["--until"];
|
|
875
927
|
const granularity = flags["--granularity"];
|
|
@@ -880,7 +932,10 @@ async function query(client, telemetry) {
|
|
|
880
932
|
telemetry.trackCliOptionAggregation(aggregationFlag);
|
|
881
933
|
telemetry.trackCliOptionGroupBy(groupBy.length > 0 ? groupBy : void 0);
|
|
882
934
|
telemetry.trackCliOptionLimit(limit);
|
|
935
|
+
telemetry.trackCliOptionOrderBy(orderByInput);
|
|
936
|
+
telemetry.trackCliOptionOrder(orderInput);
|
|
883
937
|
telemetry.trackCliOptionFilter(filters);
|
|
938
|
+
telemetry.trackCliFlagProd(prod);
|
|
884
939
|
telemetry.trackCliOptionSince(since);
|
|
885
940
|
telemetry.trackCliOptionUntil(until);
|
|
886
941
|
telemetry.trackCliOptionGranularity(granularity);
|
|
@@ -888,6 +943,11 @@ async function query(client, telemetry) {
|
|
|
888
943
|
telemetry.trackCliOptionProject(project);
|
|
889
944
|
telemetry.trackCliFlagAll(all);
|
|
890
945
|
telemetry.trackCliOptionFormat(flags["--format"]);
|
|
946
|
+
const orderByResult = validateOrderBy(orderByInput);
|
|
947
|
+
if (!orderByResult.valid) {
|
|
948
|
+
return handleValidationError(orderByResult, jsonOutput, client);
|
|
949
|
+
}
|
|
950
|
+
const orderByMode = orderByResult.value;
|
|
891
951
|
const requiredMetric = validateRequiredMetric(metricFlag);
|
|
892
952
|
if (!requiredMetric.valid) {
|
|
893
953
|
return handleValidationError(requiredMetric, jsonOutput, client);
|
|
@@ -897,6 +957,11 @@ async function query(client, telemetry) {
|
|
|
897
957
|
if (!mutualResult.valid) {
|
|
898
958
|
return handleValidationError(mutualResult, jsonOutput, client);
|
|
899
959
|
}
|
|
960
|
+
const orderDirectionResult = validateOrderDirection(orderInput);
|
|
961
|
+
if (!orderDirectionResult.valid) {
|
|
962
|
+
return handleValidationError(orderDirectionResult, jsonOutput, client);
|
|
963
|
+
}
|
|
964
|
+
const orderDirection = orderDirectionResult.value;
|
|
900
965
|
const scopeResult = await resolveQueryScope(client, {
|
|
901
966
|
project,
|
|
902
967
|
all,
|
|
@@ -917,6 +982,7 @@ async function query(client, telemetry) {
|
|
|
917
982
|
}
|
|
918
983
|
const aggregationInput = aggregationFlag ?? getDefaultAggregation(detailOrExitCode, metric) ?? "sum";
|
|
919
984
|
const aggregation = aggregationInput;
|
|
985
|
+
const orderBy = getRequestOrderBy(metric, aggregation, orderByMode);
|
|
920
986
|
let startTime;
|
|
921
987
|
let endTime;
|
|
922
988
|
try {
|
|
@@ -945,7 +1011,9 @@ async function query(client, telemetry) {
|
|
|
945
1011
|
...bucketTimezone ? { bucketTimezone } : {},
|
|
946
1012
|
...groupBy.length > 0 ? { groupBy } : {},
|
|
947
1013
|
...filter ? { filter } : {},
|
|
948
|
-
limit: limit ?? 10
|
|
1014
|
+
limit: limit ?? 10,
|
|
1015
|
+
...orderBy ? { orderBy } : {},
|
|
1016
|
+
...orderDirection ? { orderDirection } : {}
|
|
949
1017
|
};
|
|
950
1018
|
if (!jsonOutput) {
|
|
951
1019
|
output_manager_default.spinner("Querying metrics...");
|
|
@@ -989,7 +1057,9 @@ async function query(client, telemetry) {
|
|
|
989
1057
|
startTime: startTime.toISOString(),
|
|
990
1058
|
endTime: endTime.toISOString(),
|
|
991
1059
|
granularity: granResult.duration,
|
|
992
|
-
...bucketTimezone ? { bucketTimezone } : {}
|
|
1060
|
+
...bucketTimezone ? { bucketTimezone } : {},
|
|
1061
|
+
...orderByMode ? { orderBy: orderByMode } : {},
|
|
1062
|
+
...orderDirection ? { orderDirection } : {}
|
|
993
1063
|
},
|
|
994
1064
|
response
|
|
995
1065
|
)
|
|
@@ -1008,7 +1078,9 @@ async function query(client, telemetry) {
|
|
|
1008
1078
|
periodStart: startTime.toISOString(),
|
|
1009
1079
|
periodEnd: endTime.toISOString(),
|
|
1010
1080
|
granularity: granResult.duration,
|
|
1011
|
-
bucketTimezone
|
|
1081
|
+
bucketTimezone,
|
|
1082
|
+
orderBy: orderByMode,
|
|
1083
|
+
orderDirection
|
|
1012
1084
|
})
|
|
1013
1085
|
);
|
|
1014
1086
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
fetchMetricDetailOrExit,
|
|
9
9
|
fetchMetricListOrExit,
|
|
10
10
|
formatErrorJson
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NKU6QGO6.js";
|
|
12
12
|
import {
|
|
13
13
|
indent_default
|
|
14
14
|
} from "./chunk-A3NYPUKZ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-XPKWKPWA.js";
|
|
21
21
|
import {
|
|
22
22
|
schemaSubcommand
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LCNEKTLC.js";
|
|
24
24
|
import {
|
|
25
25
|
getScope
|
|
26
26
|
} from "./chunk-2F6JT2OC.js";
|
|
@@ -975,6 +975,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
975
975
|
let zeroConfigFallbackRoutes = [];
|
|
976
976
|
let detectedServices;
|
|
977
977
|
let detectedResolvedServices;
|
|
978
|
+
let servicesToRecord;
|
|
978
979
|
const hasExperimentalServicesV1ConfiguredInVercelConfig = hasNonEmptyObject(
|
|
979
980
|
localConfig.experimentalServices
|
|
980
981
|
);
|
|
@@ -1017,6 +1018,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
1017
1018
|
builds = [{ src: "**", use: "@vercel/static" }];
|
|
1018
1019
|
}
|
|
1019
1020
|
detectedResolvedServices = detectedBuilders.services;
|
|
1021
|
+
servicesToRecord = detectedResolvedServices;
|
|
1020
1022
|
detectedServices = detectedBuilders.services?.filter(isExperimentalService2);
|
|
1021
1023
|
if (detectedBuilders.useImplicitEnvInjection && detectedServices && detectedServices.length > 0) {
|
|
1022
1024
|
const serviceUrlEnvVars = getExperimentalServiceUrlEnvVars({
|
|
@@ -1675,14 +1677,16 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
1675
1677
|
}
|
|
1676
1678
|
const buildsToRun = [];
|
|
1677
1679
|
const seenBuildsToRun = /* @__PURE__ */ new Set();
|
|
1680
|
+
const recordedServices = [];
|
|
1678
1681
|
for (const service of detectedResolvedServices || []) {
|
|
1679
1682
|
const alreadyExecutedBuild = getAlreadyExecutedBuild(service.builder);
|
|
1680
1683
|
if (alreadyExecutedBuild) {
|
|
1681
1684
|
if (generatedExperimentalServicesV2Config) {
|
|
1682
1685
|
output_manager_default.warn(getGeneratedServiceAlreadyBuiltWarning(service));
|
|
1683
|
-
|
|
1684
|
-
serviceByBuilder.set(alreadyExecutedBuild, service);
|
|
1686
|
+
continue;
|
|
1685
1687
|
}
|
|
1688
|
+
serviceByBuilder.set(alreadyExecutedBuild, service);
|
|
1689
|
+
recordedServices.push(service);
|
|
1686
1690
|
continue;
|
|
1687
1691
|
}
|
|
1688
1692
|
const serviceBuilderIdentity = getBuilderIdentity(service.builder);
|
|
@@ -1691,7 +1695,9 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
1691
1695
|
seenBuildsToRun.add(serviceBuilderIdentity);
|
|
1692
1696
|
buildsToRun.push(service.builder);
|
|
1693
1697
|
}
|
|
1698
|
+
recordedServices.push(service);
|
|
1694
1699
|
}
|
|
1700
|
+
servicesToRecord = recordedServices.length > 0 ? recordedServices : void 0;
|
|
1695
1701
|
if (buildsToRun.length > 0) {
|
|
1696
1702
|
await runBuilders(buildsToRun);
|
|
1697
1703
|
}
|
|
@@ -1853,7 +1859,9 @@ async function doBuild(client, project, buildsJson, cwd, outputDir, span, standa
|
|
|
1853
1859
|
...detectedExperimentalServicesV2Config && Object.keys(detectedExperimentalServicesV2Config).length > 0 && {
|
|
1854
1860
|
experimentalServicesV2: detectedExperimentalServicesV2Config
|
|
1855
1861
|
},
|
|
1856
|
-
...!detectedExperimentalServicesV1Config &&
|
|
1862
|
+
...!detectedExperimentalServicesV1Config && servicesToRecord && servicesToRecord.length > 0 && {
|
|
1863
|
+
services: servicesToRecord
|
|
1864
|
+
},
|
|
1857
1865
|
...mergedDeploymentId && { deploymentId: mergedDeploymentId }
|
|
1858
1866
|
};
|
|
1859
1867
|
await import_fs_extra2.default.writeJSON(join3(outputDir, "config.json"), config, { spaces: 2 });
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
purchaseDomainIfAvailable,
|
|
14
14
|
require_cjs,
|
|
15
15
|
setupDomain
|
|
16
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-DWA63R5L.js";
|
|
17
17
|
import {
|
|
18
18
|
readLocalConfig
|
|
19
19
|
} from "../../chunks/chunk-A4B4JQVP.js";
|
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
deprecatedArchiveSplitTgz,
|
|
41
41
|
getCommandAliases,
|
|
42
42
|
initSubcommand
|
|
43
|
-
} from "../../chunks/chunk-
|
|
44
|
-
import "../../chunks/chunk-
|
|
43
|
+
} from "../../chunks/chunk-VO7PRFFG.js";
|
|
44
|
+
import "../../chunks/chunk-LCNEKTLC.js";
|
|
45
45
|
import "../../chunks/chunk-IB56QKCM.js";
|
|
46
46
|
import "../../chunks/chunk-DPS62LHL.js";
|
|
47
47
|
import "../../chunks/chunk-SGPBULVT.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
} from "../../chunks/chunk-YPQSDAEW.js";
|
|
30
30
|
import {
|
|
31
31
|
getCommandAliases
|
|
32
|
-
} from "../../chunks/chunk-
|
|
33
|
-
import "../../chunks/chunk-
|
|
32
|
+
} from "../../chunks/chunk-VO7PRFFG.js";
|
|
33
|
+
import "../../chunks/chunk-LCNEKTLC.js";
|
|
34
34
|
import "../../chunks/chunk-IB56QKCM.js";
|
|
35
35
|
import "../../chunks/chunk-DPS62LHL.js";
|
|
36
36
|
import "../../chunks/chunk-SGPBULVT.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
addSubcommand7 as addSubcommand,
|
|
12
12
|
getCommandAliases,
|
|
13
13
|
linkCommand
|
|
14
|
-
} from "../../chunks/chunk-
|
|
15
|
-
import "../../chunks/chunk-
|
|
14
|
+
} from "../../chunks/chunk-VO7PRFFG.js";
|
|
15
|
+
import "../../chunks/chunk-LCNEKTLC.js";
|
|
16
16
|
import "../../chunks/chunk-IB56QKCM.js";
|
|
17
17
|
import "../../chunks/chunk-DPS62LHL.js";
|
|
18
18
|
import "../../chunks/chunk-SGPBULVT.js";
|
package/dist/commands-bulk.js
CHANGED
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
resolveOpenApiTagForTeamsCli,
|
|
66
66
|
setAutoUpdate,
|
|
67
67
|
tryOpenApiFallback
|
|
68
|
-
} from "./chunks/chunk-
|
|
68
|
+
} from "./chunks/chunk-MLVCDMCS.js";
|
|
69
69
|
import {
|
|
70
70
|
getUpdateCommand,
|
|
71
71
|
isGlobal
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
require_format,
|
|
91
91
|
require_jsonlines,
|
|
92
92
|
setupDomain
|
|
93
|
-
} from "./chunks/chunk-
|
|
93
|
+
} from "./chunks/chunk-DWA63R5L.js";
|
|
94
94
|
import {
|
|
95
95
|
getGlobalPathConfig,
|
|
96
96
|
persistAuthConfig,
|
|
@@ -397,11 +397,11 @@ import {
|
|
|
397
397
|
webAnalyticsSubcommand,
|
|
398
398
|
webhooksCommand,
|
|
399
399
|
whoamiCommand
|
|
400
|
-
} from "./chunks/chunk-
|
|
400
|
+
} from "./chunks/chunk-VO7PRFFG.js";
|
|
401
401
|
import {
|
|
402
402
|
metricsCommand,
|
|
403
403
|
schemaSubcommand
|
|
404
|
-
} from "./chunks/chunk-
|
|
404
|
+
} from "./chunks/chunk-LCNEKTLC.js";
|
|
405
405
|
import {
|
|
406
406
|
addSubcommand as addSubcommand9,
|
|
407
407
|
deleteSubcommand,
|
|
@@ -40863,6 +40863,22 @@ var MetricsTelemetryClient = class extends TelemetryClient {
|
|
|
40863
40863
|
});
|
|
40864
40864
|
}
|
|
40865
40865
|
}
|
|
40866
|
+
trackCliOptionOrderBy(v) {
|
|
40867
|
+
if (v) {
|
|
40868
|
+
this.trackCliOption({
|
|
40869
|
+
option: "order-by",
|
|
40870
|
+
value: v
|
|
40871
|
+
});
|
|
40872
|
+
}
|
|
40873
|
+
}
|
|
40874
|
+
trackCliOptionOrder(v) {
|
|
40875
|
+
if (v) {
|
|
40876
|
+
this.trackCliOption({
|
|
40877
|
+
option: "order",
|
|
40878
|
+
value: v
|
|
40879
|
+
});
|
|
40880
|
+
}
|
|
40881
|
+
}
|
|
40866
40882
|
trackCliOptionFilter(v) {
|
|
40867
40883
|
if (v && v.length > 0) {
|
|
40868
40884
|
this.trackCliOption({
|
|
@@ -40871,6 +40887,11 @@ var MetricsTelemetryClient = class extends TelemetryClient {
|
|
|
40871
40887
|
});
|
|
40872
40888
|
}
|
|
40873
40889
|
}
|
|
40890
|
+
trackCliFlagProd(v) {
|
|
40891
|
+
if (v) {
|
|
40892
|
+
this.trackCliFlag("prod");
|
|
40893
|
+
}
|
|
40894
|
+
}
|
|
40874
40895
|
trackCliOptionSince(v) {
|
|
40875
40896
|
if (v) {
|
|
40876
40897
|
this.trackCliOption({
|
|
@@ -40966,7 +40987,7 @@ async function metrics(client) {
|
|
|
40966
40987
|
return 0;
|
|
40967
40988
|
}
|
|
40968
40989
|
telemetry2.trackCliSubcommandSchema(subcommandOriginal);
|
|
40969
|
-
const schemaFn = (await import("./chunks/schema-
|
|
40990
|
+
const schemaFn = (await import("./chunks/schema-EUH7PJEX.js")).default;
|
|
40970
40991
|
return schemaFn(client, telemetry2);
|
|
40971
40992
|
}
|
|
40972
40993
|
default: {
|
|
@@ -40979,7 +41000,7 @@ async function metrics(client) {
|
|
|
40979
41000
|
output_manager_default.print(help(metricsCommand, { columns: client.stderr.columns }));
|
|
40980
41001
|
return 2;
|
|
40981
41002
|
}
|
|
40982
|
-
const queryFn = (await import("./chunks/query-
|
|
41003
|
+
const queryFn = (await import("./chunks/query-IIUJIRHR.js")).default;
|
|
40983
41004
|
return queryFn(client, telemetry2);
|
|
40984
41005
|
}
|
|
40985
41006
|
}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_ci_info,
|
|
19
19
|
setAutoUpdate,
|
|
20
20
|
tryOpenApiFallback
|
|
21
|
-
} from "./chunks/chunk-
|
|
21
|
+
} from "./chunks/chunk-MLVCDMCS.js";
|
|
22
22
|
import {
|
|
23
23
|
getUpdateCommand
|
|
24
24
|
} from "./chunks/chunk-E6FCE2XJ.js";
|
|
@@ -37,8 +37,8 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
commandNames,
|
|
39
39
|
commands
|
|
40
|
-
} from "./chunks/chunk-
|
|
41
|
-
import "./chunks/chunk-
|
|
40
|
+
} from "./chunks/chunk-VO7PRFFG.js";
|
|
41
|
+
import "./chunks/chunk-LCNEKTLC.js";
|
|
42
42
|
import "./chunks/chunk-IB56QKCM.js";
|
|
43
43
|
import "./chunks/chunk-DPS62LHL.js";
|
|
44
44
|
import "./chunks/chunk-SGPBULVT.js";
|
package/dist/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "54.17.
|
|
1
|
+
export const version = "54.17.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "54.17.
|
|
3
|
+
"version": "54.17.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
"@vercel/backends": "0.8.18",
|
|
38
38
|
"@vercel/build-utils": "13.32.1",
|
|
39
39
|
"@vercel/cli-auth": "0.3.0",
|
|
40
|
-
"@vercel/cli-config": "0.2.0",
|
|
41
|
-
"@vercel/detect-agent": "1.2.3",
|
|
42
40
|
"@vercel/container": "0.0.2",
|
|
43
|
-
"@vercel/
|
|
41
|
+
"@vercel/detect-agent": "1.2.3",
|
|
42
|
+
"@vercel/cli-config": "0.2.0",
|
|
44
43
|
"@vercel/express": "0.1.109",
|
|
45
44
|
"@vercel/fastify": "0.1.100",
|
|
45
|
+
"@vercel/go": "3.10.0",
|
|
46
46
|
"@vercel/h3": "0.1.106",
|
|
47
47
|
"@vercel/hono": "0.2.100",
|
|
48
|
+
"@vercel/elysia": "0.1.97",
|
|
48
49
|
"@vercel/hydrogen": "1.4.0",
|
|
49
|
-
"@vercel/go": "3.10.0",
|
|
50
50
|
"@vercel/koa": "0.1.80",
|
|
51
51
|
"@vercel/nestjs": "0.2.101",
|
|
52
|
-
"@vercel/
|
|
52
|
+
"@vercel/next": "4.20.1",
|
|
53
53
|
"@vercel/redwood": "2.5.0",
|
|
54
|
-
"@vercel/remix-builder": "5.9.1",
|
|
55
|
-
"@vercel/next": "4.20.0",
|
|
56
54
|
"@vercel/python": "6.47.1",
|
|
57
|
-
"@vercel/
|
|
55
|
+
"@vercel/node": "5.8.21",
|
|
56
|
+
"@vercel/remix-builder": "5.9.1",
|
|
58
57
|
"@vercel/ruby": "2.5.1",
|
|
58
|
+
"@vercel/rust": "1.3.0",
|
|
59
59
|
"@vercel/static-build": "2.11.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
@@ -181,11 +181,11 @@
|
|
|
181
181
|
"yauzl-promise": "2.1.3",
|
|
182
182
|
"@vercel-internals/constants": "1.0.4",
|
|
183
183
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
184
|
-
"@vercel-internals/types": "3.0.6",
|
|
185
184
|
"@vercel/client": "17.6.1",
|
|
185
|
+
"@vercel/error-utils": "2.2.0",
|
|
186
|
+
"@vercel-internals/types": "3.0.6",
|
|
186
187
|
"@vercel/frameworks": "3.30.0",
|
|
187
188
|
"@vercel/fs-detectors": "6.10.1",
|
|
188
|
-
"@vercel/error-utils": "2.2.0",
|
|
189
189
|
"@vercel/routing-utils": "6.3.1"
|
|
190
190
|
},
|
|
191
191
|
"scripts": {
|