[INTERNAL] Move logic out of `ember-cli` commands
After this, we can easily:
- Migrate everything else (except
./lib/ember-cli-commands) to.mjs - Update all our dependencies to latest because of
1. - Introduce our own CLI to use
ember-trywithoutember-cli
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.15%. Comparing base (
e0d196e) to head (bda3dce).
Additional details and impacted files
@@ Coverage Diff @@
## main #1063 +/- ##
==========================================
- Coverage 95.54% 95.15% -0.39%
==========================================
Files 21 18 -3
Lines 516 475 -41
==========================================
- Hits 493 452 -41
Misses 23 23
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
what would it look like to invert this? i.e. make this a type=module package with an index.cjs ? I'm only asking because we're changing most files across to mjs and it seems like that is wanting to be type=module 🤔
I was under the assumption that importing cjs from inside a type=module package was not an option. But I assume this might work by configuring package.json#exports? Would be better indeed.
yes you can configure package.json exports to point at a cjs file for the index 👍
Alright, would be much better indeed. Will update!