amplify-prompts
Advanced tools
Comparing version 2.6.4 to 2.6.5-generalconfig.0
@@ -9,3 +9,3 @@ ## API Report File for "amplify-prompts" | ||
import { IFlowData } from 'amplify-cli-shared-interfaces'; | ||
import { IFlowData } from '@aws-amplify/amplify-cli-shared-interfaces'; | ||
@@ -12,0 +12,0 @@ // @public (undocumented) |
@@ -6,2 +6,15 @@ # Change Log | ||
## [2.6.5-generalconfig.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-prompts@2.6.4...amplify-prompts@2.6.5-generalconfig.0) (2023-03-02) | ||
### Bug Fixes | ||
* limit the prompter list display options to 10 entries ([#12110](https://github.com/aws-amplify/amplify-cli/issues/12110)) ([53f7b4b](https://github.com/aws-amplify/amplify-cli/commit/53f7b4b57234e472c82e5913f2c0c7b72e8a8af5)) | ||
* merge conflicts and linting ([bdd9f42](https://github.com/aws-amplify/amplify-cli/commit/bdd9f420303872c14db80e38e91c03b627503801)) | ||
* reverting 5 commits to dev branch ([c54da9e](https://github.com/aws-amplify/amplify-cli/commit/c54da9eb69031bd665d50b6cd2dd8d3833c778bc)) | ||
## [2.6.4](https://github.com/aws-amplify/amplify-cli/compare/amplify-prompts@2.6.3...amplify-prompts@2.6.4) (2023-02-27) | ||
@@ -8,0 +21,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { IFlowData } from 'amplify-cli-shared-interfaces'; | ||
import { IFlowData } from '@aws-amplify/amplify-cli-shared-interfaces'; | ||
import { Validator } from './validators'; | ||
@@ -3,0 +3,0 @@ export declare const prompter: Prompter; |
@@ -175,2 +175,3 @@ "use strict"; | ||
({ result } = await this.prompter({ | ||
limit: 10, | ||
actions, | ||
@@ -177,0 +178,0 @@ footer: opts.returnSize === 'many' ? chalk_1.default.gray('(Use <space> to select, <ctrl + a> to toggle all)') : undefined, |
{ | ||
"name": "amplify-prompts", | ||
"version": "2.6.4", | ||
"version": "2.6.5-generalconfig.0", | ||
"description": "Utility functions for Amplify CLI terminal I/O", | ||
@@ -30,3 +30,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"amplify-cli-shared-interfaces": "1.1.2", | ||
"@aws-amplify/amplify-cli-shared-interfaces": "1.2.0-generalconfig.0", | ||
"chalk": "^4.1.1", | ||
@@ -57,3 +57,3 @@ "enquirer": "^2.3.6" | ||
}, | ||
"gitHead": "db41d4d4c682ef0c2ced02113c83d03af3ba6759" | ||
"gitHead": "a584c4e6243d63e149116f8ab42700cd26be14e7" | ||
} |
@@ -13,3 +13,3 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
import chalk from 'chalk'; | ||
import { IFlowData } from 'amplify-cli-shared-interfaces'; | ||
import { IFlowData } from '@aws-amplify/amplify-cli-shared-interfaces'; | ||
import { isYes, isInteractiveShell } from './flags'; | ||
@@ -247,2 +247,6 @@ import { Validator } from './validators'; | ||
({ result } = await this.prompter<{ result: RS extends 'many' ? string[] : string }>({ | ||
// limit is not part of the TS interface but it's part of the JS API | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
limit: 10, | ||
// actions is not part of the TS interface but it's part of the JS API | ||
@@ -249,0 +253,0 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment |
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
264553
3170
1
+ Added@aws-amplify/amplify-cli-shared-interfaces@1.2.0-generalconfig.0
+ Added@aws-amplify/amplify-cli-shared-interfaces@1.2.0-generalconfig.0(transitive)
- Removedamplify-cli-shared-interfaces@1.1.2
- Removedamplify-cli-shared-interfaces@1.1.2(transitive)