ember-codemods / es5-getter-ember-codemod

34 stars 14 forks source link

Change command for running codemod in README #21

Closed patocallaghan closed 5 years ago

patocallaghan commented 5 years ago

It appears since the project was converted to use codemod-cli you can no longer use it by linking to the raw js file in github. Also as it's not an npm package you can't install it globally. The only way I could get it running was to use the following command:

npx github:rondale-sc/es5-getter-ember-codemod es5-getter-ember-codemod app/**/*.js

Also as jscodeshift is now part of codemod-cli you no longer need to install it yourself.

Alonski commented 5 years ago

@rondale-sc Can this be merged in? Just trolled me :)

rondale-sc commented 5 years ago

Looks good! Thanks @patocallaghan!! 🎉