Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
7 of 10 tasks
oligriffiths opened this issue Apr 3, 2018 · 6 comments
Closed
7 of 10 tasks

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

oligriffiths opened this issue Apr 3, 2018 · 6 comments

Comments

@oligriffiths
Copy link
Contributor

oligriffiths commented Apr 3, 2018

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 oligriffiths/broccoli-builder#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

  • Mid-build change events should cancel the current build and queue up behind the existing cancel before kicking off another build. This allows for if a watched file changing mid build, to cancel the current build and kick off a new one. This is out of scope for upstreaming to master. Add Build Cancellation #350
@oligriffiths
Copy link
Contributor Author

oligriffiths commented May 20, 2018

Ok, here's the state of play:

Heimdall support: #362
Broccoli-1 support in ember-cli ember-cli/ember-cli#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
Copy link
Contributor

@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: ember-cli/rfcs#80

@oligriffiths
Copy link
Contributor Author

@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
Copy link
Contributor Author

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

@stefanpenner
Copy link
Contributor

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

@oligriffiths
Copy link
Contributor Author

Yup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants