Closed code0100fun closed 4 years ago
It appears that mirage >1.0 may require Node 8. We will need to upgrade the rest of this project before landing this change. Unfortunately, I am traveling for a family death at the moment, so I'm unable to look at this for at least a week or more. @Dhaulagiri can you coordinate with @code0100fun on landing this change along with the other upgrades?
Upgrade
ember-cli-mirage
following the suggestions in the Mirage docs.Currently consumers of this addon can't upgrade to the Mirage >= 1.0 due to the
mirage-support/factories
usingimport { faker } from 'ember-cli-mirage';
.This PR adds
ember-auto-import
to pull in faker straight fromnode_modules/
. Users who are already upgrading to Mirage 1.0 will likely already have this dependency since it is the recommended fix in the docs.Users who are on older versions of Mirage will probably not have any issues since the import of faker with
ember-auto-import
should be transparent to them.Before Merging: