@forge/cli-shared 9.6.0-next.6 → 9.6.0-next.7
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/CHANGELOG.md +8 -0
- package/out/graphql/graphql-types.d.ts +395 -5
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +48 -35
- package/out/shared/developer-console.d.ts +10 -0
- package/out/shared/developer-console.d.ts.map +1 -0
- package/out/shared/developer-console.js +41 -0
- package/out/shared/index.d.ts +1 -0
- package/out/shared/index.d.ts.map +1 -1
- package/out/shared/index.js +1 -0
- package/out/ui/text.d.ts +7 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +12 -4
- package/package.json +1 -1
package/out/ui/text.js
CHANGED
|
@@ -10,6 +10,7 @@ const terminal_link_1 = tslib_1.__importDefault(require("terminal-link"));
|
|
|
10
10
|
const graphql_types_1 = require("../graphql/graphql-types");
|
|
11
11
|
const cli_details_1 = require("../shared/cli-details");
|
|
12
12
|
const environment_1 = require("../shared/environment");
|
|
13
|
+
const developer_console_1 = require("../shared/developer-console");
|
|
13
14
|
const installations_1 = require("../shared/installations");
|
|
14
15
|
const log_color_1 = require("./log-color");
|
|
15
16
|
const log_symbols_1 = tslib_1.__importDefault(require("./log-symbols"));
|
|
@@ -353,7 +354,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
353
354
|
return `${chalk_1.default.bold('Warning:')} Marketplace admin action required: Complete the ${buildTerminalLabeledLink('Developer Space setup', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#who-can-create-a-developer-space')} to avoid ${buildTerminalLabeledLink('functionality limits', 'https://developer.atlassian.com/platform/forge/developer-space/create-developer-space/#developer-space-setup-and-app-limits')}.\n`;
|
|
354
355
|
},
|
|
355
356
|
developerSpaceSetupIncompleteLink: (developerSpaceId) => chalk_1.default.yellow(`Share this link with a Marketplace admin so they can finish setup:\n` +
|
|
356
|
-
` - Developer Space: ${buildTerminalLink(
|
|
357
|
+
` - Developer Space: ${buildTerminalLink((0, developer_console_1.getDevConsoleUrl)('developerSpace', developerSpaceId))}`)
|
|
357
358
|
},
|
|
358
359
|
terms: {
|
|
359
360
|
agreement: 'Please review the following agreement before continuing:\n',
|
|
@@ -420,6 +421,13 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
420
421
|
},
|
|
421
422
|
confirmQuestion: 'Are you sure you want to overwrite the existing app details?'
|
|
422
423
|
},
|
|
424
|
+
console: {
|
|
425
|
+
cmd: {
|
|
426
|
+
desc: 'open your app in the developer console',
|
|
427
|
+
overviewLink: (url) => `Developer Console: ${buildTerminalLink(url)}`,
|
|
428
|
+
missingAppId: `Couldn't find an app id. Run this command from your app directory, or run ${forge('register')} to register the app first.`
|
|
429
|
+
}
|
|
430
|
+
},
|
|
423
431
|
env: {
|
|
424
432
|
option: `specify the environment (see your default environment by running ${forge('settings', 'list')})`,
|
|
425
433
|
invalid: 'Invalid environment name',
|
|
@@ -916,7 +924,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
916
924
|
},
|
|
917
925
|
distributePageLink: (appId) => `To install on a site that you're an admin of, run ${forge('install')}.\n` +
|
|
918
926
|
'To install on any other site, generate an installation link in the developer console and share it with the site admin: ' +
|
|
919
|
-
|
|
927
|
+
buildTerminalLink((0, developer_console_1.getDevConsoleUrl)('appDistribution', appId))
|
|
920
928
|
},
|
|
921
929
|
taskLint: {
|
|
922
930
|
lintError: log_color_1.LogColor.error(`Error: The deploy failed due to errors in the app code. Fix the errors before rerunning ${forge('deploy')}, or run ${forge('deploy', '--no-verify')} to skip the linter.\n`),
|
|
@@ -995,7 +1003,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
995
1003
|
marketplaceApp: (developerSpaceId) => `Deployment blocked - This app's Developer Space setup is incomplete.\n\n` +
|
|
996
1004
|
`Your Marketplace admin must complete the Developer Space setup to unblock deployment for this app and prevent further app limitations.\n\n` +
|
|
997
1005
|
`What to do: Share this setup link with your Marketplace admin:\n` +
|
|
998
|
-
buildTerminalLink(
|
|
1006
|
+
buildTerminalLink((0, developer_console_1.getDevConsoleUrl)('developerSpace', developerSpaceId))
|
|
999
1007
|
},
|
|
1000
1008
|
outdatedInstallations: `We've detected new scopes or egress URLs in your app.\n` +
|
|
1001
1009
|
`Run ${forge('install', '--upgrade')} and restart your tunnel to put them into effect.`,
|
|
@@ -1086,7 +1094,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
1086
1094
|
permissionsDeniedInstructions: (requestId, appId) => `Insufficient permissions to install app (requestId: ${requestId})` +
|
|
1087
1095
|
'\n\nTo install the app on this site, generate an installation link ' +
|
|
1088
1096
|
'in the developer console and share it with the site admin: ' +
|
|
1089
|
-
|
|
1097
|
+
buildTerminalLink((0, developer_console_1.getDevConsoleUrl)('appDistribution', appId)),
|
|
1090
1098
|
appendRequestIdToErrorMessage: (message, requestId) => `${message} For more help on this issue, please reach out to support (${buildTerminalLink('https://developer.atlassian.com/support')}) and provide them the following request ID: ${requestId}`,
|
|
1091
1099
|
majorVersionNotFound: 'The major version you specified does not exist. Check the version number and try again.',
|
|
1092
1100
|
installationLimitReached: 'Installation error: The target site already has the maximum number of apps installed. To install this app there, uninstall any unused apps first.',
|