Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Ability to bulk convert an entire project #17

Open
foxyblocks opened this issue May 24, 2017 · 1 comment
Open

Ability to bulk convert an entire project #17

foxyblocks opened this issue May 24, 2017 · 1 comment

Comments

@foxyblocks
Copy link
Contributor

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.

@vatz88
Copy link

vatz88 commented Jul 17, 2019

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants