simonihmig / ember-native-dom-helpers-codemod

Codemod to transform your jQuery based ember tests to use ember-native-dom-helpers
MIT License
27 stars 9 forks source link

Make this codemod executable #3

Closed cibernox closed 7 years ago

cibernox commented 7 years ago

With this changes, the codemod becomes a simple executable if installed globally and doesn't require users to install jscodeshift themselves.

New simplified usage, assuming this package is published.

npm install -g ember-native-dom-helpers-codemod 
cd my-ember-app-or-addon
ember-native-dom-helpers-codemod tests/integration

I'm not sure how to run only specific transformations, I'll check it again another day.

simonihmig commented 7 years ago

Cool, thanks!