Skip to content
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

There is no codemod prompt to choose whether to move to catalog or not #5

Open
wassim-ben-amor opened this issue Oct 29, 2024 · 0 comments

Comments

@wassim-ben-amor
Copy link

wassim-ben-amor commented Oct 29, 2024

Hello, in the docs we have:
If there are multiple versions of dependency - codemod will prompt to choose whether to move to catalog or not (in this case latest version will be picked).
https://github.com/pnpm/codemod/blame/a8ccdf3a88a1d49f36f1e8e95de059fdbd6b53b7/catalog/README.md#L5C28-L5C28

But looking at the code, we have a direct apply with the latest version:
https://github.com/pnpm/codemod/blob/main/catalog/src/index.ts#L99

By the way, thank you for this very useful codemod 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant