Closed oligriffiths closed 5 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
@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
@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
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:
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 https://github.com/broccolijs/broccoli/pull/354master
, port the protection of thedist
directory from-0-18-x
if it's a direct parent of the project https://github.com/broccolijs/broccoli/pull/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 https://github.com/ember-cli/broccoli-builder/pull/260-18x
killapi_compat.js
.master
, portheimdall
stats collection from0-18-x
Investigate the event api in Broccoli for this instead of hand jamming: https://github.com/broccolijs/broccoli/pull/362master
, portcancellation
from0-18-x
https://github.com/broccolijs/broccoli/pull/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 hack https://github.com/ember-cli/ember-cli/pull/7798Bonus points