Find javascript files that are changed after creation of the new branch and run script placed in requireUndefined.js
.
It uses ESLint programmatic API.
Find all javascripts inside app/components, filter by the lack of module.exports
and apply jscodeshift transform placed in addModuleExports.js
.