Open raycohen opened 4 years ago
Would a PR be welcome that handles getting the module path for files in in-repo-addons app folders?
Absolutely! It will be somewhat hard to map when there are conflicts, but I think it should be possible.
The ember-native-class-codemod package doesn't pass the input/output diff test from yarn test
when I yarn link
this package (clean master branch) and pass analyzeEmberObject
to gatherTelemetryForUrl
. Is that expected?
Hmm, no I'm not sure why that would be failing :thinking:
@raycohen this is fixed in #20
Reopening because I think #20 fixed the existing failures (not the issue that @raycohen was reporting).
Agreed.
I should have been more clear in the my previous comment.
You should know better than to use this
so lightly ;)
LOL
I have a large ember app with several in-repo-addons that use the
app/components/
folder for component implementation files, rather than having the implemenetation inaddon/components/
and the re-export inapp/components
When I run the ember-native-class-codemod against our in-repo app, I get errors like
that appear to be because the logic in getModulePathFor only supports converting files in the
addon
folder.Would a PR be welcome that handles getting the module path for files in in-repo-addons
app
folders?