vercel 37.9.0 → 37.11.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/index.js +478 -37
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -16375,8 +16375,7 @@ var init_arg_common = __esm({
|
|
16375
16375
|
deprecated: false
|
16376
16376
|
},
|
16377
16377
|
{ name: "team", shorthand: "T", type: String, deprecated: false },
|
16378
|
-
{ name: "api", shorthand: null, type: String, deprecated: false }
|
16379
|
-
{ name: "cwd", shorthand: null, type: String, deprecated: false }
|
16378
|
+
{ name: "api", shorthand: null, type: String, deprecated: false }
|
16380
16379
|
];
|
16381
16380
|
GLOBAL_OPTIONS = getFlagsSpecification(globalCommandOptions);
|
16382
16381
|
arg_common_default = () => GLOBAL_OPTIONS;
|
@@ -69715,6 +69714,14 @@ var init_telemetry = __esm({
|
|
69715
69714
|
TelemetryClient = class {
|
69716
69715
|
constructor({ opts }) {
|
69717
69716
|
this.redactedValue = "[REDACTED]";
|
69717
|
+
this.redactedArgumentsLength = (args2) => {
|
69718
|
+
if (args2 && args2.length === 1) {
|
69719
|
+
return "ONE";
|
69720
|
+
} else if (args2.length > 1) {
|
69721
|
+
return "MANY";
|
69722
|
+
}
|
69723
|
+
return "NONE";
|
69724
|
+
};
|
69718
69725
|
this.output = opts.output;
|
69719
69726
|
this.isDebug = opts.isDebug || false;
|
69720
69727
|
this.store = opts.store;
|
@@ -69751,7 +69758,7 @@ var init_telemetry = __esm({
|
|
69751
69758
|
}
|
69752
69759
|
trackCliOption(eventData) {
|
69753
69760
|
this.track({
|
69754
|
-
key: `
|
69761
|
+
key: `option:${eventData.option}`,
|
69755
69762
|
value: eventData.value
|
69756
69763
|
});
|
69757
69764
|
}
|
@@ -69795,6 +69802,18 @@ var init_telemetry = __esm({
|
|
69795
69802
|
});
|
69796
69803
|
}
|
69797
69804
|
}
|
69805
|
+
trackDefaultDeploy() {
|
69806
|
+
this.track({
|
69807
|
+
key: "default-deploy",
|
69808
|
+
value: "TRUE"
|
69809
|
+
});
|
69810
|
+
}
|
69811
|
+
trackExtension(extension) {
|
69812
|
+
this.track({
|
69813
|
+
key: "extension",
|
69814
|
+
value: extension
|
69815
|
+
});
|
69816
|
+
}
|
69798
69817
|
trackCommandError(error3) {
|
69799
69818
|
this.output.error(error3);
|
69800
69819
|
return;
|
@@ -69805,6 +69824,7 @@ var init_telemetry = __esm({
|
|
69805
69824
|
};
|
69806
69825
|
TelemetryEventStore = class {
|
69807
69826
|
constructor(opts) {
|
69827
|
+
this.teamId = "NO_TEAM_ID";
|
69808
69828
|
this.isDebug = opts.isDebug || false;
|
69809
69829
|
this.output = opts.output;
|
69810
69830
|
this.sessionId = (0, import_node_crypto.randomUUID)();
|
@@ -69813,6 +69833,7 @@ var init_telemetry = __esm({
|
|
69813
69833
|
}
|
69814
69834
|
add(event) {
|
69815
69835
|
event.sessionId = this.sessionId;
|
69836
|
+
event.teamId = this.teamId;
|
69816
69837
|
this.events.push(event);
|
69817
69838
|
}
|
69818
69839
|
get readonlyEvents() {
|
@@ -69882,7 +69903,7 @@ function getSubcommand(cliArgs, config2) {
|
|
69882
69903
|
}
|
69883
69904
|
return {
|
69884
69905
|
subcommand: config2.default,
|
69885
|
-
subcommandOriginal: "",
|
69906
|
+
subcommandOriginal: "default",
|
69886
69907
|
args: cliArgs
|
69887
69908
|
};
|
69888
69909
|
}
|
@@ -71964,7 +71985,7 @@ var init_ls = __esm({
|
|
71964
71985
|
trackCliOptionLimit(limit) {
|
71965
71986
|
if (limit) {
|
71966
71987
|
this.trackCliOption({
|
71967
|
-
|
71988
|
+
option: "limit",
|
71968
71989
|
value: String(limit)
|
71969
71990
|
});
|
71970
71991
|
}
|
@@ -71972,8 +71993,8 @@ var init_ls = __esm({
|
|
71972
71993
|
trackCliOptionNext(next) {
|
71973
71994
|
if (next) {
|
71974
71995
|
this.trackCliOption({
|
71975
|
-
|
71976
|
-
value:
|
71996
|
+
option: "next",
|
71997
|
+
value: this.redactedValue
|
71977
71998
|
});
|
71978
71999
|
}
|
71979
72000
|
}
|
@@ -73799,10 +73820,58 @@ var init_handle_cert_error = __esm({
|
|
73799
73820
|
}
|
73800
73821
|
});
|
73801
73822
|
|
73823
|
+
// src/util/telemetry/commands/alias/set.ts
|
73824
|
+
var AliasSetTelemetryClient;
|
73825
|
+
var init_set = __esm({
|
73826
|
+
"src/util/telemetry/commands/alias/set.ts"() {
|
73827
|
+
"use strict";
|
73828
|
+
init_telemetry();
|
73829
|
+
AliasSetTelemetryClient = class extends TelemetryClient {
|
73830
|
+
trackCliFlagDebug(flag) {
|
73831
|
+
if (flag) {
|
73832
|
+
this.trackCliFlag("debug");
|
73833
|
+
}
|
73834
|
+
}
|
73835
|
+
trackCliOptionLocalConfig(localConfig) {
|
73836
|
+
if (localConfig) {
|
73837
|
+
this.trackCliOption({
|
73838
|
+
option: "local-config",
|
73839
|
+
value: this.redactedValue
|
73840
|
+
});
|
73841
|
+
}
|
73842
|
+
}
|
73843
|
+
trackCliArgumentDeploymentUrl(deploymentUrl) {
|
73844
|
+
if (deploymentUrl) {
|
73845
|
+
this.trackCliArgument({
|
73846
|
+
arg: "deployment-url",
|
73847
|
+
value: this.redactedValue
|
73848
|
+
});
|
73849
|
+
}
|
73850
|
+
}
|
73851
|
+
trackCliArgumentCustomDomain(customDomain) {
|
73852
|
+
if (customDomain) {
|
73853
|
+
this.trackCliArgument({
|
73854
|
+
arg: "custom-domain",
|
73855
|
+
value: this.redactedValue
|
73856
|
+
});
|
73857
|
+
}
|
73858
|
+
}
|
73859
|
+
};
|
73860
|
+
}
|
73861
|
+
});
|
73862
|
+
|
73802
73863
|
// src/commands/alias/set.ts
|
73803
73864
|
async function set(client2, opts, args2) {
|
73804
73865
|
const setStamp = stamp_default();
|
73805
73866
|
const { output: output2, localConfig } = client2;
|
73867
|
+
const telemetryClient = new AliasSetTelemetryClient({
|
73868
|
+
opts: {
|
73869
|
+
output: client2.output,
|
73870
|
+
store: client2.telemetryEventStore
|
73871
|
+
}
|
73872
|
+
});
|
73873
|
+
telemetryClient.trackCliFlagDebug(opts["--debug"]);
|
73874
|
+
telemetryClient.trackCliOptionLocalConfig(opts["--local-config"]);
|
73806
73875
|
const { contextName, user } = await getScope(client2);
|
73807
73876
|
if (args2.length > 2) {
|
73808
73877
|
output2.error(
|
@@ -73831,6 +73900,8 @@ async function set(client2, opts, args2) {
|
|
73831
73900
|
return 1;
|
73832
73901
|
}
|
73833
73902
|
if (args2.length === 1) {
|
73903
|
+
const [aliasTarget2] = args2;
|
73904
|
+
telemetryClient.trackCliArgumentCustomDomain(aliasTarget2);
|
73834
73905
|
const deployment2 = handleCertError(
|
73835
73906
|
output2,
|
73836
73907
|
await getDeploymentForAlias(
|
@@ -73886,6 +73957,8 @@ async function set(client2, opts, args2) {
|
|
73886
73957
|
return 0;
|
73887
73958
|
}
|
73888
73959
|
const [deploymentIdOrHost, aliasTarget] = args2;
|
73960
|
+
telemetryClient.trackCliArgumentDeploymentUrl(deploymentIdOrHost);
|
73961
|
+
telemetryClient.trackCliArgumentCustomDomain(aliasTarget);
|
73889
73962
|
const deployment = handleCertError(
|
73890
73963
|
output2,
|
73891
73964
|
await getDeployment(client2, contextName, deploymentIdOrHost)
|
@@ -74075,7 +74148,7 @@ function getTargetsForAlias(args2, { alias: alias2 } = {}) {
|
|
74075
74148
|
return typeof alias2 === "string" ? [alias2] : alias2;
|
74076
74149
|
}
|
74077
74150
|
var import_chalk32;
|
74078
|
-
var
|
74151
|
+
var init_set2 = __esm({
|
74079
74152
|
"src/commands/alias/set.ts"() {
|
74080
74153
|
"use strict";
|
74081
74154
|
import_chalk32 = __toESM3(require_source());
|
@@ -74091,6 +74164,7 @@ var init_set = __esm({
|
|
74091
74164
|
init_link();
|
74092
74165
|
init_pkg_name();
|
74093
74166
|
init_to_host();
|
74167
|
+
init_set();
|
74094
74168
|
}
|
74095
74169
|
});
|
74096
74170
|
|
@@ -74194,6 +74268,12 @@ var init_alias = __esm({
|
|
74194
74268
|
value: actual
|
74195
74269
|
});
|
74196
74270
|
}
|
74271
|
+
trackCliSubcommandSet(actual) {
|
74272
|
+
this.trackCliSubcommand({
|
74273
|
+
subcommand: "set",
|
74274
|
+
value: actual
|
74275
|
+
});
|
74276
|
+
}
|
74197
74277
|
};
|
74198
74278
|
}
|
74199
74279
|
});
|
@@ -74233,6 +74313,7 @@ async function alias(client2) {
|
|
74233
74313
|
case "rm":
|
74234
74314
|
return rm(client2, parsedArguments.flags, args2);
|
74235
74315
|
default:
|
74316
|
+
telemetryClient.trackCliSubcommandSet(subcommandOriginal);
|
74236
74317
|
return set(client2, parsedArguments.flags, args2);
|
74237
74318
|
}
|
74238
74319
|
}
|
@@ -74246,7 +74327,7 @@ var init_alias2 = __esm({
|
|
74246
74327
|
init_help();
|
74247
74328
|
init_ls2();
|
74248
74329
|
init_rm();
|
74249
|
-
|
74330
|
+
init_set2();
|
74250
74331
|
init_command();
|
74251
74332
|
init_get_flags_specification();
|
74252
74333
|
init_alias();
|
@@ -85397,7 +85478,7 @@ var require_detect_file_system_api = __commonJS2({
|
|
85397
85478
|
});
|
85398
85479
|
module2.exports = __toCommonJS4(detect_file_system_api_exports);
|
85399
85480
|
var import_semver4 = __toESM4(require_semver2());
|
85400
|
-
var
|
85481
|
+
var import__15 = require_dist27();
|
85401
85482
|
async function detectFileSystemAPI2({
|
85402
85483
|
files,
|
85403
85484
|
projectSettings,
|
@@ -85463,7 +85544,7 @@ var require_detect_file_system_api = __commonJS2({
|
|
85463
85544
|
};
|
85464
85545
|
}
|
85465
85546
|
const invalidBuilder = builders.find(({ use }) => {
|
85466
|
-
const valid = (0,
|
85547
|
+
const valid = (0, import__15.isOfficialRuntime)("go", use) || (0, import__15.isOfficialRuntime)("python", use) || (0, import__15.isOfficialRuntime)("ruby", use) || (0, import__15.isOfficialRuntime)("node", use) || (0, import__15.isOfficialRuntime)("next", use) || (0, import__15.isOfficialRuntime)("static", use) || (0, import__15.isOfficialRuntime)("static-build", use);
|
85467
85548
|
return !valid;
|
85468
85549
|
});
|
85469
85550
|
if (invalidBuilder) {
|
@@ -85476,7 +85557,7 @@ var require_detect_file_system_api = __commonJS2({
|
|
85476
85557
|
for (const lang of ["go", "python", "ruby"]) {
|
85477
85558
|
for (const { use } of builders) {
|
85478
85559
|
const plugin = "vercel-plugin-" + lang;
|
85479
|
-
if ((0,
|
85560
|
+
if ((0, import__15.isOfficialRuntime)(lang, use) && !deps[plugin]) {
|
85480
85561
|
return {
|
85481
85562
|
metadata,
|
85482
85563
|
fsApiBuilder: null,
|
@@ -85533,7 +85614,7 @@ var require_detect_file_system_api = __commonJS2({
|
|
85533
85614
|
}
|
85534
85615
|
}
|
85535
85616
|
const frontendBuilder = builders.find(
|
85536
|
-
({ use }) => (0,
|
85617
|
+
({ use }) => (0, import__15.isOfficialRuntime)("next", use) || (0, import__15.isOfficialRuntime)("static", use) || (0, import__15.isOfficialRuntime)("static-build", use)
|
85537
85618
|
);
|
85538
85619
|
const config2 = frontendBuilder?.config || {};
|
85539
85620
|
const withTag = tag ? `@${tag}` : "";
|
@@ -120058,12 +120139,55 @@ var init_scrub_argv = __esm({
|
|
120058
120139
|
}
|
120059
120140
|
});
|
120060
120141
|
|
120142
|
+
// src/util/telemetry/commands/build/index.ts
|
120143
|
+
var BuildTelemetryClient;
|
120144
|
+
var init_build = __esm({
|
120145
|
+
"src/util/telemetry/commands/build/index.ts"() {
|
120146
|
+
"use strict";
|
120147
|
+
init_telemetry();
|
120148
|
+
BuildTelemetryClient = class extends TelemetryClient {
|
120149
|
+
trackCliOptionOutput(path11) {
|
120150
|
+
if (path11) {
|
120151
|
+
this.trackCliOption({
|
120152
|
+
option: "output",
|
120153
|
+
value: this.redactedValue
|
120154
|
+
});
|
120155
|
+
}
|
120156
|
+
}
|
120157
|
+
trackCliOptionTarget(option) {
|
120158
|
+
if (option) {
|
120159
|
+
this.trackCliOption({
|
120160
|
+
option: "target",
|
120161
|
+
value: option
|
120162
|
+
});
|
120163
|
+
}
|
120164
|
+
}
|
120165
|
+
trackCliFlagProd(flag) {
|
120166
|
+
if (flag) {
|
120167
|
+
this.trackCliFlag("prod");
|
120168
|
+
}
|
120169
|
+
}
|
120170
|
+
trackCliFlagYes(flag) {
|
120171
|
+
if (flag) {
|
120172
|
+
this.trackCliFlag("yes");
|
120173
|
+
}
|
120174
|
+
}
|
120175
|
+
};
|
120176
|
+
}
|
120177
|
+
});
|
120178
|
+
|
120061
120179
|
// src/commands/build/index.ts
|
120062
120180
|
var build_exports = {};
|
120063
120181
|
__export3(build_exports, {
|
120064
120182
|
default: () => main2
|
120065
120183
|
});
|
120066
120184
|
async function main2(client2) {
|
120185
|
+
let telemetryClient = new BuildTelemetryClient({
|
120186
|
+
opts: {
|
120187
|
+
output: client2.output,
|
120188
|
+
store: client2.telemetryEventStore
|
120189
|
+
}
|
120190
|
+
});
|
120067
120191
|
let { cwd } = client2;
|
120068
120192
|
const { output: output2 } = client2;
|
120069
120193
|
if (process.env.__VERCEL_BUILD_RUNNING) {
|
@@ -120085,6 +120209,10 @@ async function main2(client2) {
|
|
120085
120209
|
const flagsSpecification = getFlagsSpecification(buildCommand.options);
|
120086
120210
|
try {
|
120087
120211
|
parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification);
|
120212
|
+
telemetryClient.trackCliOptionOutput(parsedArgs.flags["--output"]);
|
120213
|
+
telemetryClient.trackCliOptionTarget(parsedArgs.flags["--target"]);
|
120214
|
+
telemetryClient.trackCliFlagProd(parsedArgs.flags["--prod"]);
|
120215
|
+
telemetryClient.trackCliFlagYes(parsedArgs.flags["--yes"]);
|
120088
120216
|
} catch (error3) {
|
120089
120217
|
handleError(error3);
|
120090
120218
|
return 1;
|
@@ -120671,7 +120799,7 @@ async function getFrameworkRoutes(framework, dirPrefix) {
|
|
120671
120799
|
return routes2;
|
120672
120800
|
}
|
120673
120801
|
var import_fs_extra18, import_chalk50, import_dotenv, import_semver3, import_minimatch2, import_path28, import_frameworks4, import_build_utils12, import_fs_detectors4, import_routing_utils2, import_client8;
|
120674
|
-
var
|
120802
|
+
var init_build2 = __esm({
|
120675
120803
|
"src/commands/build/index.ts"() {
|
120676
120804
|
"use strict";
|
120677
120805
|
import_fs_extra18 = __toESM3(require_lib());
|
@@ -120710,6 +120838,7 @@ var init_build = __esm({
|
|
120710
120838
|
init_scrub_argv();
|
120711
120839
|
init_get_flags_specification();
|
120712
120840
|
init_parse_target();
|
120841
|
+
init_build();
|
120713
120842
|
}
|
120714
120843
|
});
|
120715
120844
|
|
@@ -121881,7 +122010,7 @@ var init_deploy = __esm({
|
|
121881
122010
|
trackCliOptionArchive(format4) {
|
121882
122011
|
if (format4) {
|
121883
122012
|
this.trackCliOption({
|
121884
|
-
|
122013
|
+
option: "archive",
|
121885
122014
|
value: format4
|
121886
122015
|
});
|
121887
122016
|
}
|
@@ -121889,7 +122018,7 @@ var init_deploy = __esm({
|
|
121889
122018
|
trackCliOptionBuildEnv(buildEnv) {
|
121890
122019
|
if (buildEnv && buildEnv.length > 0) {
|
121891
122020
|
this.trackCliOption({
|
121892
|
-
|
122021
|
+
option: "build-env",
|
121893
122022
|
value: this.redactedValue
|
121894
122023
|
});
|
121895
122024
|
}
|
@@ -121897,7 +122026,7 @@ var init_deploy = __esm({
|
|
121897
122026
|
trackCliOptionEnv(env) {
|
121898
122027
|
if (env && env.length > 0) {
|
121899
122028
|
this.trackCliOption({
|
121900
|
-
|
122029
|
+
option: "env",
|
121901
122030
|
value: this.redactedValue
|
121902
122031
|
});
|
121903
122032
|
}
|
@@ -121905,7 +122034,7 @@ var init_deploy = __esm({
|
|
121905
122034
|
trackCliOptionMeta(meta) {
|
121906
122035
|
if (meta && meta.length > 0) {
|
121907
122036
|
this.trackCliOption({
|
121908
|
-
|
122037
|
+
option: "meta",
|
121909
122038
|
value: this.redactedValue
|
121910
122039
|
});
|
121911
122040
|
}
|
@@ -121913,7 +122042,7 @@ var init_deploy = __esm({
|
|
121913
122042
|
trackCliOptionName(name) {
|
121914
122043
|
if (name) {
|
121915
122044
|
this.trackCliOption({
|
121916
|
-
|
122045
|
+
option: "name",
|
121917
122046
|
value: this.redactedValue
|
121918
122047
|
});
|
121919
122048
|
}
|
@@ -121921,7 +122050,7 @@ var init_deploy = __esm({
|
|
121921
122050
|
trackCliOptionRegions(regions) {
|
121922
122051
|
if (regions) {
|
121923
122052
|
this.trackCliOption({
|
121924
|
-
|
122053
|
+
option: "regions",
|
121925
122054
|
value: regions
|
121926
122055
|
});
|
121927
122056
|
}
|
@@ -121930,7 +122059,7 @@ var init_deploy = __esm({
|
|
121930
122059
|
if (target) {
|
121931
122060
|
const value = ["production", "preview"].includes(target) ? target : "CUSTOM_ID_OR_SLUG";
|
121932
122061
|
this.trackCliOption({
|
121933
|
-
|
122062
|
+
option: "target",
|
121934
122063
|
value
|
121935
122064
|
});
|
121936
122065
|
}
|
@@ -143268,7 +143397,7 @@ var init_transfer_in = __esm({
|
|
143268
143397
|
trackCliOptionCode(code2) {
|
143269
143398
|
if (code2) {
|
143270
143399
|
this.trackCliOption({
|
143271
|
-
|
143400
|
+
option: "code",
|
143272
143401
|
value: this.redactedValue
|
143273
143402
|
});
|
143274
143403
|
}
|
@@ -149617,13 +149746,43 @@ var init_command22 = __esm({
|
|
149617
149746
|
}
|
149618
149747
|
});
|
149619
149748
|
|
149749
|
+
// src/util/telemetry/commands/promote/index.ts
|
149750
|
+
var PromoteTelemetryClient;
|
149751
|
+
var init_promote = __esm({
|
149752
|
+
"src/util/telemetry/commands/promote/index.ts"() {
|
149753
|
+
"use strict";
|
149754
|
+
init_telemetry();
|
149755
|
+
PromoteTelemetryClient = class extends TelemetryClient {
|
149756
|
+
trackCliSubcommandStatus() {
|
149757
|
+
this.trackCliSubcommand({
|
149758
|
+
subcommand: "status",
|
149759
|
+
value: "status"
|
149760
|
+
});
|
149761
|
+
}
|
149762
|
+
trackCliOptionTimeout(time) {
|
149763
|
+
if (time) {
|
149764
|
+
this.trackCliOption({
|
149765
|
+
option: "timeout",
|
149766
|
+
value: "[TIME]"
|
149767
|
+
});
|
149768
|
+
}
|
149769
|
+
}
|
149770
|
+
trackCliFlagYes(yes) {
|
149771
|
+
if (yes) {
|
149772
|
+
this.trackCliFlag("yes");
|
149773
|
+
}
|
149774
|
+
}
|
149775
|
+
};
|
149776
|
+
}
|
149777
|
+
});
|
149778
|
+
|
149620
149779
|
// src/commands/promote/index.ts
|
149621
149780
|
var promote_exports = {};
|
149622
149781
|
__export3(promote_exports, {
|
149623
149782
|
default: () => promote_default
|
149624
149783
|
});
|
149625
149784
|
var import_error_utils29, import_ms25, promote_default;
|
149626
|
-
var
|
149785
|
+
var init_promote2 = __esm({
|
149627
149786
|
"src/commands/promote/index.ts"() {
|
149628
149787
|
"use strict";
|
149629
149788
|
init_get_args();
|
@@ -149636,6 +149795,7 @@ var init_promote = __esm({
|
|
149636
149795
|
init_command22();
|
149637
149796
|
init_help();
|
149638
149797
|
init_get_flags_specification();
|
149798
|
+
init_promote();
|
149639
149799
|
promote_default = async (client2) => {
|
149640
149800
|
let parsedArgs = null;
|
149641
149801
|
const flagsSpecification = getFlagsSpecification(promoteCommand.options);
|
@@ -149646,19 +149806,28 @@ var init_promote = __esm({
|
|
149646
149806
|
return 1;
|
149647
149807
|
}
|
149648
149808
|
const { output: output2 } = client2;
|
149809
|
+
const telemetry2 = new PromoteTelemetryClient({
|
149810
|
+
opts: {
|
149811
|
+
output: client2.output,
|
149812
|
+
store: client2.telemetryEventStore
|
149813
|
+
}
|
149814
|
+
});
|
149649
149815
|
if (parsedArgs.flags["--help"]) {
|
149650
149816
|
output2.print(help2(promoteCommand, { columns: client2.stderr.columns }));
|
149651
149817
|
return 2;
|
149652
149818
|
}
|
149653
149819
|
const yes = parsedArgs.flags["--yes"] ?? false;
|
149820
|
+
telemetry2.trackCliFlagYes(parsedArgs.flags["--yes"]);
|
149654
149821
|
let timeout = parsedArgs.flags["--timeout"];
|
149655
149822
|
if (timeout && (0, import_ms25.default)(timeout) === void 0) {
|
149656
149823
|
client2.output.error(`Invalid timeout "${timeout}"`);
|
149657
149824
|
return 1;
|
149658
149825
|
}
|
149826
|
+
telemetry2.trackCliOptionTimeout(parsedArgs.flags["--timeout"]);
|
149659
149827
|
const actionOrDeployId = parsedArgs.args[1] || "status";
|
149660
149828
|
try {
|
149661
149829
|
if (actionOrDeployId === "status") {
|
149830
|
+
telemetry2.trackCliSubcommandStatus();
|
149662
149831
|
const project = await getProjectByCwdOrLink({
|
149663
149832
|
autoConfirm: Boolean(parsedArgs.flags["--yes"]),
|
149664
149833
|
client: client2,
|
@@ -150636,7 +150805,7 @@ var init_rollback = __esm({
|
|
150636
150805
|
trackCliOptionTimeout(time) {
|
150637
150806
|
if (time) {
|
150638
150807
|
this.trackCliOption({
|
150639
|
-
|
150808
|
+
option: "timeout",
|
150640
150809
|
value: "[TIME]"
|
150641
150810
|
});
|
150642
150811
|
}
|
@@ -151791,12 +151960,41 @@ var init_command28 = __esm({
|
|
151791
151960
|
}
|
151792
151961
|
});
|
151793
151962
|
|
151963
|
+
// src/util/telemetry/commands/telemetry/index.ts
|
151964
|
+
var TelemetryTelemetryClient;
|
151965
|
+
var init_telemetry2 = __esm({
|
151966
|
+
"src/util/telemetry/commands/telemetry/index.ts"() {
|
151967
|
+
"use strict";
|
151968
|
+
init_telemetry();
|
151969
|
+
TelemetryTelemetryClient = class extends TelemetryClient {
|
151970
|
+
trackCliSubcommandStatus(actual) {
|
151971
|
+
this.trackCliSubcommand({
|
151972
|
+
subcommand: "status",
|
151973
|
+
value: actual
|
151974
|
+
});
|
151975
|
+
}
|
151976
|
+
trackCliSubcommandEnable(actual) {
|
151977
|
+
this.trackCliSubcommand({
|
151978
|
+
subcommand: "enable",
|
151979
|
+
value: actual
|
151980
|
+
});
|
151981
|
+
}
|
151982
|
+
};
|
151983
|
+
}
|
151984
|
+
});
|
151985
|
+
|
151794
151986
|
// src/commands/telemetry/index.ts
|
151795
151987
|
var telemetry_exports = {};
|
151796
151988
|
__export3(telemetry_exports, {
|
151797
151989
|
default: () => telemetry
|
151798
151990
|
});
|
151799
151991
|
async function telemetry(client2) {
|
151992
|
+
let telemetryClient = new TelemetryTelemetryClient({
|
151993
|
+
opts: {
|
151994
|
+
output: client2.output,
|
151995
|
+
store: client2.telemetryEventStore
|
151996
|
+
}
|
151997
|
+
});
|
151800
151998
|
let parsedArguments;
|
151801
151999
|
const flagsSpecification = getFlagsSpecification(telemetryCommand.options);
|
151802
152000
|
try {
|
@@ -151816,8 +152014,10 @@ async function telemetry(client2) {
|
|
151816
152014
|
);
|
151817
152015
|
switch (subcommand) {
|
151818
152016
|
case "status":
|
152017
|
+
telemetryClient.trackCliSubcommandStatus(subcommand);
|
151819
152018
|
return status(client2);
|
151820
152019
|
case "enable":
|
152020
|
+
telemetryClient.trackCliSubcommandEnable(subcommand);
|
151821
152021
|
return enable(client2);
|
151822
152022
|
case "disable":
|
151823
152023
|
return disable(client2);
|
@@ -151835,7 +152035,7 @@ async function telemetry(client2) {
|
|
151835
152035
|
}
|
151836
152036
|
}
|
151837
152037
|
var import_chalk115, COMMAND_CONFIG12;
|
151838
|
-
var
|
152038
|
+
var init_telemetry3 = __esm({
|
151839
152039
|
"src/commands/telemetry/index.ts"() {
|
151840
152040
|
"use strict";
|
151841
152041
|
init_error2();
|
@@ -151847,6 +152047,7 @@ var init_telemetry2 = __esm({
|
|
151847
152047
|
init_disable();
|
151848
152048
|
init_command28();
|
151849
152049
|
init_get_flags_specification();
|
152050
|
+
init_telemetry2();
|
151850
152051
|
import_chalk115 = __toESM3(require_source());
|
151851
152052
|
COMMAND_CONFIG12 = {
|
151852
152053
|
status: ["status"],
|
@@ -152561,15 +152762,37 @@ init_telemetry();
|
|
152561
152762
|
// src/util/telemetry/root.ts
|
152562
152763
|
init_telemetry();
|
152563
152764
|
var RootTelemetryClient = class extends TelemetryClient {
|
152564
|
-
|
152765
|
+
trackCliExtension(extension) {
|
152766
|
+
if (extension) {
|
152767
|
+
this.trackExtension(extension);
|
152768
|
+
}
|
152769
|
+
}
|
152770
|
+
trackCliDefaultDeploy(defaultDeploy) {
|
152771
|
+
if (defaultDeploy) {
|
152772
|
+
this.trackDefaultDeploy();
|
152773
|
+
}
|
152774
|
+
}
|
152775
|
+
trackCliCommandAlias(actual) {
|
152565
152776
|
this.trackCliCommand({
|
152566
|
-
command: "
|
152777
|
+
command: "alias",
|
152567
152778
|
value: actual
|
152568
152779
|
});
|
152569
152780
|
}
|
152570
|
-
|
152781
|
+
trackCliCommandBisect(actual) {
|
152571
152782
|
this.trackCliCommand({
|
152572
|
-
command: "
|
152783
|
+
command: "bisect",
|
152784
|
+
value: actual
|
152785
|
+
});
|
152786
|
+
}
|
152787
|
+
trackCliCommandBuild(actual) {
|
152788
|
+
this.trackCliCommand({
|
152789
|
+
command: "build",
|
152790
|
+
value: actual
|
152791
|
+
});
|
152792
|
+
}
|
152793
|
+
trackCliCommandCerts(actual) {
|
152794
|
+
this.trackCliCommand({
|
152795
|
+
command: "certs",
|
152573
152796
|
value: actual
|
152574
152797
|
});
|
152575
152798
|
}
|
@@ -152579,9 +152802,105 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
152579
152802
|
value: actual
|
152580
152803
|
});
|
152581
152804
|
}
|
152582
|
-
|
152805
|
+
trackCliCommandDev(actual) {
|
152583
152806
|
this.trackCliCommand({
|
152584
|
-
command: "
|
152807
|
+
command: "dev",
|
152808
|
+
value: actual
|
152809
|
+
});
|
152810
|
+
}
|
152811
|
+
trackCliCommandDomains(actual) {
|
152812
|
+
this.trackCliCommand({
|
152813
|
+
command: "domains",
|
152814
|
+
value: actual
|
152815
|
+
});
|
152816
|
+
}
|
152817
|
+
trackCliCommandDns(actual) {
|
152818
|
+
this.trackCliCommand({
|
152819
|
+
command: "dns",
|
152820
|
+
value: actual
|
152821
|
+
});
|
152822
|
+
}
|
152823
|
+
trackCliCommandEnv(actual) {
|
152824
|
+
this.trackCliCommand({
|
152825
|
+
command: "env",
|
152826
|
+
value: actual
|
152827
|
+
});
|
152828
|
+
}
|
152829
|
+
trackCliCommandGit(actual) {
|
152830
|
+
this.trackCliCommand({
|
152831
|
+
command: "git",
|
152832
|
+
value: actual
|
152833
|
+
});
|
152834
|
+
}
|
152835
|
+
trackCliCommandInit(actual) {
|
152836
|
+
this.trackCliCommand({
|
152837
|
+
command: "init",
|
152838
|
+
value: actual
|
152839
|
+
});
|
152840
|
+
}
|
152841
|
+
trackCliCommandInspect(actual) {
|
152842
|
+
this.trackCliCommand({
|
152843
|
+
command: "inspect",
|
152844
|
+
value: actual
|
152845
|
+
});
|
152846
|
+
}
|
152847
|
+
trackCliCommandInstall(actual) {
|
152848
|
+
this.trackCliCommand({
|
152849
|
+
command: "install",
|
152850
|
+
value: actual
|
152851
|
+
});
|
152852
|
+
}
|
152853
|
+
trackCliCommandIntegration(actual) {
|
152854
|
+
this.trackCliCommand({
|
152855
|
+
command: "integration",
|
152856
|
+
value: actual
|
152857
|
+
});
|
152858
|
+
}
|
152859
|
+
trackCliCommandLink(actual) {
|
152860
|
+
this.trackCliCommand({
|
152861
|
+
command: "link",
|
152862
|
+
value: actual
|
152863
|
+
});
|
152864
|
+
}
|
152865
|
+
trackCliCommandList(actual) {
|
152866
|
+
this.trackCliCommand({
|
152867
|
+
command: "list",
|
152868
|
+
value: actual
|
152869
|
+
});
|
152870
|
+
}
|
152871
|
+
trackCliCommandLogin(actual) {
|
152872
|
+
this.trackCliCommand({
|
152873
|
+
command: "login",
|
152874
|
+
value: actual
|
152875
|
+
});
|
152876
|
+
}
|
152877
|
+
trackCliCommandLogout(actual) {
|
152878
|
+
this.trackCliCommand({
|
152879
|
+
command: "logout",
|
152880
|
+
value: actual
|
152881
|
+
});
|
152882
|
+
}
|
152883
|
+
trackCliCommandLogs(actual) {
|
152884
|
+
this.trackCliCommand({
|
152885
|
+
command: "logs",
|
152886
|
+
value: actual
|
152887
|
+
});
|
152888
|
+
}
|
152889
|
+
trackCliCommandProject(actual) {
|
152890
|
+
this.trackCliCommand({
|
152891
|
+
command: "project",
|
152892
|
+
value: actual
|
152893
|
+
});
|
152894
|
+
}
|
152895
|
+
trackCliCommandPromote(actual) {
|
152896
|
+
this.trackCliCommand({
|
152897
|
+
command: "promote",
|
152898
|
+
value: actual
|
152899
|
+
});
|
152900
|
+
}
|
152901
|
+
trackCliCommandPull(actual) {
|
152902
|
+
this.trackCliCommand({
|
152903
|
+
command: "pull",
|
152585
152904
|
value: actual
|
152586
152905
|
});
|
152587
152906
|
}
|
@@ -152591,15 +152910,39 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
152591
152910
|
value: actual
|
152592
152911
|
});
|
152593
152912
|
}
|
152913
|
+
trackCliCommandRedeploy(actual) {
|
152914
|
+
this.trackCliCommand({
|
152915
|
+
command: "redeploy",
|
152916
|
+
value: actual
|
152917
|
+
});
|
152918
|
+
}
|
152919
|
+
trackCliCommandRemove(actual) {
|
152920
|
+
this.trackCliCommand({
|
152921
|
+
command: "remove",
|
152922
|
+
value: actual
|
152923
|
+
});
|
152924
|
+
}
|
152925
|
+
trackCliCommandTarget(actual) {
|
152926
|
+
this.trackCliCommand({
|
152927
|
+
command: "target",
|
152928
|
+
value: actual
|
152929
|
+
});
|
152930
|
+
}
|
152594
152931
|
trackCliCommandTeams(actual) {
|
152595
152932
|
this.trackCliCommand({
|
152596
152933
|
command: "teams",
|
152597
152934
|
value: actual
|
152598
152935
|
});
|
152599
152936
|
}
|
152600
|
-
|
152937
|
+
trackCliCommandTelemetry(actual) {
|
152601
152938
|
this.trackCliCommand({
|
152602
|
-
command: "
|
152939
|
+
command: "telemetry",
|
152940
|
+
value: actual
|
152941
|
+
});
|
152942
|
+
}
|
152943
|
+
trackCliCommandWhoami(actual) {
|
152944
|
+
this.trackCliCommand({
|
152945
|
+
command: "whoami",
|
152603
152946
|
value: actual
|
152604
152947
|
});
|
152605
152948
|
}
|
@@ -152618,6 +152961,69 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
152618
152961
|
trackVersion(version2) {
|
152619
152962
|
super.trackVersion(version2);
|
152620
152963
|
}
|
152964
|
+
trackCliOptionCwd(cwd) {
|
152965
|
+
if (cwd) {
|
152966
|
+
this.trackCliOption({ option: "cwd", value: this.redactedValue });
|
152967
|
+
}
|
152968
|
+
}
|
152969
|
+
trackCliOptionLocalConfig(localConfig) {
|
152970
|
+
if (localConfig) {
|
152971
|
+
this.trackCliOption({
|
152972
|
+
option: "local-config",
|
152973
|
+
value: this.redactedValue
|
152974
|
+
});
|
152975
|
+
}
|
152976
|
+
}
|
152977
|
+
trackCliOptionGlobalConfig(globalConfig) {
|
152978
|
+
if (globalConfig) {
|
152979
|
+
this.trackCliOption({
|
152980
|
+
option: "global-config",
|
152981
|
+
value: this.redactedValue
|
152982
|
+
});
|
152983
|
+
}
|
152984
|
+
}
|
152985
|
+
trackCliOptionScope(scope) {
|
152986
|
+
if (scope) {
|
152987
|
+
this.trackCliOption({
|
152988
|
+
option: "scope",
|
152989
|
+
value: this.redactedValue
|
152990
|
+
});
|
152991
|
+
}
|
152992
|
+
}
|
152993
|
+
trackCliOptionToken(token) {
|
152994
|
+
if (token) {
|
152995
|
+
this.trackCliOption({
|
152996
|
+
option: "token",
|
152997
|
+
value: this.redactedValue
|
152998
|
+
});
|
152999
|
+
}
|
153000
|
+
}
|
153001
|
+
trackCliOptionTeam(team) {
|
153002
|
+
if (team) {
|
153003
|
+
this.trackCliOption({
|
153004
|
+
option: "team",
|
153005
|
+
value: this.redactedValue
|
153006
|
+
});
|
153007
|
+
}
|
153008
|
+
}
|
153009
|
+
trackCliOptionApi(api) {
|
153010
|
+
if (api) {
|
153011
|
+
this.trackCliOption({
|
153012
|
+
option: "api",
|
153013
|
+
value: this.redactedValue
|
153014
|
+
});
|
153015
|
+
}
|
153016
|
+
}
|
153017
|
+
trackCliFlagDebug(debug3) {
|
153018
|
+
if (debug3) {
|
153019
|
+
this.trackCliFlag("debug");
|
153020
|
+
}
|
153021
|
+
}
|
153022
|
+
trackCliFlagNoColor(noColor) {
|
153023
|
+
if (noColor) {
|
153024
|
+
this.trackCliFlag("no-color");
|
153025
|
+
}
|
153026
|
+
}
|
152621
153027
|
};
|
152622
153028
|
function getContinuousIntegrationVendorName() {
|
152623
153029
|
for (const env of VENDORS) {
|
@@ -153267,6 +153673,15 @@ var main14 = async () => {
|
|
153267
153673
|
telemetry2.trackArch();
|
153268
153674
|
telemetry2.trackCIVendorName();
|
153269
153675
|
telemetry2.trackVersion(pkg_default.version);
|
153676
|
+
telemetry2.trackCliOptionCwd(parsedArgs.flags["--cwd"]);
|
153677
|
+
telemetry2.trackCliOptionLocalConfig(parsedArgs.flags["--local-config"]);
|
153678
|
+
telemetry2.trackCliOptionGlobalConfig(parsedArgs.flags["--global-config"]);
|
153679
|
+
telemetry2.trackCliFlagDebug(parsedArgs.flags["--debug"]);
|
153680
|
+
telemetry2.trackCliFlagNoColor(parsedArgs.flags["--no-color"]);
|
153681
|
+
telemetry2.trackCliOptionScope(parsedArgs.flags["--scope"]);
|
153682
|
+
telemetry2.trackCliOptionToken(parsedArgs.flags["--token"]);
|
153683
|
+
telemetry2.trackCliOptionTeam(parsedArgs.flags["--team"]);
|
153684
|
+
telemetry2.trackCliOptionApi(parsedArgs.flags["--api"]);
|
153270
153685
|
if (typeof parsedArgs.flags["--api"] === "string") {
|
153271
153686
|
apiUrl = parsedArgs.flags["--api"];
|
153272
153687
|
} else if (config2 && config2.api) {
|
@@ -153296,6 +153711,7 @@ var main14 = async () => {
|
|
153296
153711
|
client.cwd = parsedArgs.flags["--cwd"];
|
153297
153712
|
}
|
153298
153713
|
const { cwd } = client;
|
153714
|
+
let defaultDeploy = false;
|
153299
153715
|
let subcommand = void 0;
|
153300
153716
|
let userSuppliedSubCommand = "";
|
153301
153717
|
if (targetOrSubcommand) {
|
@@ -153317,6 +153733,7 @@ var main14 = async () => {
|
|
153317
153733
|
} else {
|
153318
153734
|
debug2("user supplied no target, defaulting to deploy");
|
153319
153735
|
subcommand = "deploy";
|
153736
|
+
defaultDeploy = true;
|
153320
153737
|
}
|
153321
153738
|
if (subcommand === "help") {
|
153322
153739
|
subcommand = subSubCommand || "deploy";
|
@@ -153453,6 +153870,7 @@ var main14 = async () => {
|
|
153453
153870
|
parsedArgs.args.slice(3),
|
153454
153871
|
cwd
|
153455
153872
|
);
|
153873
|
+
telemetry2.trackCliExtension(targetCommand2);
|
153456
153874
|
} catch (err) {
|
153457
153875
|
if ((0, import_error_utils34.isErrnoException)(err) && err.code === "ENOENT") {
|
153458
153876
|
targetCommand2 = subcommand = "deploy";
|
@@ -153469,22 +153887,28 @@ var main14 = async () => {
|
|
153469
153887
|
func = (init_alias2(), __toCommonJS3(alias_exports)).default;
|
153470
153888
|
break;
|
153471
153889
|
case "bisect":
|
153890
|
+
telemetry2.trackCliCommandBisect(userSuppliedSubCommand);
|
153472
153891
|
func = (init_bisect(), __toCommonJS3(bisect_exports)).default;
|
153473
153892
|
break;
|
153474
153893
|
case "build":
|
153475
|
-
|
153894
|
+
telemetry2.trackCliCommandBuild(userSuppliedSubCommand);
|
153895
|
+
func = (init_build2(), __toCommonJS3(build_exports)).default;
|
153476
153896
|
break;
|
153477
153897
|
case "certs":
|
153898
|
+
telemetry2.trackCliCommandCerts(userSuppliedSubCommand);
|
153478
153899
|
func = (init_certs(), __toCommonJS3(certs_exports)).default;
|
153479
153900
|
break;
|
153480
153901
|
case "deploy":
|
153481
153902
|
telemetry2.trackCliCommandDeploy(userSuppliedSubCommand);
|
153903
|
+
telemetry2.trackCliDefaultDeploy(defaultDeploy);
|
153482
153904
|
func = (init_deploy2(), __toCommonJS3(deploy_exports)).default;
|
153483
153905
|
break;
|
153484
153906
|
case "dev":
|
153907
|
+
telemetry2.trackCliCommandDev(userSuppliedSubCommand);
|
153485
153908
|
func = (init_dev2(), __toCommonJS3(dev_exports)).default;
|
153486
153909
|
break;
|
153487
153910
|
case "dns":
|
153911
|
+
telemetry2.trackCliCommandDns(userSuppliedSubCommand);
|
153488
153912
|
func = (init_dns(), __toCommonJS3(dns_exports)).default;
|
153489
153913
|
break;
|
153490
153914
|
case "domains":
|
@@ -153492,33 +153916,43 @@ var main14 = async () => {
|
|
153492
153916
|
func = (init_domains2(), __toCommonJS3(domains_exports)).default;
|
153493
153917
|
break;
|
153494
153918
|
case "env":
|
153919
|
+
telemetry2.trackCliCommandEnv(userSuppliedSubCommand);
|
153495
153920
|
func = (init_env(), __toCommonJS3(env_exports)).default;
|
153496
153921
|
break;
|
153497
153922
|
case "git":
|
153923
|
+
telemetry2.trackCliCommandGit(userSuppliedSubCommand);
|
153498
153924
|
func = (init_git(), __toCommonJS3(git_exports)).default;
|
153499
153925
|
break;
|
153500
153926
|
case "init":
|
153927
|
+
telemetry2.trackCliCommandInit(userSuppliedSubCommand);
|
153501
153928
|
func = (init_init2(), __toCommonJS3(init_exports)).default;
|
153502
153929
|
break;
|
153503
153930
|
case "inspect":
|
153931
|
+
telemetry2.trackCliCommandInspect(userSuppliedSubCommand);
|
153504
153932
|
func = (init_inspect2(), __toCommonJS3(inspect_exports)).default;
|
153505
153933
|
break;
|
153506
153934
|
case "install":
|
153935
|
+
telemetry2.trackCliCommandInstall(userSuppliedSubCommand);
|
153507
153936
|
func = (init_install(), __toCommonJS3(install_exports)).default;
|
153508
153937
|
break;
|
153509
153938
|
case "integration":
|
153939
|
+
telemetry2.trackCliCommandIntegration(userSuppliedSubCommand);
|
153510
153940
|
func = (init_integration(), __toCommonJS3(integration_exports)).default;
|
153511
153941
|
break;
|
153512
153942
|
case "link":
|
153943
|
+
telemetry2.trackCliCommandLink(userSuppliedSubCommand);
|
153513
153944
|
func = (init_link3(), __toCommonJS3(link_exports)).default;
|
153514
153945
|
break;
|
153515
153946
|
case "list":
|
153947
|
+
telemetry2.trackCliCommandList(userSuppliedSubCommand);
|
153516
153948
|
func = (init_list3(), __toCommonJS3(list_exports)).default;
|
153517
153949
|
break;
|
153518
153950
|
case "logs":
|
153951
|
+
telemetry2.trackCliCommandLogs(userSuppliedSubCommand);
|
153519
153952
|
func = (init_logs2(), __toCommonJS3(logs_exports)).default;
|
153520
153953
|
break;
|
153521
153954
|
case "login":
|
153955
|
+
telemetry2.trackCliCommandLogin(userSuppliedSubCommand);
|
153522
153956
|
func = (init_login2(), __toCommonJS3(login_exports)).default;
|
153523
153957
|
break;
|
153524
153958
|
case "logout":
|
@@ -153526,18 +153960,23 @@ var main14 = async () => {
|
|
153526
153960
|
func = (init_logout(), __toCommonJS3(logout_exports)).default;
|
153527
153961
|
break;
|
153528
153962
|
case "project":
|
153963
|
+
telemetry2.trackCliCommandProject(userSuppliedSubCommand);
|
153529
153964
|
func = (init_project(), __toCommonJS3(project_exports)).default;
|
153530
153965
|
break;
|
153531
153966
|
case "promote":
|
153532
|
-
|
153967
|
+
telemetry2.trackCliCommandPromote(userSuppliedSubCommand);
|
153968
|
+
func = (init_promote2(), __toCommonJS3(promote_exports)).default;
|
153533
153969
|
break;
|
153534
153970
|
case "pull":
|
153971
|
+
telemetry2.trackCliCommandPull(userSuppliedSubCommand);
|
153535
153972
|
func = (init_pull2(), __toCommonJS3(pull_exports)).default;
|
153536
153973
|
break;
|
153537
153974
|
case "redeploy":
|
153975
|
+
telemetry2.trackCliCommandRedeploy(userSuppliedSubCommand);
|
153538
153976
|
func = (init_redeploy(), __toCommonJS3(redeploy_exports)).default;
|
153539
153977
|
break;
|
153540
153978
|
case "remove":
|
153979
|
+
telemetry2.trackCliCommandRemove(userSuppliedSubCommand);
|
153541
153980
|
func = (init_remove(), __toCommonJS3(remove_exports)).default;
|
153542
153981
|
break;
|
153543
153982
|
case "rollback":
|
@@ -153545,14 +153984,16 @@ var main14 = async () => {
|
|
153545
153984
|
func = (init_rollback2(), __toCommonJS3(rollback_exports)).default;
|
153546
153985
|
break;
|
153547
153986
|
case "target":
|
153987
|
+
telemetry2.trackCliCommandTarget(userSuppliedSubCommand);
|
153548
153988
|
func = (init_target(), __toCommonJS3(target_exports)).default;
|
153549
153989
|
break;
|
153550
153990
|
case "teams":
|
153991
|
+
telemetry2.trackCliCommandTeams(userSuppliedSubCommand);
|
153551
153992
|
func = (init_teams2(), __toCommonJS3(teams_exports)).default;
|
153552
153993
|
break;
|
153553
153994
|
case "telemetry":
|
153554
|
-
telemetry2.
|
153555
|
-
func = (
|
153995
|
+
telemetry2.trackCliCommandTelemetry(userSuppliedSubCommand);
|
153996
|
+
func = (init_telemetry3(), __toCommonJS3(telemetry_exports)).default;
|
153556
153997
|
break;
|
153557
153998
|
case "whoami":
|
153558
153999
|
telemetry2.trackCliCommandWhoami(userSuppliedSubCommand);
|