It would be nicer to have a binary exposed that allows us to be more flexible with the codemod execution, e.g. to migrate from v5 to v7 it would be great to just having to call:
$ npx codemod v6 v7
which then calls jscodeshift seperately.
Also the package should automatically detect the files and pick e.g. TypeScript as parser if all files are written that way.
Rather than calling
jscodeshift
directly, e.g.:It would be nicer to have a binary exposed that allows us to be more flexible with the codemod execution, e.g. to migrate from v5 to v7 it would be great to just having to call:
which then calls
jscodeshift
seperately.Also the package should automatically detect the files and pick e.g. TypeScript as parser if all files are written that way.