depercolator
depercolator copied to clipboard
Ability to bulk convert an entire project
It would be nice to support the ability to run the command on an entire directory recursively similar to how prettier or decaffeinate work. In these cases we would want to collect a report of the files that produced errors while converting so we can print them out at the end of the process.
Anyone looking for a similar feature, I used the following script and worked pretty well!
npm i -g depercolator
find . -name '*.cjsx' \
-exec depercolate {} \;