-
Notifications
You must be signed in to change notification settings - Fork 215
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
Comments
Ok, here's the state of play: Heimdall support: #362 |
@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 |
@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. |
To clarify, as part of the existing builder work no, as part of the quest, yes |
@oligriffiths can you confirm but I believe this has landed right? |
Yup |
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 masterGlossary:
master
refers to https://github.com/broccolijs/broccoli/tree/master0-18-x
refers to https://github.com/ember-cli/broccoli-builder/tree/0-18-xab404ef725be5c265c901838be40d0358a867ec4
that ember-cli/broccoli-builder branched from broccoli masterf5a1f3ddb1a01a4a9c312be12f1efed2b6d38611
that the test suite was converted from tap to mocha and exists inmaster
but not0-18-x
Diff:
I created a patch from
branch-point-with-tests
to0-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:
0-18-x
, port test suite to mocha frombranch point + tests
, as this happened just after the branch point, so to make comparisons easier I have ported the test suite to use mochamaster
, add the ability to overwrite adist
directory without having to remove the directory first Overwrite output #354master
, port the protection of thedist
directory from-0-18-x
if it's a direct parent of the project Add overwrite protection to parent directory #3580-18x
deprecateapi_compat.js
. This was to support the old read API, and is no longer supported in Broccoli and hasn’t been used in ember for some time. Start with a console warning, then remove. https://github.com/oligriffiths/broccoli-builder/blob/diff/lib/api_compat.js Remove BROCCOLI_WARN_READ_API env var and always warn on old .read/.rebuild api ember-cli/broccoli-builder#260-18x
killapi_compat.js
.master
, portheimdall
stats collection from0-18-x
Investigate the event api in Broccoli for this instead of hand jamming: Add Heimdall support #362master
, portcancellation
from0-18-x
Add Build Cancellation #350master
portbroccoli-build-error
from0-18-x
https://github.com/oligriffiths/broccoli-builder/blob/diff/lib/broccoli-build-error.js this is a nicer error output that only shows the stack trace for where the error happened within a Broccoli pluginmaster
validate the ability to have thetmp
directory in the project root (per ember-cli) for compat with addons that have used this hackAdd Broccoli 2.0 support ember-cli/ember-cli#7798
Bonus points
The text was updated successfully, but these errors were encountered: