npm package diff
Package: @forge/cli-shared
Versions: 6.10.0-next.2 - 6.10.0-next.3
File: package/out/ui/text.js
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -635,8 +635,29 @@
warningMessage: (sourceVersionId, targetVersionId, installations) => `${chalk_1.default.bold('Warning:')} You are planning to move ${installations} installations from version ${sourceVersionId} to version ${targetVersionId}.`,
promptConfirmation: 'Do you want to continue?'
}
},
+ build: {
+ cmd: {
+ desc: 'build your app',
+ startNotice: `Building your app. \n${ctrlC}\n`,
+ start: 'Building your app...',
+ success: (buildTag) => `Build successful with build tag: ${buildTag}`
+ },
+ buildTag: {
+ description: 'specify a custom build tag for build',
+ error: {
+ invalidBuildTag: (maxLength) => `Build tag must be ${maxLength} characters or less`
+ }
+ },
+ 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`),
+ lintWarning: (numWarnings) => {
+ const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0);
+ return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
+ }
+ }
+ },
deploy: {
cmd: {
desc: 'deploy your app to an environment',
start1: (envKey, envType) => `Deploying your app to the ${exports.Text.env.displayEnvironment(envKey, envType)} environment.\n${ctrlC}\n`,