Closed DrewML closed 8 years ago
babel-register
- See https://github.com/avajs/ava-codemods/issues/18#issue-153552933
babel-register
I went with #1
. Was just the imports that needed reverting. I couldn't get babel/register
to work. Was easier this way. Probably much more performant too.
It looks like #24 didn't add account for how the cli would be consumed by users doing
npm install -g ava-codemods
.That PR was commited to master a month after the last release, so the version in the npm registry is still ok. But, releasing a new version from
master
would not work in it's current state.How would you like me to address this @sindresorhus? Options being:
prepublish
to adist
directory and ignore src files for publishbabel-register
when users run the CLI3 doesn't seem like the best idea for DX.