An atom plugin to run js codemods on your selections, files, folders and whole projects. Uses jscodeshift
runner and API.
WARNING: Don't run transforms on the code when you can't revert it (using git, manual backups or anything else). Transform runner we use makes no backups and modifies the files in place (when applied to file or folder level, selection transforms are safer), and can potentially destroy large codebases. This mostly concerns codemods in general, not the atom plugin.
TIP:
Install nuclide
package to get the cute console windows with jscodeshift
output within atom, and a ton of other IDE-like functionality that nuclide provides.
Features:
/transforms
folder in your projectRoadmap:
node_modules
folder (i. e. provide support to some transform packs that are distributed as npm packages, like js-codemod or react-codemod)Credits:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.