es5-getter-ember-codemod
es5-getter-ember-codemod copied to clipboard
I have verified that ``` npx github:ember-codemods/es5-getter-ember-codemod es5-getter-ember-codemod app/**/.js ``` does not pick up `.js` files at all levels of the file tree. It seems to act like `app/*/*.js` instead....
> UnhandledPromiseRejectionWarning: Error: Command failed with exit code 7 (E2BIG): /Users/runspired/.npm/_npx/61999/lib/node_modules/es5-getter-ember-codemod/node_modules/jscodeshift/bin/jscodeshift.js -t /Users/runspired/.npm/_npx/61999/lib/node_modules/es5-getter-ember-codemod/transforms/es5-getter-ember-codemod/index.js --extensions js,ts [LIST OF FILES] Will have time later to attempt to debug.
Example: ```js import ObjectProxy from '@ember/object/proxy'; import { computed } from '@ember/object'; export default ObjectProxy.extend({ isSelection: computed('id', 'selectionId', function () { return this.get('id') === this.selectionId; }), }); ``` Actual: Running...
Hi, I run the codemod per the instructions (and the solution in #20) but always get all my files unmodified, even though I have clear places that should be caught...
When I do `jscodeshift -t https://rawgit.com/rondale-sc/es5-getter-ember-codemod/master/es5-getter-ember-codemod.js ./app` I have a `404: Not Found` error. I tried `yarn global add es5-getter-ember-codemod` and I have `An unexpected error occurred: "https://registry.yarnpkg.com/es5-getter-ember-codemod: Not found".`....
It runs on the node modules folder.
First of all, this is really nice! :) As you asked for feedback, how about supporting `getWithDefault()`? ```js // Before person.getWithDefault('lastName', 'Doe'); // After person.lastName !== undefined ? person.lastName :...
Hi there, struggling to access this codemod. On install, I get a 404 for both `ember-codemods/es5-getter-ember-codemod` and `es5-getter-ember-codemod`. When attempting to use npx it just stalls: ``` rollbackFailedOptional: verb npm-session...