npm package diff
Package: @forge/cli-shared
Versions: 8.0.0-next.13 - 8.0.0-next.14
File: package/out/ui/text.js
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -142,12 +142,8 @@
outdatedClientVersion: `Your version of Forge CLI is no longer supported.` +
`\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.` +
`\n`
},
- snapshot: {
- 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.`,
- timeout: `A timeout error occurred in the snapshot context.\nLearn more about the snapshot context at https://go.atlassian.com/forge-snapshot-context.`
- },
hostedResources: {
error: (errorMessage) => `Failed to deploy hosted resources. ${errorMessage}`,
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.`,
missingEntrypointWithResourceDetails: (resourceKey, directory) => `Missing index.html file for ${resourceKey}. Make sure the resource directory (${directory}) is correct and contains an index.html file.`,
@@ -799,10 +795,9 @@
taskPackage: {
title: 'Packaging app files',
packageBundledFiles: 'Packaging bundled files',
packageFile: (fileName, filePath) => `File added to archive: ${filePath}` + fileName ? `, from ${fileName}` : '',
- archiveCreated: (archivePath) => `Archive created: ${archivePath}`,
- packageOptionsNotSupported: 'Custom packaging options are only supported on the Node runtime.'
+ archiveCreated: (archivePath) => `Archive created: ${archivePath}`
},
taskUpload: {
title: 'Uploading app',
uploadingArchive: (uploadUrl) => `Uploading archive to ${uploadUrl}...`,
@@ -971,21 +966,12 @@
functionHandlers: 'list of function handlers declared on manifest to debug, separated by space. This option must be specified if debug mode is enabled. It is only used for Node runtime debugger',
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.',
startingTunnel: (environmentKey, envType) => `Tunnelling to: ${exports.Text.env.displayEnvironment(environmentKey, envType)}`,
startedServer: (port, isDebug) => `Listening for requests${isDebug ? ' on local port ' + port : ''}...`,
- tunnelType: 'Tunnel provider: Cloudflare',
startedTunnel: (tunnelUrl) => `Started tunnel at address: ${tunnelUrl}`,
stoppingTunnel: 'Stopping tunnel...',
stoppedTunnel: 'Tunnel stopped.',
tunnelStatusChange: (status) => `Tunnel connection status changed: ${status}`,
- snapshotting: 'Snapshotting functions...',
- snapshottingNoLogs: 'No log output.',
- startedInspector: (serverAddress) => `Add "debugger;" statement to your app to pause.
-Debugging in Google Chrome:
-- Open Inspect page: chrome://inspect/
-- Select "Open dedicated DevTools for Node"
-- Open inspector URL: devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=${serverAddress}
- `,
functionHandlersMustBeDefined: `${chalk_1.default.bold('--debugFunctionHandlers')} flag must be defined in debug mode.`,
debugArgumentNameMismatch: (arg) => `Arguments of ${chalk_1.default.bold('--debugFunctionHandlers')}, namely '${arg}', must be function handlers defined in the manifest.`,
invalidDebugStartingPortNumber: (port) => `${chalk_1.default.bold('--debugStartingPort')} ${port} must be a valid port number.`,
invoke: (requestId, handler) => `invocation: ${requestId} ${handler}`,
@@ -1000,10 +986,8 @@
container: {
invoke: (req, port) => `Proxying request to service ${req.method} http://${req.host}:${port}${req.path}`,
error: (cause) => `Failed to proxy request: ${cause}`
},
- pullDockerProgress: (percentCompleted) => `Checking Docker image... ${percentCompleted}%`,
- pullDockerSuccess: `Your Docker image is up to date.`,
preBundleTask: (title) => `${log_color_1.LogColor.trace('===')} ${title}`,
lintFailed: chalk_1.default.red(`${chalk_1.default.bold('Error:')} Linting failed due to errors in the app code.`),
bundlingHeader: 'Bundling code...',
bundlingSucceeded: 'App code bundled.',
@@ -1017,15 +1001,12 @@
handler: {
notFound: (handler) => `Function with handler "${handler}" was not found`
},
manifestChangeDetected: `Changes to ${manifest_1.MANIFEST_FILE} have been detected. You will need to deploy your forge app to apply these changes.`,
- pullDocker: `Checking Docker image... failed`,
- tunnelPackageMissing: 'To run tunnel without Docker please: npm install -g @forge/sandbox-tunnel',
dockerNotInstalled: (dockerDownloadLink) => 'Cannot find Docker. The tunnel command requires Docker to run your app locally. ' +
`Get Docker at the following URL before rerunning the tunnel command:\n\n${dockerDownloadLink}`,
dockerDaemonNotRunning: (err, isVerbose) => `Docker is not running. The tunnel command requires Docker to run your app locally. Open Docker before rerunning the tunnel command.` +
`${isVerbose ? '\n\nError details: ' + err : ''}`,
- dockerPullFailed: 'Cannot pull the tunnel image.',
serverNotStartedOnPort: (tunnelPort) => `Failed to connect to localhost:${tunnelPort}. Check that your service is running.`,
cloudflaredError: 'Failed to start cloudflared. Rerunning the command with --verbose may give more details.',
cloudflaredExit: (code) => code
? `Cloudflared exited. Rerunning the command with --verbose may give more details.`