ember-cli / rfcs

Archive of RFCs for changes to ember-cli (for current RFC repo see https://github.com/emberjs/rfcs)
45 stars 54 forks source link

lib/broccoli/ember-modules-app #64

Closed nathanhammond closed 5 years ago

nathanhammond commented 8 years ago

The existing lib/broccoli/ember-app has a lot of organically grown behavior which supports our needs at present but doesn't give us as many opportunities to grow for the future. We're going to need to do some work in this area to support the new module unification RFC and this gives us as good a reason as any to ensure that we start this process off on a good footing.

A lot of these pain points have been discovered in the development efforts for FastBoot and Ember Engines and last year's efforts toward a linker/packager.

Goals

Is this a complete enumeration of our goals? What else do we need to address in this effort?

/cc @chadhietala @danmcclain @dgeb @lukemelia @rwjblue @stefanpenner @tomdale @Turbo87 @twokul

Turbo87 commented 8 years ago

Add backwards compatibility in as a last step (focus on the future use case).

can you clarify that? not sure how to understand this...

nathanhammond commented 8 years ago

@Turbo87 We clearly require an interoperability story here. However that should not be a primary consideration at the beginning of this effort. I want for our first step to be, "given what we know from the years of experience we have in this problem space, this solution is closest to our ideal." Once we know what our ideal is, we can work backwards to identify how best to migrate our users to that solution.

For those following along more casually let me emphasize again that there will be a compatibility story and a migration story. This is integral to the commitments we make in maintaining Ember CLI and the community. The approach we take to building this does not in any way change our support promises.

stefanpenner commented 8 years ago

It is worth saying, this is largely a spike to figure out what we want. We will then work back and figure out how to support it. Not that we will implement ship then try and figure out compatibility.

danmcclain commented 8 years ago

I started working on the new resolver (mostly around determining which module and export we need to look up based on the internal module manifest) here: https://github.com/danmcclain/ember-resolver/blob/new-resolver/tests/unit/new-resolver-test.js

Few things I need to still cover on it, but wanted to surface what I have