kratiahuja / broccoli-tslinter

Broccoli Plugin to run linter on typescript files. Uses tslint internally.
MIT License
9 stars 6 forks source link

Update broccoli to the latest version πŸš€ #33

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

The devDependency 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](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Commits

The new version differs by 9 commits.

See the full diff

greenkeeper[bot] commented 5 years ago

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] commented 5 years ago

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] commented 5 years ago

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] commented 5 years ago

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] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 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


Update to this version instead πŸš€