Skip to content

Commit

Permalink
Improve logs in the login command (#1028)
Browse files Browse the repository at this point in the history
* Add login and logout commands

* Refactor graphql client and requests, add unit tests

* Update shopify-config methods and tests

* Update renderErrors to use cli Command

* Rework env-pull to call login and remove silent param

* Rework link command to call login and remove --shop flag

* Update list command to call login and remove --shop flag

* Update env-list command to call login and remove --shop flag

* Oclif manifest

* Cleanup

* Rework log replacer

* Mute cli-kit auth logs

* Fix mock

* Update cli-kit version

* Add GraphQL schema generator for local development

* Use business platform login to render a list of shops

* Improve login logs

* Merge main branch

* Fix tests

* Minor changes

* Update package-lock

* Apply suggestions from code review

Co-authored-by: Gray Gilmore <[email protected]>

* Change link color

* Skip writing config when no directory is passed to login

* Improve unit tests

* Changesets

* Refactor to getUserAccount and add tests

* Store shopName and email in local config

* Show shopName and email after login

* Force prompt during login when not passing --shop flag

* Fix tests

* Only show loader after pressing a key

* Show short version of link in terminal

* Update cli-kit version and its deps

* Cleanup

* Update package-lock

* Remove duplicated code chunk

---------

Co-authored-by: Gray Gilmore <[email protected]>
  • Loading branch information
frandiox and graygilmore authored Jun 30, 2023
1 parent ccfbae1 commit e11fcff
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 94 deletions.
244 changes: 166 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@shopify/cli-kit": "3.47.0",
"@shopify/hydrogen-codegen": "^0.0.2",
"@shopify/mini-oxygen": "^1.6.0",
"ansi-escapes": "^6.2.0",
"diff": "^5.1.0",
"fast-glob": "^3.2.12",
"fs-extra": "^10.1.0",
Expand Down
Loading

0 comments on commit e11fcff

Please sign in to comment.