-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: revamp help command #11667
feat: revamp help command #11667
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #11667 +/- ##
==========================================
- Coverage 50.24% 50.10% -0.14%
==========================================
Files 705 705
Lines 34076 34216 +140
Branches 6997 7038 +41
==========================================
+ Hits 17120 17145 +25
- Misses 15476 15580 +104
- Partials 1480 1491 +11
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
packages/amplify-category-analytics/src/commands/analytics/help.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small comments, but overall LGTM!
packages/amplify-category-analytics/src/commands/analytics/help.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending passing e2e run
Here is a passing E2E run (it's not showing in the PR checks): https://app.circleci.com/pipelines/github/aws-amplify/amplify-cli/14245/workflows/39b40d3b-96d2-4b3b-abd9-a7d0b0b12527 |
|
||
describe('amplify help functions: ', () => { | ||
printer.info = jest.fn(); | ||
const mockCommandsInfo: Array<CommandInfo> = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since commandsInfo
is an exported constant in packages/amplify-cli-core/src/help/commands-info.ts
, do we need to mock this? Can we just use the actual constant value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your feedback. I think that it is a good idea to mock it so that these tests remain independent of the actual data in commandsInfo, which could change over time as features are added to or removed from the CLI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 tiny nit, but LGTM
* feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation)
* chore: Persist cfn exceptions in usage metrics * Add a tab between different cfn error messages * refactor filtering the stacks with error * build(deps): bump json5 from 1.0.1 to 1.0.2 (#11697) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: fix cleanup script throttling (#11716) * ci: update cleanup script to reduce throttling * chore: add extract api file * ci: fix condition * chore: cleanup * chore: add back logs * chore: move cleanup to start to avoid deleting apps while running * chore: update cleanup script * chore: revert build change * chore: fix md file * chore: cleanup * chore: address pr feedback * chore: comments * chore: refactor * chore: fix lint issues * chore: feature flag for Lazy Loading and Custom Selection Set support (#11566) * chore: feature flag for iOS LazyReference and ModelPath support * update FF naming * chore: add debug command to all e2e tests * fix: status command with --debug flag * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * fix(global-prefix): remove global-prefix package (#11408) * fix: update prepush hook to clean and rebuild before running verify extract api (#11753) * chore: add codeql scanning (#11518) * chore: add codeql scanning * fix: added quality scan to codeql * fix: make prompter multi-select indicator more distinct (#11742) * Convert back to async method * Add some method comments * fix type in the comments Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: awsluja <[email protected]> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: MorCohenAres <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: Edward Foyle <[email protected]>
* chore: migrate custom category from inquirer to prompter library * chore: Replace inquirer with amplify-prompts in amplify-category-analytics package * fix: custom category prompter tests * refactor: clean up dependencies in package.json, update messaging in pinpoing-walktrhough, update e2e tests for kinesis and pinpoint prompts * chore: bump codegen version * test: update snapshot after codegen version change * chore: bump api category dependencies to @aws-amplify/[email protected] * fix: cfn ambda outputs when forcePush flag is used * fix: add to migration test list * fix: address comments * fix: removes git clone windows test * chore: removes redundant import * fix: revert windows test * fix: extract api call * fix: set NoEcho flag on OAuth creds CFN param * chore(release): Publish latest [ci skip] - [email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] * ci: e2e multi-core optimizations (#11685) * ci: migrated to new test strategy * chore: add other tests and migration too * chore: cleanup * chore: cleanup * chore: cleanup unused e2e tests * chore: remove generated file * chore: remove parallelization blocker * chore: force parallel runs * chore: cleanup test list * chore: disable retries and cleanup exclusions * chore: bump test count to fill gaps * chore: move random id earlier in project name * chore: update yarn version * chore: fix typo * chore: try to fix delete issues * chore: fix teardown on delete error * ci: create custom file system mutex * chore: cleanup logs * ci: increase randomness of initial lock creation * chore: move migration tests to small isolated vms * chore: adjust concurrency * chore: update naming * ci: update reporter to better handle concurrent tests * ci: add use parent account exceptions * chore: cleanup naming, fix windows artifacts * chore: use data to optimize test scheduling * chore: cleanup * chore: cleanup * chore: fix call flow * chore: workaround duplicate spinner bugs * ci: split api_2 test * chore: increase push timeout * ci: add method to run solo tests * ci: configure retries compatible with worker pools * ci: workaround concurrent polling limits * chore: fix bug with solo tests * chore: move import & geo tests to run solo * chore: add artifact scripts * chore: trigger workflow results * ci: fix artifact path * chore: cleanup * chore: add timer spy * ci: update test lists * chore: cleanup * ci: fix retries * ci: move delays to createProjectDir * ci: use same script for e2e as linux on windows * chore: split storage-1 test * ci: fix config * ci: add bash env * ci: reduce timeout on push * ci: update test lists * ci: update test lists * ci: lower timeout and enable concurrent migration testing * ci: update test list * ci: restructure migration test setups * ci: cleanup to use file names instead of old job names * chore: refactor * ci: fix dependencies * ci: attempt to fix retry on windows * chore: revert retry changes * chore: undo changes to addCircleCiTags * chore: address PR feedback * chore: undo changes to spinners * chore: cleanup unused files * chore: lint & formatting * chore: lint, remove unused import * chore: undo changes to initialize-env.ts * chore: removed overly complicated and confusing logic in pinpoint walkthrough * ci: windows smoke test list (#11797) * ci: migrated to new test strategy * chore: add other tests and migration too * chore: cleanup * chore: cleanup * chore: cleanup unused e2e tests * chore: remove generated file * chore: remove parallelization blocker * chore: force parallel runs * chore: cleanup test list * chore: disable retries and cleanup exclusions * chore: bump test count to fill gaps * chore: move random id earlier in project name * chore: update yarn version * chore: fix typo * chore: try to fix delete issues * chore: fix teardown on delete error * ci: create custom file system mutex * chore: cleanup logs * ci: increase randomness of initial lock creation * chore: move migration tests to small isolated vms * chore: adjust concurrency * chore: update naming * ci: update reporter to better handle concurrent tests * ci: add use parent account exceptions * chore: cleanup naming, fix windows artifacts * chore: use data to optimize test scheduling * chore: cleanup * chore: cleanup * chore: fix call flow * chore: workaround duplicate spinner bugs * ci: split api_2 test * chore: increase push timeout * ci: add method to run solo tests * ci: configure retries compatible with worker pools * ci: workaround concurrent polling limits * chore: fix bug with solo tests * chore: move import & geo tests to run solo * chore: add artifact scripts * chore: trigger workflow results * ci: fix artifact path * chore: cleanup * chore: add timer spy * ci: update test lists * chore: cleanup * ci: fix retries * ci: move delays to createProjectDir * ci: use same script for e2e as linux on windows * chore: split storage-1 test * ci: fix config * ci: add bash env * ci: reduce timeout on push * ci: update test lists * ci: update test lists * ci: lower timeout and enable concurrent migration testing * ci: update test list * ci: restructure migration test setups * ci: cleanup to use file names instead of old job names * chore: refactor * ci: fix dependencies * ci: attempt to fix retry on windows * chore: revert retry changes * chore: undo changes to addCircleCiTags * chore: address PR feedback * chore: undo changes to spinners * chore: cleanup unused files * chore: lint & formatting * chore: lint, remove unused import * chore: undo changes to initialize-env.ts * ci: windows smoke test list for non-dev branches * chore: remove verify-api pre-push hook (#11799) * fix: remove production env variable from amplify script execution * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: test timeouts on simulator tests (#11804) * ci: fix staleness filters (#11801) * ci: fix staleness filters * ci: only delete stale apps & stacks * chore: refactor * chore: migrate interactions category from inquirer to prompter library * fix: default values for interactions prompter * chore: addressed PR feedback * chore: addressed PR feedback * chore: Persist downstream exceptions in usage metrics (#11711) * chore: Persist downstream exceptions in usage metrics * fix variable name case * chore: Populate cfn exceptions messages in AmplifyFault (#11764) * chore: Persist cfn exceptions in usage metrics * Add a tab between different cfn error messages * refactor filtering the stacks with error * build(deps): bump json5 from 1.0.1 to 1.0.2 (#11697) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: fix cleanup script throttling (#11716) * ci: update cleanup script to reduce throttling * chore: add extract api file * ci: fix condition * chore: cleanup * chore: add back logs * chore: move cleanup to start to avoid deleting apps while running * chore: update cleanup script * chore: revert build change * chore: fix md file * chore: cleanup * chore: address pr feedback * chore: comments * chore: refactor * chore: fix lint issues * chore: feature flag for Lazy Loading and Custom Selection Set support (#11566) * chore: feature flag for iOS LazyReference and ModelPath support * update FF naming * chore: add debug command to all e2e tests * fix: status command with --debug flag * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * fix(global-prefix): remove global-prefix package (#11408) * fix: update prepush hook to clean and rebuild before running verify extract api (#11753) * chore: add codeql scanning (#11518) * chore: add codeql scanning * fix: added quality scan to codeql * fix: make prompter multi-select indicator more distinct (#11742) * Convert back to async method * Add some method comments * fix type in the comments Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: awsluja <[email protected]> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: MorCohenAres <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: Edward Foyle <[email protected]> * chore: addressed PR feedback * chore: script to allow simple collection of coverage from all projects (#11798) * chore: add coverage collection script for local unit tests runs * fix: remove unused import * fix: updated dev dependencies * fix: added file level doc, filtered out unwanted coverage on e2e, lib, and test files * fix: more descriptive filename for the script * chore: addressed PR feedback * fix: prompt string to match e2e (#11816) Co-authored-by: Akshay Upadhyay <[email protected]> * chore: correctly filter failed cfn events for displaying error messages (#11815) * chore: do not filter AWS::CloudFormation::Stack type failure events if they have valid error message * Update packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: kuhlmanp <[email protected]> Co-authored-by: phani-srikar <[email protected]> Co-authored-by: Al Harris <[email protected]> Co-authored-by: Akshay Upadhyay <[email protected]> Co-authored-by: Edward Foyle <[email protected]> Co-authored-by: aws-amplify-bot <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: Danielle Adams <[email protected]> Co-authored-by: awsluja <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: MorCohenAres <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: akshbhu <[email protected]>
* chore: migrate custom category from inquirer to prompter library * chore: Replace inquirer with amplify-prompts in amplify-category-analytics package * fix: custom category prompter tests * refactor: clean up dependencies in package.json, update messaging in pinpoing-walktrhough, update e2e tests for kinesis and pinpoint prompts * chore: bump codegen version * test: update snapshot after codegen version change * chore: bump api category dependencies to @aws-amplify/[email protected] * fix: cfn ambda outputs when forcePush flag is used * fix: add to migration test list * fix: address comments * fix: removes git clone windows test * chore: removes redundant import * fix: revert windows test * fix: extract api call * fix: set NoEcho flag on OAuth creds CFN param * chore(release): Publish latest [ci skip] - [email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] - [email protected] - [email protected] - [email protected] - @aws-amplify/[email protected] * ci: e2e multi-core optimizations (#11685) * ci: migrated to new test strategy * chore: add other tests and migration too * chore: cleanup * chore: cleanup * chore: cleanup unused e2e tests * chore: remove generated file * chore: remove parallelization blocker * chore: force parallel runs * chore: cleanup test list * chore: disable retries and cleanup exclusions * chore: bump test count to fill gaps * chore: move random id earlier in project name * chore: update yarn version * chore: fix typo * chore: try to fix delete issues * chore: fix teardown on delete error * ci: create custom file system mutex * chore: cleanup logs * ci: increase randomness of initial lock creation * chore: move migration tests to small isolated vms * chore: adjust concurrency * chore: update naming * ci: update reporter to better handle concurrent tests * ci: add use parent account exceptions * chore: cleanup naming, fix windows artifacts * chore: use data to optimize test scheduling * chore: cleanup * chore: cleanup * chore: fix call flow * chore: workaround duplicate spinner bugs * ci: split api_2 test * chore: increase push timeout * ci: add method to run solo tests * ci: configure retries compatible with worker pools * ci: workaround concurrent polling limits * chore: fix bug with solo tests * chore: move import & geo tests to run solo * chore: add artifact scripts * chore: trigger workflow results * ci: fix artifact path * chore: cleanup * chore: add timer spy * ci: update test lists * chore: cleanup * ci: fix retries * ci: move delays to createProjectDir * ci: use same script for e2e as linux on windows * chore: split storage-1 test * ci: fix config * ci: add bash env * ci: reduce timeout on push * ci: update test lists * ci: update test lists * ci: lower timeout and enable concurrent migration testing * ci: update test list * ci: restructure migration test setups * ci: cleanup to use file names instead of old job names * chore: refactor * ci: fix dependencies * ci: attempt to fix retry on windows * chore: revert retry changes * chore: undo changes to addCircleCiTags * chore: address PR feedback * chore: undo changes to spinners * chore: cleanup unused files * chore: lint & formatting * chore: lint, remove unused import * chore: undo changes to initialize-env.ts * chore: removed overly complicated and confusing logic in pinpoint walkthrough * ci: windows smoke test list (#11797) * ci: migrated to new test strategy * chore: add other tests and migration too * chore: cleanup * chore: cleanup * chore: cleanup unused e2e tests * chore: remove generated file * chore: remove parallelization blocker * chore: force parallel runs * chore: cleanup test list * chore: disable retries and cleanup exclusions * chore: bump test count to fill gaps * chore: move random id earlier in project name * chore: update yarn version * chore: fix typo * chore: try to fix delete issues * chore: fix teardown on delete error * ci: create custom file system mutex * chore: cleanup logs * ci: increase randomness of initial lock creation * chore: move migration tests to small isolated vms * chore: adjust concurrency * chore: update naming * ci: update reporter to better handle concurrent tests * ci: add use parent account exceptions * chore: cleanup naming, fix windows artifacts * chore: use data to optimize test scheduling * chore: cleanup * chore: cleanup * chore: fix call flow * chore: workaround duplicate spinner bugs * ci: split api_2 test * chore: increase push timeout * ci: add method to run solo tests * ci: configure retries compatible with worker pools * ci: workaround concurrent polling limits * chore: fix bug with solo tests * chore: move import & geo tests to run solo * chore: add artifact scripts * chore: trigger workflow results * ci: fix artifact path * chore: cleanup * chore: add timer spy * ci: update test lists * chore: cleanup * ci: fix retries * ci: move delays to createProjectDir * ci: use same script for e2e as linux on windows * chore: split storage-1 test * ci: fix config * ci: add bash env * ci: reduce timeout on push * ci: update test lists * ci: update test lists * ci: lower timeout and enable concurrent migration testing * ci: update test list * ci: restructure migration test setups * ci: cleanup to use file names instead of old job names * chore: refactor * ci: fix dependencies * ci: attempt to fix retry on windows * chore: revert retry changes * chore: undo changes to addCircleCiTags * chore: address PR feedback * chore: undo changes to spinners * chore: cleanup unused files * chore: lint & formatting * chore: lint, remove unused import * chore: undo changes to initialize-env.ts * ci: windows smoke test list for non-dev branches * chore: remove verify-api pre-push hook (#11799) * fix: remove production env variable from amplify script execution * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: do not overload NODE_ENV env parameter for usage data filtering * fix: test timeouts on simulator tests (#11804) * ci: fix staleness filters (#11801) * ci: fix staleness filters * ci: only delete stale apps & stacks * chore: refactor * chore: migrate interactions category from inquirer to prompter library * fix: default values for interactions prompter * chore: addressed PR feedback * chore: addressed PR feedback * chore: Persist downstream exceptions in usage metrics (#11711) * chore: Persist downstream exceptions in usage metrics * fix variable name case * chore: Populate cfn exceptions messages in AmplifyFault (#11764) * chore: Persist cfn exceptions in usage metrics * Add a tab between different cfn error messages * refactor filtering the stacks with error * build(deps): bump json5 from 1.0.1 to 1.0.2 (#11697) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: fix cleanup script throttling (#11716) * ci: update cleanup script to reduce throttling * chore: add extract api file * ci: fix condition * chore: cleanup * chore: add back logs * chore: move cleanup to start to avoid deleting apps while running * chore: update cleanup script * chore: revert build change * chore: fix md file * chore: cleanup * chore: address pr feedback * chore: comments * chore: refactor * chore: fix lint issues * chore: feature flag for Lazy Loading and Custom Selection Set support (#11566) * chore: feature flag for iOS LazyReference and ModelPath support * update FF naming * chore: add debug command to all e2e tests * fix: status command with --debug flag * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * fix(global-prefix): remove global-prefix package (#11408) * fix: update prepush hook to clean and rebuild before running verify extract api (#11753) * chore: add codeql scanning (#11518) * chore: add codeql scanning * fix: added quality scan to codeql * fix: make prompter multi-select indicator more distinct (#11742) * Convert back to async method * Add some method comments * fix type in the comments Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: awsluja <[email protected]> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: MorCohenAres <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: Edward Foyle <[email protected]> * chore: addressed PR feedback * chore: script to allow simple collection of coverage from all projects (#11798) * chore: add coverage collection script for local unit tests runs * fix: remove unused import * fix: updated dev dependencies * fix: added file level doc, filtered out unwanted coverage on e2e, lib, and test files * fix: more descriptive filename for the script * chore: addressed PR feedback * fix: prompt string to match e2e (#11816) Co-authored-by: Akshay Upadhyay <[email protected]> * chore: correctly filter failed cfn events for displaying error messages (#11815) * chore: do not filter AWS::CloudFormation::Stack type failure events if they have valid error message * Update packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: kuhlmanp <[email protected]> Co-authored-by: phani-srikar <[email protected]> Co-authored-by: Al Harris <[email protected]> Co-authored-by: Akshay Upadhyay <[email protected]> Co-authored-by: Edward Foyle <[email protected]> Co-authored-by: aws-amplify-bot <[email protected]> Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: Danielle Adams <[email protected]> Co-authored-by: awsluja <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: Amplifiyer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Law <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: MorCohenAres <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: akshbhu <[email protected]>
* chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
* chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
thank you |
* chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
* chore: merging dev into feature branch (#11920) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * merging dev into @aws-amplify-scoping (#11921) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-function * chore: yarn extract-api --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
… analytics packages (#11945) * chore: prepend @aws-amplify to amplify-category-function (#11923) * chore: merging dev into feature branch (#11920) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * merging dev into @aws-amplify-scoping (#11921) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-function * chore: yarn extract-api --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-interactions (#11930) * prepend @aws-amplify to amplify-categor-interactions * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-geo (#11926) * chore: prepend @aws-amplify to amplify-category-geo * chore: running yarn extract * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-analytics (#11922) * adding aws-amplify to category analytics package * chore: syncing with dev * chore: fixing yarn.lock * chore: yarn extract-api * chore: fixing extract-api * chore: prepend aws/amplify to amplify-category-hosting (#11929) * chore: adding @aws-amplify to hosting category dep * prepend aws-amplify for amplify hosting dependency * chore: running yarn extract * chore: fixing yarn extract-api * fix: geo and notifications were not added to official plugin list * chore: remove notifications from this PR --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
* chore: adding scoping for amplify-app * adding dependency withing package.json * chore: prepend @aws-amplify to amplify-category-function (#11923) * chore: merging dev into feature branch (#11920) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * merging dev into @aws-amplify-scoping (#11921) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-function * chore: yarn extract-api --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-interactions (#11930) * prepend @aws-amplify to amplify-categor-interactions * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-geo (#11926) * chore: prepend @aws-amplify to amplify-category-geo * chore: running yarn extract * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-analytics (#11922) * adding aws-amplify to category analytics package * chore: syncing with dev * chore: fixing yarn.lock * chore: yarn extract-api * chore: fixing extract-api * chore: prepend aws/amplify to amplify-category-hosting (#11929) * chore: adding @aws-amplify to hosting category dep * prepend aws-amplify for amplify hosting dependency * chore: running yarn extract * chore: fixing yarn extract-api * chore: regenerate yarn.lockfile --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
* chore: adding scoping for amplify-app * adding dependency withing package.json * chore: prepend @aws-amplify to amplify-category-function (#11923) * chore: merging dev into feature branch (#11920) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * merging dev into @aws-amplify-scoping (#11921) * chore: migrate predictions category from inquirer to prompter * fix: amplify-prompts import * feat: revamp help command (#11667) * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command * feat: revamp help command (resolving merge conflicts) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (remove non-null assertions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (revisions) * feat: revamp help command (update to use array find) * feat: revamp help command (switch to single quotes) * feat: revamp help command (switch to single quotes) * feat: revamp help command (put imports on same line) * feat: revamp help command (extract api) * feat: revamp help command (prettier on help-helpers) * feat: revamp help command (fix tag line) * feat: revamp help command (changing test names) * feat: revamp help command (refactoring preserveHelpInformation) * chore: fix unit test for predictions prompter migration * chore: fix delete project unit test for predictions prompter migration * chore: added prompterAdapter class to handle prompt objects by type * chore: updated migration tests to use a different version of push as prompter interaction changed in this PR * chore: fix predictions e2e test as the new prompt will auto-select the single option * chore: removed unused import * chore: fixed codeQL warnings * chore: fix migration tests using inquirer prompts * chore: e2e tests affected by inquirer to prompts change * chore: e2e tests affected by inquirer to prompts change * chore: split log running tests * chore: addressing PR feedback * test: fix e2e test runAsync error validation * chore: replaced static string literal as dynamic key with field name * fix: modal windows test for opensearch simulator (#11911) * fix: modal windows test for opensearch simulator * fix: don't run opensearch-simulator test on windows * feat: force version bump (#11913) * chore: fix dependency versions and update clean command (#11915) --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-function * chore: yarn extract-api --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]> * chore: prepend @aws-amplify to amplify-category-interactions (#11930) * prepend @aws-amplify to amplify-categor-interactions * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-geo (#11926) * chore: prepend @aws-amplify to amplify-category-geo * chore: running yarn extract * chore: fixing yarn extract-api * chore: prepend @aws-amplify to amplify-category-analytics (#11922) * adding aws-amplify to category analytics package * chore: syncing with dev * chore: fixing yarn.lock * chore: yarn extract-api * chore: fixing extract-api * chore: prepend aws/amplify to amplify-category-hosting (#11929) * chore: adding @aws-amplify to hosting category dep * prepend aws-amplify for amplify hosting dependency * chore: running yarn extract * chore: fixing yarn extract-api * chore: regenerate yarn.lockfile * chore: running prettier * chore: sorting package.json --------- Co-authored-by: Pavel Lazar <[email protected]> Co-authored-by: lazpavel <[email protected]> Co-authored-by: Zachary Goldberg <[email protected]> Co-authored-by: Spencer Stolworthy <[email protected]> Co-authored-by: John Hockett <[email protected]>
Description of changes
This PR revamps the Amplify CLI help command. It makes the help command more aesthetic and easier to read and it adds command-specific and subcommand-specific help functionality for the packages in the amplify-cli repository.
The changes are as follows:
preserveHelpInformation
was added toinput-manager.ts
. This function prevents information about the command/subcommand specified when running the help command from being overwritten, as was the case before.help-helpers.ts
.commands-info.ts
.Issue #, if available
#11573
#11634
Description of how you validated changes
help.test.ts
.Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.