@forge/cli-shared 8.0.0-next.9 → 8.0.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
@@ -143,10 +143,6 @@ exports.Text = {
143
143
  `\nRun ${command('npm', 'uninstall', '-g', cli_details_1.FORGE_CLI_PACKAGE)} followed by ${command('npm', 'install', '-g', cli_details_1.FORGE_CLI_PACKAGE)} to update to the latest version.` +
144
144
  `\n`
145
145
  },
146
- snapshot: {
147
- error: (errorCode, errorMessage) => `Error thrown in the snapshot context.\n${errorCode}: ${errorMessage}\nLearn more about the snapshot context at https://go.atlassian.com/forge-snapshot-context.`,
148
- timeout: `A timeout error occurred in the snapshot context.\nLearn more about the snapshot context at https://go.atlassian.com/forge-snapshot-context.`
149
- },
150
146
  hostedResources: {
151
147
  error: (errorMessage) => `Failed to deploy hosted resources. ${errorMessage}`,
152
148
  missingEntrypoint: `Missing index.html for custom UI resource. Make sure the file paths for resources in the manifest.yml file are correct and contain an index.html file.`,
@@ -800,8 +796,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
800
796
  title: 'Packaging app files',
801
797
  packageBundledFiles: 'Packaging bundled files',
802
798
  packageFile: (fileName, filePath) => `File added to archive: ${filePath}` + fileName ? `, from ${fileName}` : '',
803
- archiveCreated: (archivePath) => `Archive created: ${archivePath}`,
804
- packageOptionsNotSupported: 'Custom packaging options are only supported on the Node runtime.'
799
+ archiveCreated: (archivePath) => `Archive created: ${archivePath}`
805
800
  },
806
801
  taskUpload: {
807
802
  title: 'Uploading app',
@@ -972,19 +967,10 @@ ${buildTerminalLink(link)}\n`,
972
967
  preamble: 'Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the specific development environment. You will not see requests from other users.',
973
968
  startingTunnel: (environmentKey, envType) => `Tunnelling to: ${exports.Text.env.displayEnvironment(environmentKey, envType)}`,
974
969
  startedServer: (port, isDebug) => `Listening for requests${isDebug ? ' on local port ' + port : ''}...`,
975
- tunnelType: 'Tunnel provider: Cloudflare',
976
970
  startedTunnel: (tunnelUrl) => `Started tunnel at address: ${tunnelUrl}`,
977
971
  stoppingTunnel: 'Stopping tunnel...',
978
972
  stoppedTunnel: 'Tunnel stopped.',
979
973
  tunnelStatusChange: (status) => `Tunnel connection status changed: ${status}`,
980
- snapshotting: 'Snapshotting functions...',
981
- snapshottingNoLogs: 'No log output.',
982
- startedInspector: (serverAddress) => `Add "debugger;" statement to your app to pause.
983
- Debugging in Google Chrome:
984
- - Open Inspect page: chrome://inspect/
985
- - Select "Open dedicated DevTools for Node"
986
- - Open inspector URL: devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=${serverAddress}
987
- `,
988
974
  functionHandlersMustBeDefined: `${chalk_1.default.bold('--debugFunctionHandlers')} flag must be defined in debug mode.`,
989
975
  debugArgumentNameMismatch: (arg) => `Arguments of ${chalk_1.default.bold('--debugFunctionHandlers')}, namely '${arg}', must be function handlers defined in the manifest.`,
990
976
  invalidDebugStartingPortNumber: (port) => `${chalk_1.default.bold('--debugStartingPort')} ${port} must be a valid port number.`,
@@ -1001,8 +987,6 @@ Debugging in Google Chrome:
1001
987
  invoke: (req, port) => `Proxying request to service ${req.method} http://${req.host}:${port}${req.path}`,
1002
988
  error: (cause) => `Failed to proxy request: ${cause}`
1003
989
  },
1004
- pullDockerProgress: (percentCompleted) => `Checking Docker image... ${percentCompleted}%`,
1005
- pullDockerSuccess: `Your Docker image is up to date.`,
1006
990
  preBundleTask: (title) => `${log_color_1.LogColor.trace('===')} ${title}`,
1007
991
  lintFailed: chalk_1.default.red(`${chalk_1.default.bold('Error:')} Linting failed due to errors in the app code.`),
1008
992
  bundlingHeader: 'Bundling code...',
@@ -1018,13 +1002,10 @@ Debugging in Google Chrome:
1018
1002
  notFound: (handler) => `Function with handler "${handler}" was not found`
1019
1003
  },
1020
1004
  manifestChangeDetected: `Changes to ${manifest_1.MANIFEST_FILE} have been detected. You will need to deploy your forge app to apply these changes.`,
1021
- pullDocker: `Checking Docker image... failed`,
1022
- tunnelPackageMissing: 'To run tunnel without Docker please: npm install -g @forge/sandbox-tunnel',
1023
1005
  dockerNotInstalled: (dockerDownloadLink) => 'Cannot find Docker. The tunnel command requires Docker to run your app locally. ' +
1024
1006
  `Get Docker at the following URL before rerunning the tunnel command:\n\n${dockerDownloadLink}`,
1025
1007
  dockerDaemonNotRunning: (err, isVerbose) => `Docker is not running. The tunnel command requires Docker to run your app locally. Open Docker before rerunning the tunnel command.` +
1026
1008
  `${isVerbose ? '\n\nError details: ' + err : ''}`,
1027
- dockerPullFailed: 'Cannot pull the tunnel image.',
1028
1009
  serverNotStartedOnPort: (tunnelPort) => `Failed to connect to localhost:${tunnelPort}. Check that your service is running.`,
1029
1010
  cloudflaredError: 'Failed to start cloudflared. Rerunning the command with --verbose may give more details.',
1030
1011
  cloudflaredExit: (code) => code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "8.0.0-next.9",
3
+ "version": "8.0.0",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -12,7 +12,7 @@
12
12
  "generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/manifest": "10.0.0-next.8",
15
+ "@forge/manifest": "10.0.0",
16
16
  "@forge/util": "1.4.9",
17
17
  "@forge/i18n": "0.0.6",
18
18
  "@sentry/node": "7.106.0",