@forge/cli-shared 8.23.0-next.3 → 8.23.0-next.5
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 +19 -0
- package/out/ari/ari.d.ts +4 -0
- package/out/ari/ari.d.ts.map +1 -1
- package/out/ari/ari.js +13 -1
- package/out/graphql/graphql-types.d.ts +4 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +1 -0
- package/out/ui/text.d.ts +12 -2
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +37 -6
- package/package.json +2 -2
|
@@ -10849,6 +10849,7 @@ var JiraServiceManagementMajorIncident;
|
|
|
10849
10849
|
})(JiraServiceManagementMajorIncident = exports.JiraServiceManagementMajorIncident || (exports.JiraServiceManagementMajorIncident = {}));
|
|
10850
10850
|
var JiraServiceManagementPractice;
|
|
10851
10851
|
(function (JiraServiceManagementPractice) {
|
|
10852
|
+
JiraServiceManagementPractice["CaseManagement"] = "CASE_MANAGEMENT";
|
|
10852
10853
|
JiraServiceManagementPractice["ChangeManagement"] = "CHANGE_MANAGEMENT";
|
|
10853
10854
|
JiraServiceManagementPractice["DeveloperEscalation"] = "DEVELOPER_ESCALATION";
|
|
10854
10855
|
JiraServiceManagementPractice["IncidentManagement"] = "INCIDENT_MANAGEMENT";
|
package/out/ui/text.d.ts
CHANGED
|
@@ -562,11 +562,12 @@ export declare const Text: {
|
|
|
562
562
|
outFile: string;
|
|
563
563
|
version1: string;
|
|
564
564
|
version2: string;
|
|
565
|
+
limit: string;
|
|
565
566
|
};
|
|
566
567
|
desc: string;
|
|
567
568
|
overViewVersionTable: (versions: number, environment: string) => string;
|
|
568
569
|
promptVersionTable: string;
|
|
569
|
-
selectTargetVersionToUpgrade: (
|
|
570
|
+
selectTargetVersionToUpgrade: (sourceVersion?: string) => string;
|
|
570
571
|
error: {
|
|
571
572
|
missingVersionUpgradeParameters: string;
|
|
572
573
|
appVersionRolloutRunning: string;
|
|
@@ -579,8 +580,15 @@ export declare const Text: {
|
|
|
579
580
|
tooManyRequestsGlobally: string;
|
|
580
581
|
};
|
|
581
582
|
appVersionRolloutSuccess(appRolloutVersionId: string | undefined): string;
|
|
582
|
-
|
|
583
|
+
limitWarningUserLimit: (expectedRemaining: number, totalEligible: number, userLimit: number) => string;
|
|
584
|
+
limitWarningAdjustedLimit: (expectedRemaining: number, totalEligible: number, userLimit: number, appliedLimit: number) => string;
|
|
585
|
+
limitWarningSystemLimit: (expectedRemaining: number, totalEligible: number, systemLimit: number) => string;
|
|
586
|
+
limitWarningFollowUp: string;
|
|
587
|
+
warningMessage: (sourceVersionId: string, targetVersionId: string, installations?: number, limit?: number, enforcedSystemLimit?: number, userProvidedLimit?: number) => string;
|
|
583
588
|
promptConfirmation: string;
|
|
589
|
+
promptLimit: (installations?: number) => string;
|
|
590
|
+
promptLimitWithTargetInfo: (installations?: number, upgradeLimit?: number) => string;
|
|
591
|
+
limitValidationError: (max?: number) => string;
|
|
584
592
|
};
|
|
585
593
|
list: {
|
|
586
594
|
cmdName: string;
|
|
@@ -831,6 +839,7 @@ export declare const Text: {
|
|
|
831
839
|
noResourceId: string;
|
|
832
840
|
noCloudId: string;
|
|
833
841
|
noResourceIdInWorkspace: string;
|
|
842
|
+
noResourceIdInInstallation: string;
|
|
834
843
|
noInstallations: string;
|
|
835
844
|
status: {
|
|
836
845
|
outdatedPermissions: string;
|
|
@@ -914,6 +923,7 @@ export declare const Text: {
|
|
|
914
923
|
};
|
|
915
924
|
};
|
|
916
925
|
installationId: {
|
|
926
|
+
option: string;
|
|
917
927
|
prompt: string;
|
|
918
928
|
errors: {
|
|
919
929
|
invalid: string;
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA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;;;;;;;;;;;;;;kDAiBlC,MAAM,SAAS,MAAM;sDACjB,MAAM;oDACR,MAAM,WAAW,MAAM;mDAExB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAmCN,MAAM;mDACE,MAAM,GAAG,SAAS,aAAa,MAAM;iDAEvC,MAAM;uDACA,MAAM;;;;;;;;;;;;;;;8CAef,MAAM,cAAc,MAAM;yDAEf,MAAM,cAAc,MAAM;wCAE3C,MAAM,aAAa,MAAM;0CAEvB,MAAM;0CAEN,MAAM;;;CAGzC,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -699,12 +699,16 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
699
699
|
json: 'output results in JSON format',
|
|
700
700
|
outFile: 'specify a file to output the results',
|
|
701
701
|
version1: 'source version to upgrade in a non-interactive mode',
|
|
702
|
-
version2: 'target version to upgrade to in a non-interactive mode'
|
|
702
|
+
version2: 'target version to upgrade to in a non-interactive mode',
|
|
703
|
+
limit: 'limit the number of installations to upgrade (optional)'
|
|
703
704
|
},
|
|
704
705
|
desc: `upgrades installations using one major version to another version. The version selection list displays:\n${itemList(['major version number', 'deployment date', 'number of installations'])}`,
|
|
705
706
|
overViewVersionTable: (versions, environment) => `\nDetails for a total of [${versions} major versions] in [${environment}] can be seen below.\nWhere there are no upgrade paths available, use \`forge version compare\` to compare versions and see more information:\n`,
|
|
706
707
|
promptVersionTable: 'Getting app version list...',
|
|
707
|
-
selectTargetVersionToUpgrade: (
|
|
708
|
+
selectTargetVersionToUpgrade: (sourceVersion) => {
|
|
709
|
+
const sourceVersionText = sourceVersion ? ` from version ${sourceVersion}` : '';
|
|
710
|
+
return `Please select a version to upgrade installations${sourceVersionText} to:`;
|
|
711
|
+
},
|
|
708
712
|
error: {
|
|
709
713
|
missingVersionUpgradeParameters: `Missing parameters:\nError: [version bulk-upgrade start --non-interactive] requires --from-version and --to-version`,
|
|
710
714
|
appVersionRolloutRunning: `App version rollout for this app environment is already running. Use \`forge version bulk-upgrade list\` to identify the running upgrade and \`forge version bulk-upgrade cancel\` to cancel.`,
|
|
@@ -719,8 +723,29 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
719
723
|
appVersionRolloutSuccess(appRolloutVersionId) {
|
|
720
724
|
return `Your upgrade has been queued with upgrade ID ${appRolloutVersionId}. To view that status of your update please use the \`forge version bulk-upgrade list\` command.`;
|
|
721
725
|
},
|
|
722
|
-
|
|
723
|
-
|
|
726
|
+
limitWarningUserLimit: (expectedRemaining, totalEligible, userLimit) => `${chalk_1.default.yellow('Warning:')} Due to the limit you specified (${userLimit}), ${expectedRemaining} out of the eligible ${totalEligible} upgrades will remain unprocessed.`,
|
|
727
|
+
limitWarningAdjustedLimit: (expectedRemaining, totalEligible, userLimit, appliedLimit) => `${chalk_1.default.yellow('Warning:')} The limit you supplied (${userLimit}) could not be honored and a limit of ${appliedLimit} has been applied. Due to this limit ${expectedRemaining} out of the eligible ${totalEligible} upgrades will remain unprocessed.`,
|
|
728
|
+
limitWarningSystemLimit: (expectedRemaining, totalEligible, systemLimit) => `${chalk_1.default.yellow('Warning:')} The number of eligible installations exceeded the per-workflow maximum (${systemLimit}). Due to this maximum ${expectedRemaining} out of the eligible ${totalEligible} upgrades will remain unprocessed.`,
|
|
729
|
+
limitWarningFollowUp: 'These unprocessed installations can be processed by starting a new workflow after the completion of this one.',
|
|
730
|
+
warningMessage: (sourceVersionId, targetVersionId, installations, limit, enforcedSystemLimit, userProvidedLimit) => {
|
|
731
|
+
const effectiveInstallations = limit !== undefined && limit < (installations || 0) ? limit : installations;
|
|
732
|
+
const installationText = effectiveInstallations === 1 ? 'installation' : 'installations';
|
|
733
|
+
let limitNote = '';
|
|
734
|
+
if (enforcedSystemLimit !== undefined && userProvidedLimit !== undefined) {
|
|
735
|
+
limitNote = `. Provided limit (${userProvidedLimit}) not honored due to system limit`;
|
|
736
|
+
}
|
|
737
|
+
return `${chalk_1.default.bold('Warning:')} You are planning to move ${effectiveInstallations} ${installationText} from version ${sourceVersionId} to version ${targetVersionId}${limitNote}.`;
|
|
738
|
+
},
|
|
739
|
+
promptConfirmation: 'Do you want to continue?',
|
|
740
|
+
promptLimit: (installations) => `How many installations to upgrade? (${installations} eligible):`,
|
|
741
|
+
promptLimitWithTargetInfo: (installations, upgradeLimit) => {
|
|
742
|
+
const eligibleText = `${installations} eligible`;
|
|
743
|
+
const limitText = upgradeLimit && (installations ?? 0) > upgradeLimit ? `, system limit: ${upgradeLimit}` : ``;
|
|
744
|
+
return `How many installations to upgrade? (${eligibleText}${limitText}):`;
|
|
745
|
+
},
|
|
746
|
+
limitValidationError: (max) => max !== undefined
|
|
747
|
+
? `Please enter a valid number between 1 and ${max}, or leave empty for no limit.`
|
|
748
|
+
: `Please enter a valid number greater than 0, or leave empty for no limit.`
|
|
724
749
|
},
|
|
725
750
|
list: {
|
|
726
751
|
cmdName: 'list',
|
|
@@ -1049,6 +1074,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1049
1074
|
noResourceId: 'Unknown site with no resource ID',
|
|
1050
1075
|
noCloudId: 'Unknown workspace with no cloud ID',
|
|
1051
1076
|
noResourceIdInWorkspace: 'Unknown workspace with no resource ID',
|
|
1077
|
+
noResourceIdInInstallation: 'Unknown installation with no resource ID',
|
|
1052
1078
|
noInstallations: `The app is not installed anywhere.\nRun ${forge('install')} to install your app on an Atlassian site.\n`,
|
|
1053
1079
|
status: {
|
|
1054
1080
|
outdatedPermissions: 'Outdated permissions',
|
|
@@ -1138,6 +1164,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1138
1164
|
}
|
|
1139
1165
|
},
|
|
1140
1166
|
installationId: {
|
|
1167
|
+
option: 'specify the installation ID',
|
|
1141
1168
|
prompt: "Enter the app's installation ID:",
|
|
1142
1169
|
errors: {
|
|
1143
1170
|
invalid: `Invalid installation ID. Run ${forge('install', 'list')} to see the installation IDs for the app.`,
|
|
@@ -1158,8 +1185,12 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1158
1185
|
confirmAllInstallations: 'This will uninstall the app from the listed contexts. Are you sure you want to continue?'
|
|
1159
1186
|
},
|
|
1160
1187
|
info: 'Uninstalling...',
|
|
1161
|
-
done: (product, domain, environment, isMulti) =>
|
|
1162
|
-
|
|
1188
|
+
done: (product, domain, environment, isMulti) => product === 'Ecosystem'
|
|
1189
|
+
? `${isMulti ? log_symbols_1.default.info : log_symbols_1.default.success} Uninstalled.`
|
|
1190
|
+
: `${isMulti ? log_symbols_1.default.info : log_symbols_1.default.success} Uninstalled from the ${(0, environment_1.environmentToOption)(environment)} environment in ${product} on ${buildTerminalLink(domain)}.`,
|
|
1191
|
+
failed: (product, domain, environment) => product === 'Ecosystem'
|
|
1192
|
+
? `Failed to uninstall the app. Try rerunning the command, or ask for help if you continue to see this error.`
|
|
1193
|
+
: `Failed to uninstall the app from the ${(0, environment_1.environmentToOption)(environment)} environment in ${product} on ${buildTerminalLink(domain)}. Try rerunning the command, or ask for help if you continue to see this error.`,
|
|
1163
1194
|
missingUninstallTask: `Cannot uninstall the app: something went wrong with starting the uninstall task.`,
|
|
1164
1195
|
uninstallBatchBanner: (remainingInstallations) => log_color_1.LogColor.warn(`${log_symbols_1.default.info} ${chalk_1.default.bold(`Batch uninstallations are limited to ${installations_1.MAX_BATCH_UNINSTALLS} per request and there ${remainingInstallations > 1 ? `are ${remainingInstallations} installations` : 'is 1 installation'} remaining. Run the command multiple times to perform more uninstallations`)}`),
|
|
1165
1196
|
uninstallBatchProductionError: `${log_symbols_1.default.error} ${chalk_1.default.bold('Batch uninstallations are not supported in production environments.')}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "8.23.0-next.
|
|
3
|
+
"version": "8.23.0-next.5",
|
|
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": "12.8.0-next.
|
|
15
|
+
"@forge/manifest": "12.8.0-next.4",
|
|
16
16
|
"@forge/util": "2.0.1",
|
|
17
17
|
"@forge/i18n": "0.0.7",
|
|
18
18
|
"@sentry/node": "7.106.0",
|