ember-modules-codemod icon indicating copy to clipboard operation
ember-modules-codemod copied to clipboard

Transformation error with optional chaining, stems from old jscodeshift version

Open Yelinz opened this issue 2 years ago • 5 comments

The used jscodeshift version is so old that it doesnt know optional chaning.

Yelinz avatar Oct 27 '22 08:10 Yelinz

@Yelinz could you resolve this?

linearza avatar May 10 '23 14:05 linearza

Any updates on this? saw the issue happening again

saikota avatar Jun 22 '23 20:06 saikota

This fork should resolve it: https://github.com/linearza/ember-modules-codemod

linearza avatar Jun 22 '23 21:06 linearza

I am having the same issue. @linearza is it possible to npm install your fork instead of the official version? I am not hoping on the dev team to merge the pull request anytime soon.

Pasgru avatar Oct 25 '23 11:10 Pasgru

You should be able to run it standalone in a similar way as described here: https://github.com/linearza/ember-modules-codemod#standalone

linearza avatar Oct 25 '23 11:10 linearza