@forge/cli-shared
9.3.09.3.1-next.0
out/ui/text.js~
out/ui/text.jsModified+13−7
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -831,15 +831,8 @@
emptyBuildTag: 'Invalid build tag; tag cannot be empty.',
invalidBuildTagFormat: 'Invalid build tag; tags are case-insensitive and must start with a letter or number and can only contain alphanumeric characters, underscores, hyphens, and periods.'
}
},
- 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, 0);
- return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
- }
- },
list: {
cmd: {
desc: 'list builds for your app'
},
@@ -853,8 +846,20 @@
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`)
}
},
+ buildDeploy: {
+ inspect: {
+ description: 'save application bundle for inspection'
+ },
+ taskLint: {
+ lintError: (cmd) => log_color_1.LogColor.error(`Error: The ${cmd} failed due to errors in the app code. Fix the errors before rerunning ${forge(cmd)}, or run ${forge(cmd, '--no-verify')} to skip the linter.\n`),
+ lintWarning: (numWarnings) => {
+ const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 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, buildTag) => {
@@ -926,8 +931,9 @@
},
taskPackage: {
title: 'Packaging app files',
packageBundledFiles: 'Packaging bundled files',
+ inspectOutputPath: (inspectDirectory) => `Application bundle has been copied to ${chalk_1.default.bold(inspectDirectory)} for inspection`,
packageFile: (fileName, filePath) => `File added to archive: ${fileName || '.'}${filePath ? `, from ${filePath}` : ''}`,
archiveCreated: (archivePath) => `Archive created: ${archivePath}`,
invalidArchivePath: (fileName) => `Invalid archive path "${fileName}"`
},