@forge/cli-shared 8.8.1-next.4-experimental-44e92a2 → 8.8.1-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 +3 -12
- package/out/graphql/graphql-types.d.ts +1 -145
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +0 -2
- package/out/ui/text.d.ts +5 -6
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +8 -15
- package/package.json +3 -3
|
@@ -6508,7 +6508,6 @@ var JiraIssueViewActivityLayout;
|
|
|
6508
6508
|
})(JiraIssueViewActivityLayout = exports.JiraIssueViewActivityLayout || (exports.JiraIssueViewActivityLayout = {}));
|
|
6509
6509
|
var JiraIssueViewAttachmentPanelViewMode;
|
|
6510
6510
|
(function (JiraIssueViewAttachmentPanelViewMode) {
|
|
6511
|
-
JiraIssueViewAttachmentPanelViewMode["GridView"] = "GRID_VIEW";
|
|
6512
6511
|
JiraIssueViewAttachmentPanelViewMode["ListView"] = "LIST_VIEW";
|
|
6513
6512
|
JiraIssueViewAttachmentPanelViewMode["StripView"] = "STRIP_VIEW";
|
|
6514
6513
|
})(JiraIssueViewAttachmentPanelViewMode = exports.JiraIssueViewAttachmentPanelViewMode || (exports.JiraIssueViewAttachmentPanelViewMode = {}));
|
|
@@ -7172,7 +7171,6 @@ var JiraResourceIntegration;
|
|
|
7172
7171
|
JiraResourceIntegration["Attachment"] = "ATTACHMENT";
|
|
7173
7172
|
JiraResourceIntegration["Confluence"] = "CONFLUENCE";
|
|
7174
7173
|
JiraResourceIntegration["Loom"] = "LOOM";
|
|
7175
|
-
JiraResourceIntegration["Whiteboard"] = "WHITEBOARD";
|
|
7176
7174
|
})(JiraResourceIntegration = exports.JiraResourceIntegration || (exports.JiraResourceIntegration = {}));
|
|
7177
7175
|
var JiraResourceParentName;
|
|
7178
7176
|
(function (JiraResourceParentName) {
|
package/out/ui/text.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export declare const Text: {
|
|
|
29
29
|
invalidWorkspace: string;
|
|
30
30
|
invalidInstallationContext: string;
|
|
31
31
|
invalidTokenInKeytar: string;
|
|
32
|
-
invalidUpgradeTarget: string;
|
|
33
32
|
invalidTokenInEnv: (instructionsUrl: string, emailVar: string, tokenVar: string) => string;
|
|
34
33
|
promptInputRequired: string;
|
|
35
34
|
noExecutableFile: string;
|
|
@@ -78,7 +77,7 @@ export declare const Text: {
|
|
|
78
77
|
promptWorkspace: string;
|
|
79
78
|
};
|
|
80
79
|
upgradeContext: {
|
|
81
|
-
overview:
|
|
80
|
+
overview: string;
|
|
82
81
|
promptInstallation: string;
|
|
83
82
|
};
|
|
84
83
|
optionSite: string;
|
|
@@ -738,6 +737,7 @@ export declare const Text: {
|
|
|
738
737
|
permissionsDeniedInstructions: (requestId: string, appId: string) => string;
|
|
739
738
|
appendRequestIdToErrorMessage: (message: string | undefined, requestId: string) => string;
|
|
740
739
|
majorVersionNotFound: string;
|
|
740
|
+
majorVersionAndUpgrade: string;
|
|
741
741
|
};
|
|
742
742
|
failedAll: (site: URL, environment: string) => string;
|
|
743
743
|
security: {
|
|
@@ -772,12 +772,12 @@ export declare const Text: {
|
|
|
772
772
|
end: (displayTick: boolean) => string;
|
|
773
773
|
error: string;
|
|
774
774
|
};
|
|
775
|
-
listScopes: (scopes: ListScope[]
|
|
776
|
-
listEgressAddresses: (egressAddresses: string[]
|
|
775
|
+
listScopes: (scopes: ListScope[]) => string;
|
|
776
|
+
listEgressAddresses: (egressAddresses: string[]) => string;
|
|
777
777
|
permissionsMismatch: (environment: string) => string;
|
|
778
778
|
promptForPermissionsConfirmation: (permissionsMismatchInDevelopment: boolean) => string;
|
|
779
779
|
success: {
|
|
780
|
-
banner: (envKey: string, envType: AppEnvironmentType, product: string, site: string
|
|
780
|
+
banner: (envKey: string, envType: AppEnvironmentType, product: string, site: string) => string;
|
|
781
781
|
};
|
|
782
782
|
alreadyUpdated: {
|
|
783
783
|
spinnerSite: string;
|
|
@@ -786,7 +786,6 @@ export declare const Text: {
|
|
|
786
786
|
};
|
|
787
787
|
error: {
|
|
788
788
|
serverSideInstallationError: (message: string) => string;
|
|
789
|
-
decoupledStateNotEnabled: (requestId?: string) => string;
|
|
790
789
|
};
|
|
791
790
|
};
|
|
792
791
|
installList: {
|
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,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAErC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAsBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjE;AAKD,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAoDjG,eAAO,MAAM,IAAI;8BA3EgB,MAAM;eAGrB,MAAM;;;;;6BAuFD,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;qDAOT,MAAM,sBAAsB,MAAM;;wCAO/C,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;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qB1D,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0BD,MAAM;;;wCAGN,MAAM;;;;;;;0CAOJ,MAAM;;;;;;;;;;;;;qCAaX,MAAM;;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;0CAsBI,MAAM,eAAe,MAAM;uCAE9B,MAAM;2CAEF,MAAM;;;;;;;;;;;;6CAYJ,MAAM;gDACH,MAAM,eAAe,MAAM;kDAEzB,MAAM,aAAa,MAAM,eAAe,MAAM;mDAE7C,MAAM,eAAe,MAAM;8CAEhC,MAAM;yDACK,MAAM,WAAW,MAAM,eAAe,MAAM;;;;yBAM1E,MAAM,WAAW,MAAM;;;;qCAMb,MAAM;qCACN,MAAM,gBAAgB,OAAO;;;yCAMzB,MAAM;qCACV,MAAM;;;;;;;;;;;;;;;;+BAwBZ,MAAM,SAAS,MAAM;;;;;;;;;;;;;;;;;;;;;iCAuBjB,MAAM;;;;;;;;6CAUI,MAAM,mBAAmB,MAAM,EAAE;;;;;;;iCAc7C,MAAM,YAAY,MAAM;;;;;;;;CAUlD,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -74,7 +74,6 @@ exports.Text = {
|
|
|
74
74
|
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
75
|
invalidInstallationContext: 'Could not find an installation for the provided Atlassian app',
|
|
76
76
|
invalidTokenInKeytar: `Your API token is no longer valid. Run ${forge('login')} to reset your login credentials.`,
|
|
77
|
-
invalidUpgradeTarget: 'You must specify either "all" or "code" as the upgrade target.',
|
|
78
77
|
invalidTokenInEnv: (instructionsUrl, emailVar, tokenVar) => `The API token on your machine is no longer valid.` +
|
|
79
78
|
`\n 1) Get a new API token: ${instructionsUrl}` +
|
|
80
79
|
`\n 2) Set your email and the token to ${emailVar} and ${tokenVar} environment variables.`,
|
|
@@ -128,13 +127,7 @@ exports.Text = {
|
|
|
128
127
|
promptWorkspace: 'Enter the workspace URL:'
|
|
129
128
|
},
|
|
130
129
|
upgradeContext: {
|
|
131
|
-
overview:
|
|
132
|
-
const upgradeType = isCodeUpgrade ? 'code' : 'code and scopes';
|
|
133
|
-
if (version && !isLatest) {
|
|
134
|
-
return `To upgrade your app to use the ${upgradeType} from version ${version}, select it from the list.\n${ctrlC}`;
|
|
135
|
-
}
|
|
136
|
-
return `To upgrade your app to use the latest ${upgradeType}, select it from the list.\n${ctrlC}`;
|
|
137
|
-
},
|
|
130
|
+
overview: `To upgrade your app to use the latest scopes, select it from the list.\n${ctrlC}`,
|
|
138
131
|
promptInstallation: 'Select the site or workspace to upgrade:'
|
|
139
132
|
},
|
|
140
133
|
optionSite: 'site URL (example.atlassian.net)',
|
|
@@ -900,7 +893,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
900
893
|
majorVersionIsNotLatest: (versionToInstall) => `WARNING: You are about to install a previous version of the app. (${versionToInstall})`,
|
|
901
894
|
devAppInstallConfirm: `Are you sure you want to proceed?`,
|
|
902
895
|
optionConfirmScopes: 'skip confirmation of scopes for the app before installing or upgrading the app',
|
|
903
|
-
optionUpgrade: 'upgrade an existing installation
|
|
896
|
+
optionUpgrade: 'upgrade an existing installation',
|
|
904
897
|
optionLicense: 'specify the license value for the app (allowed values: active, standard, advanced, inactive, and trial)',
|
|
905
898
|
optionLicenseModes: 'specify the list of license mode value for the app (allowed values: user-access)',
|
|
906
899
|
optionUsersWithAccess: 'specify the list of Atlassian Account IDs(aaid) for users who have access to the app',
|
|
@@ -939,7 +932,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
939
932
|
'in the developer console and share it with the site admin: ' +
|
|
940
933
|
`https://developer.atlassian.com/console/myapps/${appId}/distribution`,
|
|
941
934
|
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}`,
|
|
942
|
-
majorVersionNotFound: 'The major version you specified does not exist. Check the version number and try again.'
|
|
935
|
+
majorVersionNotFound: 'The major version you specified does not exist. Check the version number and try again.',
|
|
936
|
+
majorVersionAndUpgrade: 'Cannot use the major version flag with the upgrade flag'
|
|
943
937
|
},
|
|
944
938
|
failedAll: (site, environment) => `Your app in ${(0, environment_1.environmentToOption)(environment)} was not installed on any Atlassian apps on ${chalk_1.default.bold(site)}.`,
|
|
945
939
|
security: {
|
|
@@ -986,16 +980,16 @@ ${buildTerminalLink(link)}\n`,
|
|
|
986
980
|
end: (displayTick) => `${displayTick ? greenTick + ' ' : ''}Upgrade complete!`,
|
|
987
981
|
error: `Upgrade failed`
|
|
988
982
|
},
|
|
989
|
-
listScopes: (scopes
|
|
983
|
+
listScopes: (scopes) => `Your app will be upgraded with the following additional scopes:\n${scopes
|
|
990
984
|
.map(({ name, requiresInteractiveConsent }) => `- ${name}${requiresInteractiveConsent ? ' (requires user consent)' : ''}`)
|
|
991
985
|
.join('\n')}\n`,
|
|
992
|
-
listEgressAddresses: (egressAddresses
|
|
986
|
+
listEgressAddresses: (egressAddresses) => `Your app will exchange data with the following urls:\n${egressAddresses.map((url) => `- ${url}`).join('\n')}\n`,
|
|
993
987
|
permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${(0, environment_1.environmentToOption)(environment)}. Try running ${forge('deploy', '-e', (0, environment_1.environmentToOption)(environment))} before upgrading.\n`,
|
|
994
988
|
promptForPermissionsConfirmation: (permissionsMismatchInDevelopment) => permissionsMismatchInDevelopment
|
|
995
989
|
? 'Are you sure you want to continue upgrading the app?'
|
|
996
990
|
: 'Do you want to continue?',
|
|
997
991
|
success: {
|
|
998
|
-
banner: (envKey, envType, product, site
|
|
992
|
+
banner: (envKey, envType, product, site) => `Your app in the ${exports.Text.env.displayEnvironment(envKey, envType)} environment is now the latest in ${product} on ${buildTerminalLink(site)}.`
|
|
999
993
|
},
|
|
1000
994
|
alreadyUpdated: {
|
|
1001
995
|
spinnerSite: 'Site is already at the latest version',
|
|
@@ -1003,8 +997,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1003
997
|
banner: (environment, product, site) => `\nYour app in the ${(0, environment_1.environmentToOption)(environment)} environment is at the latest in ${product} on ${buildTerminalLink(site)}.`
|
|
1004
998
|
},
|
|
1005
999
|
error: {
|
|
1006
|
-
serverSideInstallationError: (message) => `Upgrade error: ${message}
|
|
1007
|
-
decoupledStateNotEnabled: (requestId) => `The specified version is not eligible for a code-only upgrade${requestId ? ` (requestId: ${requestId})` : ''}.`
|
|
1000
|
+
serverSideInstallationError: (message) => `Upgrade error: ${message}`
|
|
1008
1001
|
}
|
|
1009
1002
|
},
|
|
1010
1003
|
installList: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "8.8.1-next.
|
|
3
|
+
"version": "8.8.1-next.5",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "10.8.0-next.
|
|
16
|
-
"@forge/util": "2.0.1-next.0
|
|
15
|
+
"@forge/manifest": "10.8.0-next.5",
|
|
16
|
+
"@forge/util": "2.0.1-next.0",
|
|
17
17
|
"@forge/i18n": "0.0.7",
|
|
18
18
|
"@sentry/node": "7.106.0",
|
|
19
19
|
"adm-zip": "^0.5.10",
|