-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[infra] Can't pass --jscodeshift
option to codemod
#17034
Comments
--jscodeshift
option to codemod--jscodeshift
option to codemod
@Janpot are you sure about the usage? 🤔 # multiple options
npx @mui/x-codemod@next v8.0.0/preset-safe docs --jscodeshift=--cpus=1 --jscodeshift=--print --jscodeshift=--dry --jscodeshift=--verbose=2 https://github.com/mui/mui-x/tree/master/packages/x-codemod#jscodeshift-options |
😕 Ok, I must have been doing something weird. I can make it work now. Just noticed that on our docs, it seems to be transforming the |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. |
Good spot. 👍 |
I'm surprised it doesn't follow |
Steps to reproduce
Steps:
pnpm dlx @mui/[email protected] v8.0.0/preset-safe <path> --jscodeshift "-v"
jscodeshift
command that is being executedCurrent behavior
no
-v
option is added to the commandExpected behavior
a
-v
option is added to the commandContext
Trying to figure out why so many files are being transformed, I feel like it's running on too many files. Trying to get more visibility on what's being passed to
jscodeshift
and more control over which paths to ignore.Your environment
npx @mui/envinfo
Search keywords: jscodeshift
The text was updated successfully, but these errors were encountered: