npm package diff
Package: @forge/cli-shared
Versions: 8.2.0 - 8.3.0-next.0
File: package/out/ui/text.js
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -279,8 +279,41 @@
)} to try again.`
}
}
},
+ devSpace: {
+ fetching: 'Fetching your developer spaces...',
+ documentationLink: 'https://go.atlassian.com/some-link',
+ noSpacesFound: (documentationLink) => `You are not currently a member of a Developer Space. Please contact an admin to be added to an existing space or create a new one. To learn more about your Developer Space, go to: ${documentationLink}\n`,
+ selectPrompt: 'Select or create a Developer Space:',
+ createNewOption: 'Create a new Developer Space',
+ createContinuePrompt: 'Do you want to continue?',
+ createNewSpaceInfo: (documentationLink) => `\nA new Developer Space will now be created for you. To learn more about your Developer Space, go to: \n${documentationLink}`,
+ createMessage: '\nName your Developer Space. The name must be unique and can include dashes, spaces, and underscores.\n',
+ createPrompt: 'Enter a name for your Developer Space:',
+ nameRequired: 'Developer Space name is required.',
+ createInProgress: 'Creating your Developer Space...',
+ contributingToSpace: (name) => `${greenTick} You are contributing to this Developer Space: ${name}.\n`,
+ createdAndContributing: (name) => `A Developer Space has been created for you. You are contributing to this Developer Space: ${name}.`,
+ error: {
+ fetchOrSelect: (errorMessage) => `Failed to fetch or select developer space: ${errorMessage}`,
+ create: (errorMessage) => `Failed to create developer space: ${errorMessage}`,
+ selectedNotFound: 'Selected developer space not found',
+ nameAlreadyExists: chalk_1.default.red('\nError: The name you have entered for your developer space is already in use. Please choose a different name to ensure it is unique.')
+ },
+ terms: {
+ agreement: 'Please review the following agreement before continuing:\n',
+ checkbox: '[ ] By continuing, I agree to the Atlassian Developer Terms and the Privacy Policy.',
+ links: {
+ devTerms: ' - Developer Terms: https://developer.atlassian.com/platform/terms/',
+ privacy: ' - Privacy Policy: https://www.atlassian.com/legal/privacy-policy',
+ pricing: ' - https://developer.atlassian.com/platform/forge/forge-platform-pricing/'
+ },
+ pricing: (appName) => `\nIf ${chalk_1.default.cyan(appName)} exceeds the free usage allowance, I agree to be charged monthly for any excess usage based the then-current price above threshold.\n${exports.Text.devSpace.terms.links.pricing}`,
+ acceptPrompt: 'Do you accept?',
+ accepted: `\n${greenTick} Terms accepted. Continuing with app creation...`
+ }
+ },
register: {
intro: 'Registering the app to you.',
cmd: {
desc: "register an app you didn't create so you can run commands for it",
@@ -820,9 +853,9 @@
successfulDeployment: 'Deployment successful. Please note - indexing currently in progress.'
},
egressURL: {
error: (message) => {
- return `Invalid Egress permissions: ${message}\nLearn more at https://developer.atlassian.com/forge-content-security-and-egress-controls`;
+ return `Invalid Egress permissions: ${message}\nLearn more at https://developer.atlassian.com/platform/forge/add-content-security-and-egress-controls/`;
}
},
crossContext: {
enableError: `Unable to deploy a cross-context app to an environment with an existing installation in a context that is not the required context.\nRun ${chalk_1.default.bold('forge uninstall')} to uninstall your app from compatible contexts in this environment before retrying ${chalk_1.default.bold('forge deploy')}.`,