-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Issue Description
- Bug in Codemod CLI
Having fiddled with the settings and the run environment, this seems like it must surely be a bug, but I'm happy to be told otherwise - just not sure how a relatively-new-migration-version codemod could be legacy and only able to run on a far-in-the-past version.
Steps to Reproduce
npx codemod@latest react/19/migration-recipe
- question life
Actual Results
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
[1/2] 🔍 Resolving package from registry: https://app.codemod.com ...
⚠️ Package react/19/migration-recipe is legacy
[2/2] 🏁 Running codemod: react/19/migration-recipe
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
╭──────────────────────────────────────────────╮
│ │
│ Update available 0.18.9 > 1.0.1 │
│ │
│ Run "npm i -g codemod@latest" to upgrade │
│ │
╰──────────────────────────────────────────────╯
✔ Successfully downloaded "react/19/migration-recipe" from the registry.
Expected Results
- Resolving package from registry
- Running codemod: react/19/migration-recipe
- "successfully downloaded[/fetched]..."
- executed codemod
Technical details
- Codemod CLI version: ???
- Node.js versions: 18.20.8, 20.19.4, 22.17.1, 24.4.1
alexbit-codemod and mohab-sameh
Metadata
Metadata
Assignees
Labels
No labels