You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default (e.g. no customized arguments) the codemod should process the following directories:
If in an addon (determined by keywords in package.json):
addon, addon-test-support, and tests
If in an app:
app and tests
Both addon and app types should process any require('./package)['ember-addon'].paths
The codemod should also allow an explicit path to be specified on the command line. When specified on the command line, the default paths (described above) should not be processed and only the specific path provided in the first arg should be processed.
Activity
rwjblue commentedon Jul 31, 2017
@Turbo87 - You 👍 on the general plan laid out above?
Turbo87 commentedon Jul 31, 2017
in general I'm 👍
I'm just not sure what the
require()stuff is for 🤔rwjblue commentedon Jul 31, 2017
Haha, I was just too lazy to write it out manually. For the auto-detect bit, this is basically what I'm proposing:
Turbo87 commentedon Jul 31, 2017
aka. in-repo-addons, right?
rwjblue commentedon Jul 31, 2017
c
rwjblue commentedon Jul 31, 2017
currently we auto-process all of
libwhich isn't guaranteed to be an addon at all (e.g. many addons uselibfor node-land code also)cyril-sf commentedon Aug 30, 2018
Is this still needed?