Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created March 13, 2020 14:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sibelius/6c5a1ac4fd75548545190e9ee3fd71cc to your computer and use it in GitHub Desktop.
Save sibelius/6c5a1ac4fd75548545190e9ee3fd71cc to your computer and use it in GitHub Desktop.
how to run jscodeshift using xargs
find packages/**/src -name '*.tsx' -print | xargs jscodeshift -t ./codemod.js --parser=babel --extensions=tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment