Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
23
node_modules/merge-stream/README.md
generated
vendored
23
node_modules/merge-stream/README.md
generated
vendored
@@ -50,6 +50,29 @@ stream = require('merge-stream')();
|
||||
return stream.isEmpty() ? null : stream;
|
||||
```
|
||||
|
||||
## Gulp example
|
||||
|
||||
An example use case for **merge-stream** is to combine parts of a task in a project's **gulpfile.js** like this:
|
||||
|
||||
```js
|
||||
const gulp = require('gulp');
|
||||
const htmlValidator = require('gulp-w3c-html-validator');
|
||||
const jsHint = require('gulp-jshint');
|
||||
const mergeStream = require('merge-stream');
|
||||
|
||||
function lint() {
|
||||
return mergeStream(
|
||||
gulp.src('src/*.html')
|
||||
.pipe(htmlValidator())
|
||||
.pipe(htmlValidator.reporter()),
|
||||
gulp.src('src/*.js')
|
||||
.pipe(jsHint())
|
||||
.pipe(jsHint.reporter())
|
||||
);
|
||||
}
|
||||
gulp.task('lint', lint);
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user