broccolijs / broccoli

Browser compilation library – an asset pipeline for applications that run in the browser
https://broccoli.build
MIT License
3.33k stars 217 forks source link

Port ember-cli/broccoli-builder to master #360

Closed oligriffiths closed 5 years ago

oligriffiths commented 6 years ago

I am going to attempt to summarize the work that needs to be done to port the changes made to https://github.com/ember-cli/broccoli-builder into broccoli, so that the fork can be retired and ember-cli can use broccoli master

Glossary:

Diff:

I created a patch from branch-point-with-tests to 0-18-x https://github.com/oligriffiths/broccoli-builder/pull/7 that shows the changes basically from the whole 0-18-x series so we can see what has actually changed (minus file deletions and the conversion of the test suite from tap to mocha).

Todo:

Bonus points

oligriffiths commented 6 years ago

Ok, here's the state of play:

Heimdall support: https://github.com/broccolijs/broccoli/pull/362 Broccoli-1 support in ember-cli https://github.com/ember-cli/ember-cli/pull/7798 - this includes tmp support in project root The last bit is port broccoli-build-error from 0-18-x https://github.com/oligriffiths/broccoli-builder/blob/diff/lib/broccoli-build-error.js but I don't think this is super important for landing 1.0 support in ember-cli

stefanpenner commented 6 years ago

@oligriffiths what about the watcher-middleware? I think unifying them (if they are not already) is important. Specifically: https://github.com/ember-cli/broccoli-middleware/blob/master/lib/watcher-middleware.js#L30

Which enables: https://github.com/ember-cli/rfcs/pull/80

oligriffiths commented 6 years ago

@stefanpenner I think we should do that as a separate step as it’s not directly part of Broccoli-builder and the intention here is to remove the builder.

oligriffiths commented 6 years ago

To clarify, as part of the existing builder work no, as part of the quest, yes

stefanpenner commented 5 years ago

@oligriffiths can you confirm but I believe this has landed right?

oligriffiths commented 5 years ago

Yup