@shopify/cli-kit 2.0.1 → 2.0.5

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.d.ts CHANGED
@@ -10,8 +10,11 @@ import { platform } from 'node:process';
10
10
  import { z } from 'zod';
11
11
  import Conf from 'conf';
12
12
  import nodeFetch, { RequestInfo, RequestInit } from 'node-fetch';
13
+ import FormData from 'form-data';
13
14
  import semver$1 from 'semver/classes/semver';
14
15
  import coerce from 'semver/functions/coerce';
16
+ import * as _oclif_core_lib_interfaces from '@oclif/core/lib/interfaces';
17
+ import { Plugin } from '@oclif/core/lib/interfaces';
15
18
 
16
19
  function _mergeNamespaces(n, m) {
17
20
  m.forEach(function (e) {
@@ -41,9 +44,11 @@ interface Question {
41
44
  result?: (value: string) => string | boolean;
42
45
  }
43
46
  declare const prompt: <T>(questions: Question[]) => Promise<T>;
47
+ declare function nonEmptyDirectoryPrompt(directory: string): Promise<void>;
44
48
 
45
49
  type ui_Question = Question;
46
50
  declare const ui_prompt: typeof prompt;
51
+ declare const ui_nonEmptyDirectoryPrompt: typeof nonEmptyDirectoryPrompt;
47
52
  declare const ui_Listr: typeof Listr;
48
53
  declare const ui_ListrTaskWrapper: typeof ListrTaskWrapper;
49
54
  declare const ui_ListrDefaultRenderer: typeof ListrDefaultRenderer;
@@ -52,6 +57,7 @@ declare namespace ui {
52
57
  export {
53
58
  ui_Question as Question,
54
59
  ui_prompt as prompt,
60
+ ui_nonEmptyDirectoryPrompt as nonEmptyDirectoryPrompt,
55
61
  ui_Listr as Listr,
56
62
  ui_ListrTaskWrapper as ListrTaskWrapper,
57
63
  ui_ListrDefaultRenderer as ListrDefaultRenderer,
@@ -63,7 +69,7 @@ declare namespace ui {
63
69
  * A fatal error represents an error shouldn't be rescued and that causes the execution to terminate.
64
70
  * There shouldn't be code that catches fatal errors.
65
71
  */
66
- declare class Fatal extends Error {
72
+ declare abstract class Fatal extends Error {
67
73
  tryMessage: string | null;
68
74
  constructor(message: string, tryMessage?: string | null);
69
75
  }
@@ -161,7 +167,7 @@ declare namespace system {
161
167
  };
162
168
  }
163
169
 
164
- declare function create$1(templateContent: string): (data: object) => Promise<string>;
170
+ declare function create(templateContent: string): (data: object) => Promise<string>;
165
171
  /**
166
172
  * Given a directory, it traverses the files and directories recursively
167
173
  * and replaces variables in directory and file names, and files' content
@@ -173,10 +179,11 @@ declare function create$1(templateContent: string): (data: object) => Promise<st
173
179
  */
174
180
  declare function recursiveDirectoryCopy(from: string, to: string, data: any): Promise<void>;
175
181
 
182
+ declare const template_create: typeof create;
176
183
  declare const template_recursiveDirectoryCopy: typeof recursiveDirectoryCopy;
177
184
  declare namespace template {
178
185
  export {
179
- create$1 as create,
186
+ template_create as create,
180
187
  template_recursiveDirectoryCopy as recursiveDirectoryCopy,
181
188
  };
182
189
  }
@@ -216,8 +223,19 @@ declare namespace string {
216
223
  };
217
224
  }
218
225
 
226
+ /**
227
+ * Given an absolute filesystem path, it makes it relative to
228
+ * the current working directory. This is useful when logging paths
229
+ * to allow the users to click on the file and let the OS open it
230
+ * in the editor of choice.
231
+ * @param path {string} Path to relativize
232
+ * @returns {string} Relativized path.
233
+ */
234
+ declare function relativize(path: string): string;
235
+
219
236
  var path = /*#__PURE__*/_mergeNamespaces({
220
237
  __proto__: null,
238
+ relativize: relativize,
221
239
  findUp: findUp,
222
240
  glob: fastGlob
223
241
  }, [pathe]);
@@ -313,11 +331,17 @@ declare namespace file {
313
331
  }
314
332
 
315
333
  declare const factory: simple_git.SimpleGitFactory;
334
+ declare function downloadRepository({ repoUrl, destination }: {
335
+ repoUrl: string;
336
+ destination: string;
337
+ }): Promise<void>;
316
338
 
317
339
  declare const git_factory: typeof factory;
340
+ declare const git_downloadRepository: typeof downloadRepository;
318
341
  declare namespace git {
319
342
  export {
320
343
  git_factory as factory,
344
+ git_downloadRepository as downloadRepository,
321
345
  };
322
346
  }
323
347
 
@@ -497,38 +521,92 @@ declare namespace output {
497
521
  };
498
522
  }
499
523
 
500
- declare enum DependencyManager {
501
- Npm = "npm",
502
- Yarn = "yarn",
503
- Pnpm = "pnpm"
504
- }
505
- declare const dependencyManager: string[];
524
+ declare const dependencyManager: readonly ["yarn", "npm", "pnpm"];
525
+ declare type DependencyManager = typeof dependencyManager[number];
526
+ declare const PackageJsonNotFoundError: (directory: string) => Bug;
506
527
  /**
507
528
  * Returns the dependency manager used to run the create workflow.
508
529
  * @param env {Object} The environment variables of the process in which the CLI runs.
509
530
  * @returns The dependency manager
510
531
  */
511
532
  declare function dependencyManagerUsedForCreating(env?: NodeJS.ProcessEnv): DependencyManager;
533
+ interface InstallNPMDependenciesRecursivelyOptions {
534
+ /**
535
+ * The dependency manager to use to install the dependencies.
536
+ */
537
+ dependencyManager: DependencyManager;
538
+ /**
539
+ * The directory from where we'll find package.json's recursively
540
+ */
541
+ directory: string;
542
+ /**
543
+ * Specifies the maximum depth of the glob search.
544
+ */
545
+ deep?: number;
546
+ }
547
+ /**
548
+ * This function traverses down a directory tree to find directories containing a package.json
549
+ * and installs the dependencies if needed. To know if it's needed, it uses the "check" command
550
+ * provided by dependency managers.
551
+ * @param options {InstallNPMDependenciesRecursivelyOptions} Options to install dependencies recursively.
552
+ */
553
+ declare function installNPMDependenciesRecursively(options: InstallNPMDependenciesRecursivelyOptions): Promise<void>;
512
554
  /**
513
555
  * Installs the dependencies in the given directory.
514
556
  * @param directory {string} The directory that contains the package.json
515
557
  * @param dependencyManager {DependencyManager} The dependency manager to use to install the dependencies.
516
558
  * @param stdout {Writable} Standard output stream.
559
+ * @param stderr {Writable} Standard error stream.
560
+ * @param signal {AbortSignal} Abort signal.
517
561
  * @returns stderr {Writable} Standard error stream.
518
562
  */
519
- declare function install(directory: string, dependencyManager: DependencyManager, stdout?: Writable, stderr?: Writable): Promise<void>;
563
+ declare function install(directory: string, dependencyManager: DependencyManager, stdout?: Writable, stderr?: Writable, signal?: AbortSignal): Promise<void>;
564
+ /**
565
+ * Returns the list of production and dev dependencies of a package.json
566
+ * @param packageJsonPath {string} Path to the package.json file
567
+ * @returns A promise that resolves with the list of dependencies.
568
+ */
569
+ declare function getDependencies(packageJsonPath: string): Promise<string[]>;
570
+ declare type DependencyType = 'dev' | 'prod' | 'peer';
571
+ interface AddNPMDependenciesIfNeededOptions {
572
+ /** How dependencies should be added */
573
+ type: DependencyType;
574
+ /** The dependency manager to use to add dependencies */
575
+ dependencyManager: DependencyManager;
576
+ /** The directory that contains the package.json where dependencies will be added */
577
+ directory: string;
578
+ /** Standard output coming from the underlying installation process */
579
+ stdout?: Writable;
580
+ /** Standard error coming from the underlying installation process */
581
+ stderr?: Writable;
582
+ /** Abort signal to stop the process */
583
+ signal?: AbortSignal;
584
+ }
585
+ /**
586
+ * Adds dependencies to a Node project (i.e. a project that has a package.json)
587
+ * @param dependencies {string[]} List of dependencies to be added.
588
+ * @param options {AddNPMDependenciesIfNeededOptions} Options for adding dependencies.
589
+ */
590
+ declare function addNPMDependenciesIfNeeded(dependencies: string[], options: AddNPMDependenciesIfNeededOptions): Promise<void>;
520
591
 
521
- type dependency_DependencyManager = DependencyManager;
522
- declare const dependency_DependencyManager: typeof DependencyManager;
523
592
  declare const dependency_dependencyManager: typeof dependencyManager;
593
+ type dependency_DependencyManager = DependencyManager;
594
+ declare const dependency_PackageJsonNotFoundError: typeof PackageJsonNotFoundError;
524
595
  declare const dependency_dependencyManagerUsedForCreating: typeof dependencyManagerUsedForCreating;
596
+ declare const dependency_installNPMDependenciesRecursively: typeof installNPMDependenciesRecursively;
525
597
  declare const dependency_install: typeof install;
598
+ declare const dependency_getDependencies: typeof getDependencies;
599
+ declare const dependency_addNPMDependenciesIfNeeded: typeof addNPMDependenciesIfNeeded;
526
600
  declare namespace dependency {
527
601
  export {
528
- dependency_DependencyManager as DependencyManager,
529
602
  dependency_dependencyManager as dependencyManager,
603
+ dependency_DependencyManager as DependencyManager,
604
+ dependency_PackageJsonNotFoundError as PackageJsonNotFoundError,
530
605
  dependency_dependencyManagerUsedForCreating as dependencyManagerUsedForCreating,
606
+ dependency_installNPMDependenciesRecursively as installNPMDependenciesRecursively,
531
607
  dependency_install as install,
608
+ dependency_getDependencies as getDependencies,
609
+ dependency_addNPMDependenciesIfNeeded as addNPMDependenciesIfNeeded,
532
610
  };
533
611
  }
534
612
 
@@ -782,6 +860,7 @@ declare function ensureAuthenticatedAdmin(store: string, scopes?: string[]): Pro
782
860
  * @returns {OAuthSession} An instance with the access tokens organized by application.
783
861
  */
784
862
  declare function ensureAuthenticated(applications: OAuthApplications, env?: NodeJS.ProcessEnv): Promise<OAuthSession>;
863
+ declare function logout(): Promise<void>;
785
864
 
786
865
  type session_OAuthApplications = OAuthApplications;
787
866
  type session_AdminSession = AdminSession;
@@ -790,6 +869,7 @@ declare const session_ensureAuthenticatedPartners: typeof ensureAuthenticatedPar
790
869
  declare const session_ensureAuthenticatedStorefront: typeof ensureAuthenticatedStorefront;
791
870
  declare const session_ensureAuthenticatedAdmin: typeof ensureAuthenticatedAdmin;
792
871
  declare const session_ensureAuthenticated: typeof ensureAuthenticated;
872
+ declare const session_logout: typeof logout;
793
873
  declare namespace session {
794
874
  export {
795
875
  session_OAuthApplications as OAuthApplications,
@@ -799,6 +879,7 @@ declare namespace session {
799
879
  session_ensureAuthenticatedStorefront as ensureAuthenticatedStorefront,
800
880
  session_ensureAuthenticatedAdmin as ensureAuthenticatedAdmin,
801
881
  session_ensureAuthenticated as ensureAuthenticated,
882
+ session_logout as logout,
802
883
  };
803
884
  }
804
885
 
@@ -830,19 +911,6 @@ declare namespace yaml {
830
911
  };
831
912
  }
832
913
 
833
- interface CreateOptions {
834
- port: number;
835
- authToken: string;
836
- }
837
- declare function create(options: CreateOptions): Promise<string>;
838
-
839
- declare const tunnel_create: typeof create;
840
- declare namespace tunnel {
841
- export {
842
- tunnel_create as create,
843
- };
844
- }
845
-
846
914
  interface CachedAppInfo {
847
915
  appId: string;
848
916
  orgId?: string;
@@ -905,16 +973,6 @@ interface FindOrganizationQuerySchema {
905
973
  id: string;
906
974
  businessName: string;
907
975
  website: string;
908
- stores: {
909
- nodes: {
910
- shopId: string;
911
- link: string;
912
- shopDomain: string;
913
- shopName: string;
914
- transferDisabled: boolean;
915
- convertableToPartnerTest: boolean;
916
- }[];
917
- };
918
976
  apps: {
919
977
  nodes: {
920
978
  id: string;
@@ -947,7 +1005,6 @@ interface CreateAppQueryVariables {
947
1005
  title: string;
948
1006
  appUrl: string;
949
1007
  redir: string[];
950
- type: string;
951
1008
  }
952
1009
  interface CreateAppQuerySchema {
953
1010
  appCreate: {
@@ -997,6 +1054,139 @@ interface FindAppQuerySchema {
997
1054
  };
998
1055
  }
999
1056
 
1057
+ declare const UpdateDraftMutation: string;
1058
+ interface ExtensionUpdateDraftInput {
1059
+ apiKey: string;
1060
+ clientMutationId: string;
1061
+ config: string;
1062
+ context: string | undefined;
1063
+ registrationId: string;
1064
+ }
1065
+ interface ExtensionUpdateDraftPayload {
1066
+ clientMutationId: string;
1067
+ extensionVersion: ExtensionVersion;
1068
+ userErrors: {
1069
+ field: string[];
1070
+ message: string;
1071
+ }[];
1072
+ }
1073
+ interface ExtensionVersion {
1074
+ config: string;
1075
+ context: string;
1076
+ id: string;
1077
+ lastUserInteractionAt: string;
1078
+ location: string;
1079
+ registrationId: string;
1080
+ registrationUuid: string;
1081
+ uuid: string;
1082
+ validationErrors: {
1083
+ field: string[];
1084
+ message: string;
1085
+ }[];
1086
+ versionTag: string;
1087
+ }
1088
+
1089
+ declare const GenerateSignedUploadUrl: string;
1090
+ interface GenerateSignedUploadUrlVariables {
1091
+ apiKey: string;
1092
+ deploymentUuid: string;
1093
+ bundleFormat: number;
1094
+ }
1095
+ interface GenerateSignedUploadUrlSchema {
1096
+ deploymentGenerateSignedUploadUrl: {
1097
+ signedUploadUrl: string;
1098
+ userErrors: {
1099
+ field: string[];
1100
+ message: string;
1101
+ }[];
1102
+ };
1103
+ }
1104
+
1105
+ declare const CreateDeployment: string;
1106
+ interface CreateDeploymentVariables {
1107
+ apiKey: string;
1108
+ uuid: string;
1109
+ bundleUrl: string;
1110
+ }
1111
+ interface CreateDeploymentSchema {
1112
+ deploymentCreate: {
1113
+ deployment: {
1114
+ uuid: string;
1115
+ };
1116
+ userErrors: {
1117
+ field: string[];
1118
+ message: string;
1119
+ }[];
1120
+ };
1121
+ }
1122
+
1123
+ declare const AllStoresByOrganizationQuery: string;
1124
+ interface AllStoresByOrganizationSchema {
1125
+ organizations: {
1126
+ nodes: {
1127
+ id: string;
1128
+ stores: {
1129
+ nodes: {
1130
+ shopId: string;
1131
+ link: string;
1132
+ shopDomain: string;
1133
+ shopName: string;
1134
+ transferDisabled: boolean;
1135
+ convertableToPartnerTest: boolean;
1136
+ }[];
1137
+ };
1138
+ }[];
1139
+ };
1140
+ }
1141
+
1142
+ declare const ConvertDevToTestStoreQuery: string;
1143
+ interface ConvertDevToTestStoreVariables {
1144
+ input: {
1145
+ organizationID: number;
1146
+ shopId: string;
1147
+ };
1148
+ }
1149
+ interface ConvertDevToTestStoreSchema {
1150
+ convertDevToTestStore: {
1151
+ convertedToTestStore: boolean;
1152
+ userErrors: {
1153
+ field: string[];
1154
+ message: string;
1155
+ }[];
1156
+ };
1157
+ }
1158
+
1159
+ declare const ExtensionCreateQuery: string;
1160
+ interface ExtensionCreateVariables {
1161
+ apiKey: string;
1162
+ type: string;
1163
+ title: string;
1164
+ config: any;
1165
+ context?: string | null;
1166
+ }
1167
+ interface ExtensionCreateSchema {
1168
+ extensionCreate: {
1169
+ extensionRegistration: {
1170
+ id: string;
1171
+ uuid: string;
1172
+ type: string;
1173
+ title: string;
1174
+ draftVersion: {
1175
+ registrationId: string;
1176
+ lastUserInteractionAt: string;
1177
+ validationErrors: {
1178
+ field: string[];
1179
+ message: string;
1180
+ }[];
1181
+ };
1182
+ };
1183
+ userErrors: {
1184
+ field: string[];
1185
+ message: string;
1186
+ }[];
1187
+ };
1188
+ }
1189
+
1000
1190
  declare const index_FindOrganizationQuery: typeof FindOrganizationQuery;
1001
1191
  type index_FindOrganizationQuerySchema = FindOrganizationQuerySchema;
1002
1192
  type index_AllOrganizationsQuerySchema = AllOrganizationsQuerySchema;
@@ -1009,6 +1199,24 @@ type index_UpdateURLsQueryVariables = UpdateURLsQueryVariables;
1009
1199
  type index_UpdateURLsQuerySchema = UpdateURLsQuerySchema;
1010
1200
  declare const index_FindAppQuery: typeof FindAppQuery;
1011
1201
  type index_FindAppQuerySchema = FindAppQuerySchema;
1202
+ declare const index_UpdateDraftMutation: typeof UpdateDraftMutation;
1203
+ type index_ExtensionUpdateDraftInput = ExtensionUpdateDraftInput;
1204
+ type index_ExtensionUpdateDraftPayload = ExtensionUpdateDraftPayload;
1205
+ type index_ExtensionVersion = ExtensionVersion;
1206
+ declare const index_GenerateSignedUploadUrl: typeof GenerateSignedUploadUrl;
1207
+ type index_GenerateSignedUploadUrlVariables = GenerateSignedUploadUrlVariables;
1208
+ type index_GenerateSignedUploadUrlSchema = GenerateSignedUploadUrlSchema;
1209
+ declare const index_CreateDeployment: typeof CreateDeployment;
1210
+ type index_CreateDeploymentVariables = CreateDeploymentVariables;
1211
+ type index_CreateDeploymentSchema = CreateDeploymentSchema;
1212
+ declare const index_AllStoresByOrganizationQuery: typeof AllStoresByOrganizationQuery;
1213
+ type index_AllStoresByOrganizationSchema = AllStoresByOrganizationSchema;
1214
+ declare const index_ConvertDevToTestStoreQuery: typeof ConvertDevToTestStoreQuery;
1215
+ type index_ConvertDevToTestStoreVariables = ConvertDevToTestStoreVariables;
1216
+ type index_ConvertDevToTestStoreSchema = ConvertDevToTestStoreSchema;
1217
+ declare const index_ExtensionCreateQuery: typeof ExtensionCreateQuery;
1218
+ type index_ExtensionCreateVariables = ExtensionCreateVariables;
1219
+ type index_ExtensionCreateSchema = ExtensionCreateSchema;
1012
1220
  declare namespace index {
1013
1221
  export {
1014
1222
  index_FindOrganizationQuery as FindOrganizationQuery,
@@ -1023,6 +1231,24 @@ declare namespace index {
1023
1231
  index_UpdateURLsQuerySchema as UpdateURLsQuerySchema,
1024
1232
  index_FindAppQuery as FindAppQuery,
1025
1233
  index_FindAppQuerySchema as FindAppQuerySchema,
1234
+ index_UpdateDraftMutation as UpdateDraftMutation,
1235
+ index_ExtensionUpdateDraftInput as ExtensionUpdateDraftInput,
1236
+ index_ExtensionUpdateDraftPayload as ExtensionUpdateDraftPayload,
1237
+ index_ExtensionVersion as ExtensionVersion,
1238
+ index_GenerateSignedUploadUrl as GenerateSignedUploadUrl,
1239
+ index_GenerateSignedUploadUrlVariables as GenerateSignedUploadUrlVariables,
1240
+ index_GenerateSignedUploadUrlSchema as GenerateSignedUploadUrlSchema,
1241
+ index_CreateDeployment as CreateDeployment,
1242
+ index_CreateDeploymentVariables as CreateDeploymentVariables,
1243
+ index_CreateDeploymentSchema as CreateDeploymentSchema,
1244
+ index_AllStoresByOrganizationQuery as AllStoresByOrganizationQuery,
1245
+ index_AllStoresByOrganizationSchema as AllStoresByOrganizationSchema,
1246
+ index_ConvertDevToTestStoreQuery as ConvertDevToTestStoreQuery,
1247
+ index_ConvertDevToTestStoreVariables as ConvertDevToTestStoreVariables,
1248
+ index_ConvertDevToTestStoreSchema as ConvertDevToTestStoreSchema,
1249
+ index_ExtensionCreateQuery as ExtensionCreateQuery,
1250
+ index_ExtensionCreateVariables as ExtensionCreateVariables,
1251
+ index_ExtensionCreateSchema as ExtensionCreateSchema,
1026
1252
  };
1027
1253
  }
1028
1254
 
@@ -1050,10 +1276,23 @@ declare type Response = ReturnType<typeof nodeFetch>;
1050
1276
  */
1051
1277
  declare function fetch(url: RequestInfo, init?: RequestInit): Response;
1052
1278
 
1279
+ declare function formData(): FormData;
1280
+
1053
1281
  declare const http_fetch: typeof fetch;
1282
+ declare const http_formData: typeof formData;
1054
1283
  declare namespace http {
1055
1284
  export {
1056
1285
  http_fetch as fetch,
1286
+ http_formData as formData,
1287
+ };
1288
+ }
1289
+
1290
+ declare function zip(inputDirectory: string, outputZipPath: string): Promise<void>;
1291
+
1292
+ declare const archiver_zip: typeof zip;
1293
+ declare namespace archiver {
1294
+ export {
1295
+ archiver_zip as zip,
1057
1296
  };
1058
1297
  }
1059
1298
 
@@ -1156,6 +1395,48 @@ declare namespace port {
1156
1395
  };
1157
1396
  }
1158
1397
 
1398
+ /**
1399
+ * An object that contains the flags that
1400
+ * are shared across all the commands.
1401
+ */
1402
+ declare const globalFlags: {
1403
+ verbose: _oclif_core_lib_interfaces.BooleanFlag<boolean>;
1404
+ };
1405
+
1406
+ declare const cli_globalFlags: typeof globalFlags;
1407
+ declare namespace cli {
1408
+ export {
1409
+ cli_globalFlags as globalFlags,
1410
+ };
1411
+ }
1412
+
1413
+ /**
1414
+ * Generates and returns a random UUID.
1415
+ * @returns {string} The random UUID generated.
1416
+ */
1417
+ declare const generateRandomUUID: () => string;
1418
+
1419
+ declare const id_generateRandomUUID: typeof generateRandomUUID;
1420
+ declare namespace id {
1421
+ export {
1422
+ id_generateRandomUUID as generateRandomUUID,
1423
+ };
1424
+ }
1425
+
1426
+ /**
1427
+ * Creates a temporary directory and ties its lifeclcycle to the lifecycle of the callback.
1428
+ * @param callback {(string) => void} Callback to execute. When the callback exits, the temporary directory is destroyed.
1429
+ * @returns {Promise<T>} Promise that resolves with the value returned by the callback.
1430
+ */
1431
+ declare function directory<T>(callback: (directory: string) => Promise<T>): Promise<T>;
1432
+
1433
+ declare const temporary_directory: typeof directory;
1434
+ declare namespace temporary {
1435
+ export {
1436
+ temporary_directory as directory,
1437
+ };
1438
+ }
1439
+
1159
1440
  declare const constants: {
1160
1441
  environmentVariables: {
1161
1442
  unitTest: string;
@@ -1208,5 +1489,20 @@ declare const constants: {
1208
1489
  };
1209
1490
  };
1210
1491
 
1211
- export { api, checksum, constants, dependency, environment, error$1 as error, file, git, github, http, npm, os, output, path, port, ruby, schema, semver, session, store, string, system, template, toml, tunnel, ui, version, yaml };
1492
+ interface TunnelPlugin {
1493
+ start: (options: TunnelStartOptions) => Promise<string>;
1494
+ }
1495
+ interface TunnelStartOptions {
1496
+ port: number;
1497
+ }
1498
+ declare function lookupTunnelPlugin(plugins: Plugin[]): Promise<TunnelPlugin | undefined>;
1499
+
1500
+ declare const plugins_lookupTunnelPlugin: typeof lookupTunnelPlugin;
1501
+ declare namespace plugins {
1502
+ export {
1503
+ plugins_lookupTunnelPlugin as lookupTunnelPlugin,
1504
+ };
1505
+ }
1506
+
1507
+ export { api, archiver, checksum, cli, constants, dependency, environment, error$1 as error, file, git, github, http, id, npm, os, output, path, plugins, port, ruby, schema, semver, session, store, string, system, template, temporary, toml, ui, version, yaml };
1212
1508
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,16 +1,15 @@
1
- export { q as api, w as checksum, C as constants, d as dependency, i as environment, e as error, f as file, g as git, c as github, r as http, A as npm, h as os, o as output, p as path, B as port, x as ruby, k as schema, z as semver, j as session, n as store, b as string, s as system, t as template, l as toml, m as tunnel, u as ui, v as version, y as yaml } from './index-f61d934a.js';
1
+ export { n as api, r as archiver, w as checksum, C as cli, G as constants, d as dependency, i as environment, e as error, f as file, g as git, c as github, q as http, D as id, A as npm, h as os, o as output, p as path, H as plugins, B as port, x as ruby, k as schema, z as semver, j as session, m as store, b as string, s as system, t as template, E as temporary, l as toml, u as ui, v as version, y as yaml } from './index-731964a3.js';
2
2
  import 'assert';
3
3
  import 'events';
4
4
  import 'readline';
5
- import 'os';
6
- import 'stream';
7
- import 'tty';
8
5
  import 'path';
9
6
  import 'node:path';
10
7
  import 'node:url';
11
8
  import 'node:process';
12
9
  import 'node:fs';
10
+ import 'os';
13
11
  import 'util';
12
+ import 'stream';
14
13
  import 'fs';
15
14
  import 'node:os';
16
15
  import 'node:buffer';
@@ -21,6 +20,7 @@ import 'constants';
21
20
  import 'node:stream';
22
21
  import 'node:util';
23
22
  import 'crypto';
23
+ import 'tty';
24
24
  import 'stacktracey';
25
25
  import '@oclif/core';
26
26
  import 'source-map-support';
@@ -1,16 +1,15 @@
1
1
  import 'node:fs';
2
2
  import 'node:path';
3
- import { F as FormData, a as File } from './index-f61d934a.js';
3
+ import { F as FormData, a as File } from './index-731964a3.js';
4
4
  import 'assert';
5
5
  import 'events';
6
6
  import 'readline';
7
- import 'os';
8
- import 'stream';
9
- import 'tty';
10
7
  import 'path';
11
8
  import 'node:url';
12
9
  import 'node:process';
10
+ import 'os';
13
11
  import 'util';
12
+ import 'stream';
14
13
  import 'fs';
15
14
  import 'node:os';
16
15
  import 'node:buffer';
@@ -21,6 +20,7 @@ import 'constants';
21
20
  import 'node:stream';
22
21
  import 'node:util';
23
22
  import 'crypto';
23
+ import 'tty';
24
24
  import 'stacktracey';
25
25
  import '@oclif/core';
26
26
  import 'source-map-support';
@@ -470,4 +470,4 @@ async function toFormData(Body, ct) {
470
470
  }
471
471
 
472
472
  export { toFormData };
473
- //# sourceMappingURL=multipart-parser-daf59a75.js.map
473
+ //# sourceMappingURL=multipart-parser-a9785137.js.map