@forge/cli-shared 8.9.1-next.9 → 8.10.0-next.12
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 +22 -0
- package/out/graphql/graphql-types.d.ts +1175 -135
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +95 -49
- package/out/ui/text.d.ts +10 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +15 -5
- package/package.json +1 -1
package/out/ui/text.js
CHANGED
|
@@ -70,6 +70,7 @@ exports.Text = {
|
|
|
70
70
|
? `one of the following valid Atlassian apps: ${validContexts.join(', ')}`
|
|
71
71
|
: 'a valid Atlassian app'}.`,
|
|
72
72
|
missingSiteUrlValue: 'Site parameter requires a site URL. Rerun the command with a valid site URL.',
|
|
73
|
+
missingShardContext: 'Shard parameter requires a string value.',
|
|
73
74
|
invalidSite: 'The site you entered is not an Atlassian site. Rerun the command with the URL to an Atlassian site to install the app.',
|
|
74
75
|
invalidWorkspace: 'The workspace you entered is not a valid workspace. Rerun the command with the URL to a valid workspace to install the app.',
|
|
75
76
|
invalidInstallationContext: 'Could not find an installation for the provided Atlassian app',
|
|
@@ -115,7 +116,8 @@ exports.Text = {
|
|
|
115
116
|
uikit: (modules) => {
|
|
116
117
|
return `${chalk_1.default.bold('Warning')}: Your app is currently using deprecated UI Kit 1 modules: ${modules.join(', ')}. ${chalk_1.default.bold('UI Kit 1')} has been deprecated on February 28, 2025. Please refer to the ${(0, terminal_link_1.default)('documentation', 'https://developer.atlassian.com/platform/forge/ui-kit/upgrade-to-ui-kit-latest/#upgrade-from-ui-kit-1-to-ui-kit-latest-version')} to upgrade your modules.`;
|
|
117
118
|
}
|
|
118
|
-
}
|
|
119
|
+
},
|
|
120
|
+
oldCreateCommandDeprecation: `${chalk_1.default.bold('Warning')}: This command is deprecated and will be removed in newer versions of the CLI after May 2026. Use '${forge('webtrigger create')}' instead.`
|
|
119
121
|
},
|
|
120
122
|
maxSizeOfUsersWithAccess: 10,
|
|
121
123
|
installationContext: {
|
|
@@ -139,6 +141,10 @@ exports.Text = {
|
|
|
139
141
|
},
|
|
140
142
|
optionSite: 'site URL (example.atlassian.net)',
|
|
141
143
|
optionProduct: (supportedProducts) => `Atlassian app (${supportedProducts.join(', ')})`,
|
|
144
|
+
optionShard: {
|
|
145
|
+
desc: 'identifier for a shard',
|
|
146
|
+
incorrectFormat: 'shard identifier should be formatted "<id>:<region>"'
|
|
147
|
+
},
|
|
142
148
|
optionVerbose: 'enable verbose mode',
|
|
143
149
|
optionJson: 'output results in JSON format',
|
|
144
150
|
invalidCmd: (command) => `’${command}’ is not a Forge command.`,
|
|
@@ -321,7 +327,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
321
327
|
agreement: 'Please review the following agreement before continuing:\n',
|
|
322
328
|
checkbox: '[ ] By continuing, I agree to the Atlassian Developer Terms and the Privacy Policy. If any Forge app added to this Developer Space exceeds the free usage allowance, I agree to be billed for any excess usage based on the then-current price.',
|
|
323
329
|
links: {
|
|
324
|
-
devTerms: ' - Developer Terms: https://developer.atlassian.com/platform/terms/',
|
|
330
|
+
devTerms: ' - Developer Terms: https://developer.atlassian.com/platform/marketplace/atlassian-developer-terms/',
|
|
325
331
|
privacy: ' - Privacy Policy: https://www.atlassian.com/legal/privacy-policy',
|
|
326
332
|
pricing: ' - Pricing: https://developer.atlassian.com/platform/forge/forge-platform-pricing/'
|
|
327
333
|
},
|
|
@@ -1043,8 +1049,8 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1043
1049
|
invalidDebugStartingPortNumber: (port) => `${chalk_1.default.bold('--debugStartingPort')} ${port} must be a valid port number.`,
|
|
1044
1050
|
unableToAuthenticateDocker: (errCode) => `Docker authentication process exited with code: ${errCode}.`,
|
|
1045
1051
|
unableToPullProxySidecarImage: (errMessage) => `Unable to pull the proxy sidecar image. Make sure to run 'forge containers docker-login' first. Full error: ${errMessage}`,
|
|
1046
|
-
unableToStartDockerComposeStack: (errMessage) => `Cannot start
|
|
1047
|
-
unableToStopDockerComposeStack: (serviceKey, errMessage) => `Failed to stop
|
|
1052
|
+
unableToStartDockerComposeStack: (errMessage) => `Cannot start Docker Compose stack. This usually happens when Docker isn't running, or a Docker image doesn't exist. To fix this: Start a Docker engine, make sure all configured images exist, then retry the command. Full error: ${errMessage}`,
|
|
1053
|
+
unableToStopDockerComposeStack: (serviceKey, errMessage) => `Failed to stop Docker Compose stack for ${serviceKey}. Full error: ${errMessage}`,
|
|
1048
1054
|
invoke: (requestId, handler) => `invocation: ${requestId} ${handler}`,
|
|
1049
1055
|
invocationTimeout: (timeout) => `Function result will not be returned to the Forge platform, as the function did not complete within ${timeout} seconds. In invocations outside tunnel, functions that exceed the time limit are terminated.`,
|
|
1050
1056
|
customUI: {
|
|
@@ -1120,13 +1126,17 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1120
1126
|
missingUninstallTask: `Cannot uninstall the app: something went wrong with starting the uninstall task.`
|
|
1121
1127
|
},
|
|
1122
1128
|
webtrigger: {
|
|
1123
|
-
cmd: '
|
|
1129
|
+
cmd: 'manage webtriggers',
|
|
1124
1130
|
copy: (url) => `\nCopy your web trigger URL below to start using it:\n\n${buildTerminalLink(url)}`,
|
|
1125
1131
|
optionFuncKey: 'web trigger key from the manifest.yml file',
|
|
1126
1132
|
overviewFuncKey: `\nGetting the web trigger URL for the provided context.\n\nPress Ctrl+C to cancel.\n`,
|
|
1127
1133
|
promptFuncKey: 'Select a web trigger:',
|
|
1128
1134
|
overViewInstallationTable: `\nGetting the web trigger URL by an app installation.\n\nPress Ctrl+C to cancel.\n`,
|
|
1129
1135
|
promptInstallationTable: 'Select an installation:',
|
|
1136
|
+
create: {
|
|
1137
|
+
cmd: 'get a web trigger URL',
|
|
1138
|
+
optionFunctionKey: 'web trigger key from the manifest.yml file'
|
|
1139
|
+
},
|
|
1130
1140
|
error: {
|
|
1131
1141
|
funcKey: "The given web trigger key doesn't exist in the manifest.yml file.",
|
|
1132
1142
|
noWebtriggers: "The manifest.yml file doesn't contain any web triggers. Add a web trigger before rerunning this command.",
|