You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: react/rename-unsafe-lifecycles command could not be recognized #329
While running the command npx codemod react/rename-unsafe-lifecycles --target <path> I'm getting the following response
Even though this solution Originally posted by @parthakshay in #254 (comment) works, either the command given in the documentation needs to be fixed or the documentation should be updated.
Happy to take this issue up and raise a PR for this
Hi @shubhraagarwal. Thanks for catching and reporting this! If we can adaptrename-unsafe-lifecycles to codemod CLI and publish it to Codemod Registry so that the command in the readme works, that would be great. Otherwise, we can raise a PR to update the doc.
@shubhraagarwal If you used the existing transform in this repository, then please open the PR under codemod-com/commons and it will get published to the registry. However, if you made a new codemod from scratch, then you can use codemod-template and put your codemod there, then publishing it to the registry under your name.
Activity
mohab-sameh commentedon Dec 31, 2024
Hi @shubhraagarwal. Thanks for catching and reporting this! If we can adapt
rename-unsafe-lifecyclestocodemodCLI and publish it to Codemod Registry so that the command in the readme works, that would be great. Otherwise, we can raise a PR to update the doc.shubhraagarwal commentedon Jan 2, 2025
working on this, will publish it to codemod registry
mohab-sameh commentedon Jan 6, 2025
@shubhraagarwal If you used the existing transform in this repository, then please open the PR under
codemod-com/commonsand it will get published to the registry. However, if you made a new codemod from scratch, then you can usecodemod-templateand put your codemod there, then publishing it to the registry under your name.shubhraagarwal commentedon Jan 8, 2025
Done, codemod/commons#25