How do I get @material-ui/codemod to work for importing from 1.0.0-beta.42 to 1.0 stable #11525
Closed
2 tasks done
Labels
duplicate
This issue or pull request already exists
Expected Behavior
I've installed the codemod as defined in the readme and run the command provided via cli:
find src -name '*.js' -print | xargs jscodeshift -t node_modules/@material-ui/codemod/lib/v1.0.0/import-path.js
I expected this to update the paths used within my application.
Current Behavior
Instead of having the paths updated, I see a console spit out saying that all changes have been skipped:
Processing 56 files...
Spawning 3 workers...
Sending 19 files to free worker...
Sending 19 files to free worker...
Sending 18 files to free worker...
All done.
Results:
0 errors
0 unmodified
56 skipped
0 ok
Context
Wondering if I'm doing this correctly as I've never used a codemod before.. Any insight will be greatly appreciated!
Your Environment
The text was updated successfully, but these errors were encountered: