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

Update broccoli to the latest version 🚀 #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Sep 28, 2018

The dependency broccoli was updated from 1.1.4 to 2.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Find out more about this release.

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Oct 26, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 26, 2018

  • The dependency broccoli was updated from 1.1.4 to 2.0.1.

Update to this version instead 🚀

Commits

The new version differs by 9 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 7, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 7, 2019

  • The dependency broccoli was updated from 1.1.4 to 2.1.0.

Update to this version instead 🚀

Release Notes for ES Modules, Export function & Environment support

This release adds support for several new features.

ES Modules syntax

PR: #385
ES modules syntax is now supported in Broccoli using the esm npm package. You're now free to use this syntax for your Brocfile.js https://github.com/broccolijs/broccoli#using-plugins-in-a-brocfilejs
Welcome to the future!

import merge from 'broccoli-merge-trees';

export default merge(['a', 'b']);

Export function

PR: #386
Broccoli now supports exporting a function from the Brocfile.js, in the same way that Ember-CLI does https://github.com/broccolijs/broccoli#brocfilejs which paves the way for future enhancements to supply build parameters to the pipeline

import merge from 'broccoli-merge-trees';

export default () => {
return merge(['a', 'b']);
}

Environment

PR: #387
Broccoli now supports --environment,-e,--prod,--dev CLI arguments similar to Ember-CLI. The environment flag is passed to the Brocfile in the options hash { env: ENVIRONMENT } and defaults to development.
Similar to the legacy BROCCOLI_CLI environment variable, this allows a build pipeline to be altered based on the destined environment, for example by minifying files for production.

import merge from 'broccoli-merge-trees';
import uglify from 'broccoli-uglify-js';

export default (options) => {
let tree = merge(['a', 'b']);
if (options.environment === 'production') {
tree = uglify(tree);
}
return tree;
}

Commits

The new version differs by 6 commits.

  • 479bc37 v2.1.0
  • 1ff7430 README: Fix typo (#391)
  • fd33db7 Update README.md
  • 5bd1883 Add ES6 Module support (#385)
  • dbaf207 Support --environment CLI option and Brocfile argument (#387)
  • d7375be Have Brocfile.js export a function (#386)

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 14, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 14, 2019

  • The dependency broccoli was updated from 1.1.4 to 2.2.0.

Update to this version instead 🚀

Commits

The new version differs by 15 commits.

  • fb46901 release v2.2.0 🎉
  • 13b280b Merge pull request #383 from broccolijs/cleanup
  • 1163866 cleanup
  • 898ff1a Merge pull request #393 from broccolijs/wait-to-cleanup
  • f59471d cleanup should cancel
  • 1c4f043 Merge pull request #384 from broccolijs/oli/overwrite
  • 9d37af5 Remove console.log
  • b5da996 Fix lint
  • 98083aa promiseFinally
  • 9581835 Merge branch 'master' of github.com:broccolijs/broccoli into oli/overwrite
  • ad658f6 environment => env (#394)
  • 7242765 Move _isCleaning
  • 7a5dc46 Add cleaning flag
  • ad63631 ensure builder.cleanup() waits on pending work
  • 13a1abc Make --overwrite the default but protect writing to direct parents

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 20, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 20, 2019

  • The dependency broccoli was updated from 1.1.4 to 2.3.0.

Update to this version instead 🚀

Release Notes for TypeScript support

The future is here, today!

Broccoli now supports a Brocfile.ts, and will auto compile this through ts-node 🎉

By default, ts-node uses TypeScript defaults for the compiler options. If you wish to add your own compiler options to make things stricter, you can add a tsconfig.json of your own and Broccoli should auto pick this up.

So now:

import merge = require('broccoli-merge-trees');
import uglify = require('broccoli-uglify-sourcemap');
import { BrocfileOptions } from 'broccoli';

export default (options: BrocfileOptions) => {
let js = 'src/a';

if (options.env === 'production') {
js = uglify(js);
}

return merge([js, 'src/b']);
}

Should work, and your editor should get access to the types it can find.
Over time, we will push for plugin developers to define at least a type definition, and provide documentation for how to convert a plugin to TypeScript

Thanks to everyone who helped in reviewing this.

Commits

The new version differs by 3 commits.

  • 4be935b v2.3.0
  • f31cccd Update readme for TypeScript commonjs support
  • c433526 Add Brocfile.ts TypeScript support (#390)

See the full diff

greenkeeper bot added a commit that referenced this pull request May 20, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented May 20, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.0.0.

Update to this version instead 🚀

Commits

The new version differs by 18 commits.

  • 3949b6a Version bump to v3.0.0 (#402)
  • 8cde661 Require watchedNodes arguments to Watcher/WatcherAdapter (#405)
  • 0fb9f4d Increase TS load timeout to avoid appveyor timeout (#406)
  • 41310dd Merge pull request #403 from broccolijs/watcher-constructor
  • e8aa89c Fix Broken Tests
  • 037d403 Fix watcher test
  • 5920132 Merge branch 'master' of github.com:broccolijs/broccoli into watcher-constructor
  • 2cc64f6 Fix CLI test
  • e74e0f0 Add more watcher events (#398)
  • d18f1d0 Ensure tests run against all broccoli-plugin and broccoli-source versions (#401)
  • 6499bca Fix lint issues
  • e69e76c Pass watchedNodes to Watcher/WatcherAdapter
  • 4153448 Bumping node-info to v2.0.0 for the volatile option (#399)
  • 3454e35 Drop node 6 and add 12 (#400)
  • d4e4e0c Memoization in Broccoli (#396)

There are 18 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 5, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 5, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.0.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 10, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 10, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 11, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 11, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.1.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jul 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 1, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.1.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 15, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 15, 2019

  • The dependency broccoli was updated from 1.1.4 to 3.2.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 29, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 29, 2020

  • The dependency broccoli was updated from 1.1.4 to 3.3.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 29, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 29, 2020

  • The dependency broccoli was updated from 1.1.4 to 3.3.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 17, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 17, 2020

  • The dependency broccoli was updated from 1.1.4 to 3.4.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 30, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 30, 2020

  • The dependency broccoli was updated from 1.1.4 to 3.4.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 12, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented May 12, 2020


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚

Find out how to migrate to Snyk at greenkeeper.io


  • The dependency broccoli was updated from 1.1.4 to 3.4.2.

Update to this version instead 🚀

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

Successfully merging this pull request may close these issues.

0 participants