refactor: improve transformer selection prompt (#70932)
### Why? Previously, we were showing ALL the descriptions of the codemods which made hard to read each lines of codemods. ### How? Show description only of current highlighted option. Also, display the version of the codemod. ### Before `@next/codemod` https://github.com/user-attachments/assets/2537c59e-c4a8-4cdd-af34-68cabf56354b `@next/codemod upgrade` https://github.com/user-attachments/assets/0fc05776-b398-4e13-b6ea-1e351fff2194 ### After `@next/codemod` https://github.com/user-attachments/assets/553e5952-bd2e-4a19-99b0-e3fdab10d868 `@next/codemod upgrade` https://github.com/user-attachments/assets/375c9abc-da3e-4c23-a03d-12def4c6d2a3 --------- Co-authored-by:Zack Tanner <1939140+ztanner@users.noreply.github.com> Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
Showing
Please
register
or
sign in
to comment