depercolator icon indicating copy to clipboard operation
depercolator copied to clipboard

Ability to bulk convert an entire project

Open foxyblocks opened this issue 8 years ago • 1 comments

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.

foxyblocks avatar May 24 '17 15:05 foxyblocks

Anyone looking for a similar feature, I used the following script and worked pretty well!

npm i -g depercolator
find . -name '*.cjsx' \
-exec depercolate {} \;

vatz88 avatar Jul 17 '19 10:07 vatz88