@forge/cli-shared 9.11.0-next.0 → 9.11.0-next.10

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Forge_Cli_GetEcosystemInstallationsByAppDocument = exports.Forge_Cli_GetInstallationTaskDocument = exports.Forge_Cli_HasNoAppInstallationsForEnvDocument = exports.Forge_Cli_DeprovisionInstallationLinkDocument = exports.Forge_Cli_ProvisionInstallationLinkDocument = exports.Forge_Cli_UninstallApplicationDocument = exports.GetEntitlementOfferingDocument = exports.Forge_Cli_UpgradeApplicationDocument = exports.Forge_Cli_InstallApplicationDocument = exports.Forge_Cli_DeleteEnvironmentDocument = exports.Forge_Cli_ListEnvironmentDocument = exports.Forge_Cli_GetEnvironmentByKeyDocument = exports.Forge_Cli_CreateEnvironmentDocument = exports.Forge_Cli_DeleteAppEnvironmentVariableDocument = exports.Forge_Cli_SetAppEnvironmentVariableDocument = exports.Forge_Cli_GetAppEnvironmentVariablesDocument = exports.Forge_Cli_GetEntitiesDefinitionsDocument = exports.Forge_Cli_GetApplicationRoaEligibilityDocument = exports.GetAppEnforcementMetadataDocument = exports.CreateDeveloperSpaceDocument = exports.GetDevSpaceDetailsDocument = exports.GetDevSpaceWithLinkingAccessDocument = exports.Forge_Cli_RetryAppVersionPlacementsDocument = exports.Forge_Cli_GetAppVersionPlacementsDocument = exports.Forge_Cli_GetAppEnvironmentVersionForDeployStatusDocument = exports.GetAppDeploymentsDocument = exports.Forge_Cli_GetHostedResourcesUploadUrlsDocument = exports.Forge_Cli_ProcessCombinedAppBuildDocument = exports.Forge_Cli_GetDeploymentUrlDocument = exports.Forge_Cli_DeployApplicationDocument = exports.Forge_Cli_GetApplicationDeploymentStatusDocument = exports.Forge_Cli_CreateAppCustomScopesDocument = exports.Forge_Cli_GetAppCustomScopesDocument = exports.Forge_Cli_AppContainerDocument = exports.Forge_Cli_AppContainerRegistryLoginDocument = exports.Forge_Cli_DeleteAppContainerDocument = exports.Forge_Cli_AppContainerServicesDocument = exports.Forge_Cli_AppContainersDocument = exports.Forge_Cli_CreateAppContainerDocument = exports.GetBuildsByAppDocument = exports.Forge_Cli_GetAppOauthClientIdDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentIdDocument = exports.Forge_Cli_GetUserDetailsDocument = exports.Forge_Cli_GetAppOwnerDocument = exports.Forge_Cli_CreateApplicationDocument = exports.Forge_Cli_GetInvocationLogsDocument = exports.Forge_Cli_GetApplicationLogsDocument = exports.Forge_Cli_GetApplicationLogsV2Document = exports.TypedDocumentString = void 0;
4
- exports.Forge_Cli_DeleteApplicationTunnelsDocument = exports.Forge_Cli_CreateApplicationTunnelsDocument = exports.Forge_Cli_SetupApplicationTunnelDocument = exports.Forge_Cli_AppPreDeploymentCheckDocument = exports.Forge_Cli_CreateAppManifestUploadUrlDocument = exports.Forge_Cli_DeleteWebTriggerUrlDocument = exports.Forge_Cli_ListWebTriggerUrlsDocument = exports.Forge_Cli_CreateWebTriggerUrlDocument = exports.Forge_Cli_CancelAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutsListDocument = exports.Forge_Cli_GetApplicationIdentityVersionDetailsDocument = exports.Forge_Cli_CreateAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppUpgradableToListDocument = exports.Forge_Cli_GetAppUpgradeVersionsListDocument = exports.Forge_Cli_GetApplicationVersionListDocument = exports.Forge_Cli_GetApplicationVersionDetailsDocument = exports.Forge_Cli_DemoSiteDocument = exports.Forge_Cli_DemoSiteProvisioningDocument = exports.Forge_Cli_ProvisionDemoSiteDocument = exports.Forge_Cli_ListDeployedWebtriggerExtensionKeysDocument = exports.Forge_Cli_CreateRollingReleaseDocument = exports.Forge_Cli_SetExternalAuthCredentialsDocument = exports.Forge_Cli_GetMigrationKeysWithMarketplaceDocument = exports.Forge_Cli_GetMigrationKeysDocument = exports.Forge_Cli_AppManifestTransformationDocument = exports.GetTenantContextDetailsDocument = exports.Forge_Cli_GetHostnameForTenantContextsByActivationIdsDocument = exports.Forge_Cli_GetHostnameForTenantContextsByCloudIdsDocument = exports.Forge_Cli_GetApplicationVersionListByMajorDocument = exports.Forge_Cli_GetApplicationEnvironmentLatestVersionsDocument = void 0;
3
+ exports.Forge_Cli_HasNoAppInstallationsForEnvDocument = exports.Forge_Cli_DeprovisionInstallationLinkDocument = exports.Forge_Cli_ProvisionInstallationLinkDocument = exports.Forge_Cli_UninstallApplicationDocument = exports.GetEntitlementOfferingDocument = exports.Forge_Cli_UpgradeApplicationDocument = exports.Forge_Cli_InstallApplicationDocument = exports.Forge_Cli_DeleteEnvironmentDocument = exports.Forge_Cli_ListEnvironmentDocument = exports.Forge_Cli_GetEnvironmentByKeyDocument = exports.Forge_Cli_CreateEnvironmentDocument = exports.Forge_Cli_DeleteAppEnvironmentVariableDocument = exports.Forge_Cli_SetAppEnvironmentVariableDocument = exports.Forge_Cli_GetAppEnvironmentVariablesDocument = exports.Forge_Cli_GetEntitiesDefinitionsDocument = exports.Forge_Cli_GetApplicationRoaEligibilityDocument = exports.GetAppEnforcementMetadataDocument = exports.CreateDeveloperSpaceDocument = exports.GetDevSpaceDetailsDocument = exports.GetDevSpaceWithLinkingAccessDocument = exports.Forge_Cli_RetryAppVersionPlacementsDocument = exports.Forge_Cli_GetAppVersionPlacementsDocument = exports.Forge_Cli_GetAppEnvironmentVersionForDeployStatusDocument = exports.GetAppDeploymentsDocument = exports.Forge_Cli_GetHostedResourcesUploadUrlsDocument = exports.Forge_Cli_ProcessCombinedAppBuildDocument = exports.Forge_Cli_GetDeploymentUrlDocument = exports.Forge_Cli_DeployApplicationDocument = exports.Forge_Cli_GetApplicationDeploymentStatusDocument = exports.Forge_Cli_CreateAppCustomScopesDocument = exports.Forge_Cli_GetAppCustomScopesDocument = exports.Forge_Cli_AppContainerDocument = exports.Forge_Cli_AppContainerRegistryLoginDocument = exports.Forge_Cli_AppContainerServiceReprovisionStatusDocument = exports.Forge_Cli_ReprovisionAppContainerServiceDocument = exports.Forge_Cli_DeleteAppContainerDocument = exports.Forge_Cli_AppContainerServicesDocument = exports.Forge_Cli_AppContainersDocument = exports.Forge_Cli_CreateAppContainerDocument = exports.GetBuildsByAppDocument = exports.Forge_Cli_GetAppOauthClientIdDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentIdDocument = exports.Forge_Cli_GetUserDetailsDocument = exports.Forge_Cli_GetAppOwnerDocument = exports.Forge_Cli_CreateApplicationDocument = exports.Forge_Cli_GetInvocationLogsDocument = exports.Forge_Cli_GetApplicationLogsDocument = exports.Forge_Cli_GetApplicationLogsV2Document = exports.TypedDocumentString = void 0;
4
+ exports.Forge_Cli_DeleteApplicationTunnelsDocument = exports.Forge_Cli_CreateApplicationTunnelsDocument = exports.Forge_Cli_SetupApplicationTunnelDocument = exports.Forge_Cli_AppPreDeploymentCheckDocument = exports.Forge_Cli_CreateAppManifestUploadUrlDocument = exports.Forge_Cli_DeleteWebTriggerUrlDocument = exports.Forge_Cli_ListWebTriggerUrlsDocument = exports.Forge_Cli_CreateWebTriggerUrlDocument = exports.Forge_Cli_CancelAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutsListDocument = exports.Forge_Cli_GetApplicationIdentityVersionDetailsDocument = exports.Forge_Cli_CreateAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppUpgradableToListDocument = exports.Forge_Cli_GetAppUpgradeVersionsListDocument = exports.Forge_Cli_GetApplicationVersionListDocument = exports.Forge_Cli_GetApplicationVersionDetailsDocument = exports.Forge_Cli_DemoSiteDocument = exports.Forge_Cli_DemoSiteProvisioningDocument = exports.Forge_Cli_ProvisionDemoSiteDocument = exports.Forge_Cli_ListDeployedWebtriggerExtensionKeysDocument = exports.Forge_Cli_CreateRollingReleaseDocument = exports.Forge_Cli_SetExternalAuthCredentialsDocument = exports.Forge_Cli_GetMigrationKeysWithMarketplaceDocument = exports.Forge_Cli_GetMigrationKeysDocument = exports.Forge_Cli_AppManifestTransformationDocument = exports.GetTenantContextDetailsDocument = exports.Forge_Cli_GetHostnameForTenantContextsByActivationIdsDocument = exports.Forge_Cli_GetHostnameForTenantContextsByCloudIdsDocument = exports.Forge_Cli_GetApplicationVersionListByMajorDocument = exports.Forge_Cli_GetApplicationEnvironmentLatestVersionsDocument = exports.Forge_Cli_GetEcosystemInstallationsByAppDocument = exports.Forge_Cli_GetInstallationTaskDocument = void 0;
5
5
  class TypedDocumentString extends String {
6
6
  __apiType;
7
7
  value;
@@ -315,6 +315,32 @@ exports.Forge_Cli_DeleteAppContainerDocument = new TypedDocumentString(`
315
315
  }
316
316
  }
317
317
  `);
318
+ exports.Forge_Cli_ReprovisionAppContainerServiceDocument = new TypedDocumentString(`
319
+ mutation forge_cli_reprovisionAppContainerService($input: ReprovisionAppContainerServiceInput!) {
320
+ reprovisionAppContainerService(input: $input) @optIn(to: "xls-container-reprovisioning") {
321
+ reprovisionId
322
+ success
323
+ errors {
324
+ message
325
+ extensions {
326
+ errorType
327
+ statusCode
328
+ }
329
+ }
330
+ }
331
+ }
332
+ `);
333
+ exports.Forge_Cli_AppContainerServiceReprovisionStatusDocument = new TypedDocumentString(`
334
+ query forge_cli_appContainerServiceReprovisionStatus($appId: ID!, $reprovisionId: ID!) {
335
+ appContainerServiceReprovisionStatus(
336
+ appId: $appId
337
+ reprovisionId: $reprovisionId
338
+ ) @optIn(to: "xls-container-reprovisioning") {
339
+ status
340
+ error
341
+ }
342
+ }
343
+ `);
318
344
  exports.Forge_Cli_AppContainerRegistryLoginDocument = new TypedDocumentString(`
319
345
  query forge_cli_appContainerRegistryLogin($appId: ID!) {
320
346
  appContainerRegistryLogin(appId: $appId) {
@@ -11,7 +11,4 @@ export * from './product';
11
11
  export * from './read-app-config-files';
12
12
  export * from './test';
13
13
  export * from './installations';
14
- import flatMap from 'array.prototype.flatmap';
15
- declare const flat: <T>(array: T[][]) => T[];
16
- export { flatMap, flat };
17
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAEhC,OAAO,OAAO,MAAM,yBAAyB,CAAC;AAC9C,QAAA,MAAM,IAAI,GAAI,CAAC,EAAE,OAAO,CAAC,EAAE,EAAE,KAAG,CAAC,EAA8B,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.flat = exports.flatMap = void 0;
4
3
  const tslib_1 = require("tslib");
5
4
  tslib_1.__exportStar(require("./assertUnreachable"), exports);
6
5
  tslib_1.__exportStar(require("./assistant-cli"), exports);
@@ -15,7 +14,3 @@ tslib_1.__exportStar(require("./product"), exports);
15
14
  tslib_1.__exportStar(require("./read-app-config-files"), exports);
16
15
  tslib_1.__exportStar(require("./test"), exports);
17
16
  tslib_1.__exportStar(require("./installations"), exports);
18
- const array_prototype_flatmap_1 = tslib_1.__importDefault(require("array.prototype.flatmap"));
19
- exports.flatMap = array_prototype_flatmap_1.default;
20
- const flat = (array) => (0, array_prototype_flatmap_1.default)(array, (x) => x);
21
- exports.flat = flat;
@@ -1 +1 @@
1
- {"version":3,"file":"read-app-config-files.d.ts","sourceRoot":"","sources":["../../src/shared/read-app-config-files.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,GAAG,qBAAqB,CAAC,EACzF,sBAA4B,KAC3B,OAAO,CAAC,MAAM,EAAE,CAmBlB,CAAC;AAgBF,eAAO,MAAM,0BAA0B,GACrC,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,CAAC,EACjE,qBAA8B,KAC7B,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAUlD,CAAC"}
1
+ {"version":3,"file":"read-app-config-files.d.ts","sourceRoot":"","sources":["../../src/shared/read-app-config-files.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,GAAG,qBAAqB,CAAC,EACzF,sBAA4B,KAC3B,OAAO,CAAC,MAAM,EAAE,CAkBlB,CAAC;AAgBF,eAAO,MAAM,0BAA0B,GACrC,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,CAAC,EACjE,qBAA8B,KAC7B,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAUlD,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listTSConfigIncludeExclude = exports.listGitIgnoreFiles = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const path_1 = tslib_1.__importDefault(require("path"));
6
- const array_prototype_flatmap_1 = tslib_1.__importDefault(require("array.prototype.flatmap"));
7
6
  const typescript_1 = require("typescript");
8
7
  const listGitIgnoreFiles = async (fileSystemReader, gitIgnorePath = '.gitignore') => {
9
8
  const gitignoreContents = fileSystemReader
@@ -11,14 +10,14 @@ const listGitIgnoreFiles = async (fileSystemReader, gitIgnorePath = '.gitignore'
11
10
  ?.trim()
12
11
  .split('\n')
13
12
  .filter((glob) => glob.trim() !== '') || [];
14
- return (0, array_prototype_flatmap_1.default)(await Promise.all(gitignoreContents.map((pattern) => {
13
+ return (await Promise.all(gitignoreContents.map((pattern) => {
15
14
  if (fileSystemReader.hasGlobSpecialChars(pattern)) {
16
15
  return fileSystemReader.readGlob({ pattern });
17
16
  }
18
17
  else {
19
18
  return [pattern];
20
19
  }
21
- })), (x) => x);
20
+ }))).flat();
22
21
  };
23
22
  exports.listGitIgnoreFiles = listGitIgnoreFiles;
24
23
  const processTSConfigGlobList = async (fileSystemReader, globList) => {
@@ -26,7 +25,7 @@ const processTSConfigGlobList = async (fileSystemReader, globList) => {
26
25
  return [];
27
26
  }
28
27
  const relativePaths = await Promise.all(globList.map((pattern) => fileSystemReader.readGlob({ pattern })));
29
- return (0, array_prototype_flatmap_1.default)(relativePaths, (pathsFromSingleGlob) => pathsFromSingleGlob.map((relativePath) => path_1.default.resolve('./', relativePath)));
28
+ return relativePaths.flatMap((pathsFromSingleGlob) => pathsFromSingleGlob.map((relativePath) => path_1.default.resolve('./', relativePath)));
30
29
  };
31
30
  const listTSConfigIncludeExclude = async (fileSystemReader, tsConfigPath = 'tsconfig.json') => {
32
31
  const { config } = (0, typescript_1.readConfigFile)(tsConfigPath, fileSystemReader.readFile);
@@ -323,7 +323,7 @@ class CommandLineUI {
323
323
  catch (err) {
324
324
  if (err.code === 'EAGAIN') {
325
325
  if (Date.now() >= deadline) {
326
- throw new Error('Failed to read from stdin: timed out waiting for input');
326
+ throw new Error(text_1.Text.secretInput.stdinTimedOut);
327
327
  }
328
328
  CommandLineUI.sleepSync(CommandLineUI.STDIN_RETRY_MS);
329
329
  continue;
package/out/ui/text.d.ts CHANGED
@@ -213,6 +213,7 @@ export declare const Text: {
213
213
  optionSpace: string;
214
214
  optionAcceptTerms: string;
215
215
  optionPersonal: string;
216
+ optionNoInstall: string;
216
217
  overviewAppName: string;
217
218
  overviewTemplates: string;
218
219
  waitTemplates: string;
@@ -272,7 +273,6 @@ export declare const Text: {
272
273
  preset: {
273
274
  notFound: (preset: string) => string;
274
275
  withTemplate: string;
275
- modulesFailed: string;
276
276
  };
277
277
  packages: {
278
278
  installFail: string;
@@ -304,6 +304,7 @@ export declare const Text: {
304
304
  createdAndContributing: (name: string) => string;
305
305
  invalidSpaceName: (spaceName: string) => string;
306
306
  invalidSpaceId: (spaceId: string) => string;
307
+ optionsIgnored: string;
307
308
  error: {
308
309
  fetchOrSelect: (errorMessage: string) => string;
309
310
  create: (errorMessage: string) => string;
@@ -458,8 +459,10 @@ export declare const Text: {
458
459
  providerKeyInfo: string;
459
460
  noProviders: string;
460
461
  promptProviderKey: string;
461
- optionClientSecret: string;
462
- promptClientSecret: string;
462
+ oauthClientSecretName: string;
463
+ optionOauthClientSecret: (readFlag: string) => string;
464
+ optionReadOauthClientSecret: string;
465
+ promptOauthClientSecret: string;
463
466
  };
464
467
  environment: {
465
468
  desc: string;
@@ -1170,6 +1173,7 @@ export declare const Text: {
1170
1173
  functionsBundlingSucceeded: string;
1171
1174
  cloudflaredLog: (data: string) => string;
1172
1175
  tunnelWithLocalCloudflared: string;
1176
+ bundledCloudflaredUnavailable: (error: unknown) => string;
1173
1177
  connectUsingSelfManagedTunnel: string;
1174
1178
  tunnelLocalPort: string;
1175
1179
  error: {
@@ -1237,7 +1241,9 @@ export declare const Text: {
1237
1241
  optionNoKeyExpiry: string;
1238
1242
  promptSecretKey: string;
1239
1243
  promptKeyExpiry: string;
1244
+ secretKeyName: string;
1240
1245
  errorSecretKeyNotBase64: string;
1246
+ errorReadSecretKeyWithoutHmac: string;
1241
1247
  errorNoKeyExpiryWithoutSecretKey: string;
1242
1248
  };
1243
1249
  list: {
@@ -1407,6 +1413,25 @@ export declare const Text: {
1407
1413
  start: string;
1408
1414
  success: string;
1409
1415
  };
1416
+ reprovision: {
1417
+ cmd: {
1418
+ desc: string;
1419
+ serviceKeyOption: string;
1420
+ placementOption: string;
1421
+ };
1422
+ prompt: {
1423
+ entry: string;
1424
+ };
1425
+ noServicesInManifest: string;
1426
+ reprovisioningService: (service: string, environment: string) => string;
1427
+ start: string;
1428
+ success: string;
1429
+ debug: {
1430
+ started: (reprovisionId: string) => string;
1431
+ status: (response: string) => string;
1432
+ statusQueryFailed: (error: string) => string;
1433
+ };
1434
+ };
1410
1435
  dockerLogin: {
1411
1436
  cmd: {
1412
1437
  desc: string;
@@ -1578,6 +1603,15 @@ export declare const Text: {
1578
1603
  promptReached: (question: string | undefined) => string;
1579
1604
  };
1580
1605
  };
1606
+ secretInput: {
1607
+ emptyStdin: (secretName: string) => string;
1608
+ missingNonInteractive: (secretName: string, hint: string) => string;
1609
+ stdinTimedOut: string;
1610
+ pipeIn: (secretName: string) => string;
1611
+ passFlagAndPipeIn: (readFlag: string, secretName: string) => string;
1612
+ flagAndArgv: (readFlag: string, argvOption: string) => string;
1613
+ argvDeprecated: (argvOption: string, readFlag: string) => string;
1614
+ };
1581
1615
  customScopes: {
1582
1616
  deploy: {
1583
1617
  errors: {
@@ -1741,6 +1775,7 @@ export declare const Text: {
1741
1775
  errorNonInteractiveSummary: (errors: string[]) => string;
1742
1776
  errorResourceEntryConflict: (resourceKey: string, entryName: string, existing: string, incoming: string) => string;
1743
1777
  errorResourcePathConflict: (resourceKey: string, existing: string, incoming: string) => string;
1778
+ errorAgentNotFound: (agentKey: string, manifestPath: string) => string;
1744
1779
  errorDuplicateResource: (resourceKey: string) => string;
1745
1780
  errorManifestNotAMap: string;
1746
1781
  };
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAGrC,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,0BAA0B,EAC1B,wBAAwB,EACzB,MAAM,kCAAkC,CAAC;AAQ1C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAMD,aAAK,wBAAwB;IAC3B,OAAO,YAAY;IACnB,kBAAkB,uBAAuB;IACzC,mBAAmB,wBAAwB;CAC5C;AA8CD,wBAAgB,QAAQ,CAAC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,MAAM;2CAEpD,MAAM,gBAAgB,MAAM;kDAErB,MAAM;;;;;;;oDAQJ,MAAM;;;;;;;;;;;;;;qDAeL,MAAM;;;;;;8CAMb,MAAM,cAAc,MAAM;yDAEf,MAAM,cAAc,MAAM;+CAEpC,MAAM,UAAU,MAAM,cAAc,MAAM;wCAEjD,MAAM;0CAEJ,MAAM;0CAEN,MAAM;kCAEd,MAAM;;;;;;;CAOjC,CAAC"}
package/out/ui/text.js CHANGED
@@ -285,10 +285,11 @@ What do you like or don't like about Forge? Share your feedback below or press C
285
285
  intro: (givenDirectory) => `Creating an app in directory ${chalk_1.default.bold(givenDirectory)}.\n`,
286
286
  introWithCurrentDirectory: (currentDirectory) => `Creating an app in your current directory:\n\n ${chalk_1.default.bold(currentDirectory)}\n`,
287
287
  optionTemplate: 'specify the template to use',
288
- optionDirectory: 'specify the directory to create (uses the template name by default)',
288
+ optionDirectory: 'specify the directory to create (uses the app name by default)',
289
289
  optionSpace: `specify the Developer Space id to use (see your Developer Spaces by running ${forge('developer-spaces', 'list')})`,
290
290
  optionAcceptTerms: 'accept terms and conditions without prompting',
291
291
  optionPersonal: 'register as a personal app',
292
+ optionNoInstall: 'skip installing dependencies',
292
293
  overviewAppName: `\nName your app. The app name can include dashes, spaces, and underscores.\n`,
293
294
  overviewTemplates: '\nStart with a template. Each template contains the required files to be a valid app.\n',
294
295
  waitTemplates: 'Getting template list...',
@@ -311,7 +312,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
311
312
  creation: "Your app couldn't be created. Try again."
312
313
  },
313
314
  directory: {
314
- exists: (path) => `The directory ${path} already exists. Run ${forge('create')} using a different app name.`
315
+ exists: (path) => `The directory ${path} already exists. Run ${forge('create')} using a different app name, or choose another directory with ${command('--directory')}.`
315
316
  },
316
317
  name: {
317
318
  tooLong: (max) => `The app name exceeds ${max} characters. Run ${forge('create')} using a shorter app name.`
@@ -348,8 +349,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
348
349
  },
349
350
  preset: {
350
351
  notFound: (preset) => `The preset ${preset} doesn't exist. Run ${forge('create')} using a different preset.`,
351
- withTemplate: `Run ${forge('create')} with either --template or --preset, not both.`,
352
- modulesFailed: `Your app was created, but some preset modules couldn't be added. Run ${forge('module add')} from the app directory to add them.`
352
+ withTemplate: `Run ${forge('create')} with either --template or --preset, not both.`
353
353
  },
354
354
  packages: {
355
355
  installFail: `Something went wrong while installing app dependencies. Try running ${forge('create')} again.`
@@ -389,6 +389,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
389
389
  void spaceId;
390
390
  return `Developer Space id is not a valid UUID.`;
391
391
  },
392
+ optionsIgnored: `Developer Spaces aren't available in this environment, so ${command('--developer-space-id')} and ${command('--accept-terms')} have no effect.`,
392
393
  error: {
393
394
  fetchOrSelect: (errorMessage) => `Failed to fetch or select Developer Space: ${errorMessage}`,
394
395
  create: (errorMessage) => `Failed to create Developer Space: ${errorMessage}`,
@@ -557,8 +558,10 @@ What do you like or don't like about Forge? Share your feedback below or press C
557
558
  providerKeyInfo: 'Use a provider key from the list for configuration.',
558
559
  noProviders: "Count't find providers in the manifest file. Add one.",
559
560
  promptProviderKey: 'Select provider to configure:',
560
- optionClientSecret: 'client secret',
561
- promptClientSecret: 'Enter the client secret:'
561
+ oauthClientSecretName: 'OAuth client secret',
562
+ optionOauthClientSecret: (readFlag) => `OAuth client secret (deprecated: use ${readFlag})`,
563
+ optionReadOauthClientSecret: 'read the OAuth client secret from stdin',
564
+ promptOauthClientSecret: 'Enter the OAuth client secret:'
562
565
  },
563
566
  environment: {
564
567
  desc: 'manage app environments'
@@ -1470,6 +1473,7 @@ ${buildTerminalLink(link)}\n`,
1470
1473
  functionsBundlingSucceeded: `${greenTick} Functions bundled.`,
1471
1474
  cloudflaredLog: (data) => `[cloudflared]: ${data}`,
1472
1475
  tunnelWithLocalCloudflared: 'Establishing forge tunnel with the local cloudflared binary',
1476
+ bundledCloudflaredUnavailable: (error) => `Could not use the bundled cloudflared binary: ${error}`,
1473
1477
  connectUsingSelfManagedTunnel: 'Connect using self-managed tunnel',
1474
1478
  tunnelLocalPort: 'Optional: Specify the local port to bind your tunnel',
1475
1479
  error: {
@@ -1551,7 +1555,9 @@ ${buildTerminalLink(link)}\n`,
1551
1555
  optionNoKeyExpiry: 'create the web trigger URL with a key that does not expire',
1552
1556
  promptSecretKey: 'Enter the secret key for this HMAC web trigger:',
1553
1557
  promptKeyExpiry: 'Should this secret key expire? Keys expire 12 months after they are written.',
1558
+ secretKeyName: 'secret key',
1554
1559
  errorSecretKeyNotBase64: 'The secret key must be a valid base64-encoded string.',
1560
+ errorReadSecretKeyWithoutHmac: '--readSecretKey can only be used with an authenticated web trigger. Set request.authentication to hmacSharedSecret on this module in the manifest.',
1555
1561
  errorNoKeyExpiryWithoutSecretKey: '--noKeyExpiry can only be used with an authenticated (HMAC) web trigger, which requires a secret key.'
1556
1562
  },
1557
1563
  list: {
@@ -1734,6 +1740,25 @@ ${buildTerminalLink(link)}\n`,
1734
1740
  start: 'Deleting container...',
1735
1741
  success: 'Container deleted.'
1736
1742
  },
1743
+ reprovision: {
1744
+ cmd: {
1745
+ desc: 'replace every running instance of a service with a fresh one, keeping its current version',
1746
+ serviceKeyOption: 'specify the name of the service',
1747
+ placementOption: 'placement IDs to re-provision, separated by spaces (defaults to every placement the service is deployed to)'
1748
+ },
1749
+ prompt: {
1750
+ entry: 'Select a service to re-provision:'
1751
+ },
1752
+ noServicesInManifest: 'This app does not define any services in its manifest.',
1753
+ reprovisioningService: (service, environment) => `Re-provisioning service '${service}' in the '${environment}' environment.`,
1754
+ start: 'Re-provisioning service...',
1755
+ success: 'Service re-provisioned.',
1756
+ debug: {
1757
+ started: (reprovisionId) => `Started re-provision ${reprovisionId}.`,
1758
+ status: (response) => `Re-provision status response: ${response}`,
1759
+ statusQueryFailed: (error) => `Re-provision status query failed, retrying: ${error}`
1760
+ }
1761
+ },
1737
1762
  dockerLogin: {
1738
1763
  cmd: {
1739
1764
  desc: 'authenticate to container registry'
@@ -1904,6 +1929,15 @@ When errors occur during Forge command execution, error details will be sent to
1904
1929
  `--help to see its options.`
1905
1930
  }
1906
1931
  },
1932
+ secretInput: {
1933
+ emptyStdin: (secretName) => `No ${secretName} was received on stdin. Pipe it in, or run the command in a terminal to be prompted.`,
1934
+ missingNonInteractive: (secretName, hint) => `The CLI can't ask for the ${secretName} in non-interactive mode. ${hint}`,
1935
+ stdinTimedOut: 'Failed to read from stdin: timed out waiting for input. Pipe the value into the command, or run it in a terminal to be prompted.',
1936
+ pipeIn: (secretName) => `Pipe the ${secretName} in on stdin.`,
1937
+ passFlagAndPipeIn: (readFlag, secretName) => `Pass ${readFlag} and pipe the ${secretName} in on stdin.`,
1938
+ flagAndArgv: (readFlag, argvOption) => `Use either ${readFlag} or ${argvOption}, not both.`,
1939
+ argvDeprecated: (argvOption, readFlag) => `${chalk_1.default.bold('Warning')}: ${argvOption} is deprecated, because a value passed as an argument is visible in the process list and shell history. Use ${readFlag} and pipe the value in on stdin instead.`
1940
+ },
1907
1941
  customScopes: {
1908
1942
  deploy: {
1909
1943
  errors: {
@@ -2064,6 +2098,7 @@ When errors occur during Forge command execution, error details will be sent to
2064
2098
  errorNonInteractiveSummary: (errors) => `Couldn't add the module in non-interactive mode. Resolve the following issues and re-run the command:\n\n${errors.join('\n\n')}`,
2065
2099
  errorResourceEntryConflict: (resourceKey, entryName, existing, incoming) => `Resource '${resourceKey}' already declares entry '${entryName}' as '${existing}', but the new module expects '${incoming}'. Choose a different moduleKey or remove the existing entry.`,
2066
2100
  errorResourcePathConflict: (resourceKey, existing, incoming) => `Resource '${resourceKey}' already declares path '${existing}', but the new module expects '${incoming}'. Resources sharing a key must share a path.`,
2101
+ errorAgentNotFound: (agentKey, manifestPath) => `Couldn't find the rovo:agent module '${agentKey}' in ${manifestPath}.`,
2067
2102
  errorDuplicateResource: (resourceKey) => `Resource '${resourceKey}' already exists. This module type builds a single-entry app per resource and can't share a resource with another module. Choose a different resourceKey.`,
2068
2103
  errorManifestNotAMap: 'Cannot merge into manifest.yml: its root must be a YAML mapping.'
2069
2104
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "9.11.0-next.0",
3
+ "version": "9.11.0-next.10",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -13,14 +13,13 @@
13
13
  "prebuild": "yarn generate-graphql-types"
14
14
  },
15
15
  "dependencies": {
16
- "@forge/manifest": "13.9.0",
17
- "@forge/util": "4.0.0",
18
- "@forge/i18n": "1.0.1",
16
+ "@forge/manifest": "13.9.1-next.0",
17
+ "@forge/util": "4.1.0-next.1",
18
+ "@forge/i18n": "1.0.2-next.0",
19
19
  "@sentry/node": "7.106.0",
20
20
  "@vercel/detect-agent": "^1.2.5",
21
21
  "adm-zip": "^0.6.1",
22
22
  "archiver": "^8.0.0",
23
- "array.prototype.flatmap": "^1.3.3",
24
23
  "case": "^1.6.3",
25
24
  "chalk": "^4.1.2",
26
25
  "cheerio": "^1.2.0",
@@ -59,7 +58,6 @@
59
58
  "@graphql-tools/schema": "^10.1.1",
60
59
  "@graphql-typed-document-node/core": "^3.2.0",
61
60
  "@types/adm-zip": "^0.5.8",
62
- "@types/array.prototype.flatmap": "^1.2.6",
63
61
  "@types/cross-spawn": "^6.0.6",
64
62
  "@types/fs-extra": "^11.0.4",
65
63
  "@types/get-folder-size": "^2.0.0",