npm package diff
Package: @forge/cli-shared
Versions: 6.10.1-next.1-experimental-9b8de22-experimental-f8e4289 - 6.11.0-next.8
File: package/out/ui/text.js
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -109,8 +109,15 @@
`\nUnsupported Node.js versions are not guaranteed to work correctly.\n`),
deprecation: {
uikit: (modules) => {
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.`;
+ },
+ runtime: (runtimeName) => {
+ const changelogUrl = 'https://go.atlassian.com/forge-changelog';
+ const warningMessage = runtimeName === 'sandbox'
+ ? `The sandbox runtime is deprecated and will be removed in the future ${buildTerminalLink(`${changelogUrl}/#CHANGE-789`)}.`
+ : `The ${runtimeName} runtime is deprecated and will be removed in the future. Check ${buildTerminalLink(changelogUrl)} for more information on ${runtimeName} deprecation and removal dates.`;
+ return `${chalk_1.default.bold('Warning')}: ${warningMessage}`;
}
}
},
maxSizeOfUsersWithAccess: 10,
@@ -704,9 +711,11 @@
},
buildTag: {
description: 'specify a custom build tag for build',
error: {
- invalidBuildTag: (maxLength) => `Build tag must be ${maxLength} characters or less`
+ invalidBuildTag: (maxLength) => `Invalid build tag; tag must be ${maxLength} characters or less.`,
+ emptyBuildTag: 'Invalid build tag; tag cannot be empty.',
+ invalidBuildTagFormat: 'Invalid build tag; tag can only contain only letters, numbers, dashes, and underscores.'
}
},
taskLint: {
lintError: log_color_1.LogColor.error(`Error: The build failed due to errors in the app code. Fix the errors before rerunning ${forge('build')}, or run ${forge('build', '--no-verify')} to skip the linter.\n`),
@@ -714,8 +723,29 @@
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0);
return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
}
},
+ list: {
+ cmd: {
+ desc: 'list all build information'
+ },
+ limit: 'Specify a limit of builds to show',
+ listingBuilds: 'Showing all the current builds for your app:',
+ noBuildsFound: 'No builds found.',
+ expires: (hours) => {
+ if (hours <= 24)
+ return chalk_1.default.red('in 24 hours');
+ if (hours <= 48)
+ return chalk_1.default.yellow('in 48 hours');
+ return `in ${Math.floor(hours / 24)} days`;
+ },
+ error: {
+ emptyLimit: 'Limit cannot be empty',
+ invalidLimit: 'Limit must contain only numbers',
+ negativeLimit: 'Limit must be a positive number',
+ invalidNumber: 'Invalid number format'
+ }
+ },
manifestVariables: {
error: log_color_1.LogColor.error(`Error: Manifest environment variables are not supported for builds. Please remove the environment variables from your manifest.yml before rerunning ${forge('build')}.\n`)
}
},