Current version of jscodeshift doesn't strip Flow annotations from
the transform function itself, and explicitly disables pickup of a
colocated .babelrc - so this diff replaces the main transform module
with a stripped version, and puts the original in a src directory.
Current version of jscodeshift doesn't strip Flow annotations from the transform function itself, and explicitly disables pickup of a colocated .babelrc - so this diff replaces the main transform module with a stripped version, and puts the original in a
src
directory.Versions should be kept in sync, easily done by making changes in
src
and using babel to strip annotations as desribed here: https://flowtype.org/docs/running.html#babel-quick-start.