@forge/cli-shared 8.2.0-next.8 → 8.2.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/out/ui/text.js CHANGED
@@ -667,10 +667,10 @@ What do you like or don't like about Forge? Share your feedback below or press C
667
667
  details: {
668
668
  banner: (envKey, envType, updates) => {
669
669
  if (!envType) {
670
- return `${log_symbols_1.default.info} Details of a total of [${updates} updates] can be seen below:`;
670
+ return `${log_symbols_1.default.info} Details of a total of [${updates} updates] can be seen below. Records may not be available indefinitely.`;
671
671
  }
672
672
  const envDisplay = exports.Text.env.displayEnvironment(envKey, envType);
673
- return `${log_symbols_1.default.info} Details of a total of [${updates} updates] in [${envDisplay}] can be seen below:`;
673
+ return `${log_symbols_1.default.info} Details of a total of [${updates} updates] in [${envDisplay}] can be seen below. Records may not be available indefinitely.`;
674
674
  }
675
675
  }
676
676
  },
@@ -1166,6 +1166,38 @@ ${buildTerminalLink(link)}\n`,
1166
1166
  }
1167
1167
  }
1168
1168
  },
1169
+ show: {
1170
+ cmd: {
1171
+ desc: "display information about the deployed app's containers and services"
1172
+ },
1173
+ services: {
1174
+ cmd: {
1175
+ desc: 'display information about deployed app services',
1176
+ serviceKeyOption: 'specify the name of the service'
1177
+ },
1178
+ overview: 'Showing service information.',
1179
+ specificService: (serviceKey, environment) => `Showing service: ${chalk_1.default.bold(serviceKey)} deployed in the '${environment}' environment.`,
1180
+ allServices: (environment) => `Showing all services defined and deployed in the '${environment}' environment:`,
1181
+ noServicesFound: (environment) => `No services found in the '${environment}' environment.`
1182
+ },
1183
+ containers: {
1184
+ cmd: {
1185
+ desc: 'display information about deployed app containers for a given service',
1186
+ serviceKeyOption: 'specify the name of a service',
1187
+ containerKeyOption: 'specify the name of a container'
1188
+ },
1189
+ overview: 'Showing container information for a service.',
1190
+ prompt: {
1191
+ entry: 'Select a service:'
1192
+ },
1193
+ noContainersFound: (environment) => `No service containers found in the '${environment}' environment.`,
1194
+ specifiedServiceNotFound: (service, environment) => `No service '${service}' found in the '${environment}' environment.`,
1195
+ specifiedContainerNotFound: (service, container, environment) => `No container '${container}' found for the service '${service}' in the '${environment}' environment.`,
1196
+ noContainersFoundForService: (service, environment) => `No containers found for the service '${service}' in the '${environment}' environment.`,
1197
+ specificContainer: (containerKey) => `Container: ${chalk_1.default.bold(containerKey)}`,
1198
+ noInstancesFoundForContainer: (containerKey, service, environment) => `No instances found for the container '${containerKey}' for the service '${service}' in the '${environment}' environment.`
1199
+ }
1200
+ },
1169
1201
  stub: {
1170
1202
  error: (newName, oldName) => `The ${forge(oldName)} command has been deprecated and replaced by ${forge(newName)}.`
1171
1203
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "8.2.0-next.8",
3
+ "version": "8.2.0",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -12,8 +12,8 @@
12
12
  "generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/manifest": "10.1.1-next.2",
16
- "@forge/util": "2.0.0-next.0",
15
+ "@forge/manifest": "10.2.0",
16
+ "@forge/util": "2.0.0",
17
17
  "@forge/i18n": "0.0.7",
18
18
  "@sentry/node": "7.106.0",
19
19
  "adm-zip": "^0.5.10",
@@ -28,7 +28,7 @@
28
28
  "figures": "^3.2.0",
29
29
  "fp-ts": "^2.16.2",
30
30
  "fs-extra": "^11.2.0",
31
- "get-folder-size": "^2.0.1",
31
+ "get-folder-size": "^5.0.0",
32
32
  "glob": "^10.3.10",
33
33
  "graphql": "^16.8.1",
34
34
  "graphql-request": "6.1.0",