amplify-prompts
Advanced tools
Comparing version 2.6.0 to 2.6.1-double-hooks.0
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.6.1-double-hooks.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-prompts@2.6.0...amplify-prompts@2.6.1-double-hooks.0) (2022-11-03) | ||
**Note:** Version bump only for package amplify-prompts | ||
# [2.6.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-prompts@2.5.0...amplify-prompts@2.6.0) (2022-10-13) | ||
@@ -8,0 +16,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isHeadless = exports.isInteractiveShell = exports.isYes = exports.isSilent = exports.isDebug = void 0; | ||
exports.isDebug = process.argv.includes('--debug'); | ||
exports.isDebug = process.argv.includes('--debug') || process.env.AMPLIFY_ENABLE_DEBUG_OUTPUT === 'true'; | ||
exports.isSilent = process.argv.includes('--silent'); | ||
@@ -6,0 +6,0 @@ exports.isYes = !!['--yes', '-y'].find(yesFlag => process.argv.includes(yesFlag)); |
@@ -8,2 +8,3 @@ export * from './formatter'; | ||
export * from './progressbars/spinner'; | ||
export * from './flags'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./progressbars/spinner"), exports); | ||
__exportStar(require("./flags"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "amplify-prompts", | ||
"version": "2.6.0", | ||
"version": "2.6.1-double-hooks.0", | ||
"description": "Utility functions for Amplify CLI terminal I/O", | ||
@@ -52,3 +52,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "c4f1e5f3b3dc4e92ccc4561610fa00beac7b3a1f" | ||
"gitHead": "f6e14c39e8c83c74380f3642e93abb22c8a8e3ab" | ||
} |
/** | ||
* If this flag is set, debug messages will be printed. | ||
*/ | ||
export const isDebug = process.argv.includes('--debug'); | ||
export const isDebug = process.argv.includes('--debug') || process.env.AMPLIFY_ENABLE_DEBUG_OUTPUT === 'true'; | ||
/** | ||
@@ -7,0 +6,0 @@ * If this flag is set, only warn and error messages will be printed. |
@@ -7,2 +7,3 @@ export * from './formatter'; | ||
export * from './progressbars/multibar'; | ||
export * from './progressbars/spinner'; | ||
export * from './progressbars/spinner'; | ||
export * from './flags'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
250183
3126
1