From 1693a1127116a6804a892a4b931c232b1bec9162 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sat, 27 Apr 2019 15:50:17 +0200 Subject: [PATCH] Docs: Remove next tag from recipes (closes #2277) --- docs/recipes/delete-files-folder.md | 4 ++-- docs/recipes/mocha-test-runner-with-gulp.md | 4 ++-- docs/recipes/only-pass-through-changed-files.md | 2 +- docs/recipes/pass-arguments-from-cli.md | 2 +- docs/recipes/rollup-with-rollup-stream.md | 4 ++-- docs/recipes/run-grunt-tasks-from-gulp.md | 2 +- docs/recipes/server-with-livereload-and-css-injection.md | 2 +- docs/recipes/split-tasks-across-multiple-files.md | 2 +- docs/recipes/using-external-config-file.md | 2 +- docs/recipes/using-multiple-sources-in-one-task.md | 4 ++-- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/recipes/delete-files-folder.md b/docs/recipes/delete-files-folder.md index 59e9cc939..d974c6283 100644 --- a/docs/recipes/delete-files-folder.md +++ b/docs/recipes/delete-files-folder.md @@ -5,7 +5,7 @@ You might want to delete some files before running your build. Since deleting fi Let's use the [`del`](https://github.com/sindresorhus/del) module for this example as it supports multiple files and [globbing](https://github.com/sindresorhus/multimatch#globbing-patterns): ```sh -$ npm install --save-dev gulp@next del +$ npm install --save-dev gulp del ``` Imagine the following file structure: @@ -49,7 +49,7 @@ You might want to delete some files after processing them in a pipeline. We'll use [vinyl-paths](https://github.com/sindresorhus/vinyl-paths) to easily get the file path of files in the stream and pass it to the `del` method. ```sh -$ npm install --save-dev gulp@next del vinyl-paths +$ npm install --save-dev gulp del vinyl-paths ``` Imagine the following file structure: diff --git a/docs/recipes/mocha-test-runner-with-gulp.md b/docs/recipes/mocha-test-runner-with-gulp.md index c6ca3873f..4a6b21797 100644 --- a/docs/recipes/mocha-test-runner-with-gulp.md +++ b/docs/recipes/mocha-test-runner-with-gulp.md @@ -3,7 +3,7 @@ ### Passing shared module in all tests ```js -// npm install gulp@next gulp-mocha +// npm install gulp gulp-mocha var gulp = require('gulp'); var mocha = require('gulp-mocha'); @@ -22,7 +22,7 @@ gulp.task('default', function() { ### Running mocha tests when files change ```js -// npm install gulp@next gulp-mocha gulplog +// npm install gulp gulp-mocha gulplog var gulp = require('gulp'); var mocha = require('gulp-mocha'); diff --git a/docs/recipes/only-pass-through-changed-files.md b/docs/recipes/only-pass-through-changed-files.md index 1b0a34496..f2db59722 100644 --- a/docs/recipes/only-pass-through-changed-files.md +++ b/docs/recipes/only-pass-through-changed-files.md @@ -4,7 +4,7 @@ Files are passed through the whole pipe chain on every run by default. By using ```js -// npm install --save-dev gulp@next gulp-changed gulp-jscs gulp-uglify +// npm install --save-dev gulp gulp-changed gulp-jscs gulp-uglify var gulp = require('gulp'); var changed = require('gulp-changed'); diff --git a/docs/recipes/pass-arguments-from-cli.md b/docs/recipes/pass-arguments-from-cli.md index 1f9c74b14..48185b6b1 100644 --- a/docs/recipes/pass-arguments-from-cli.md +++ b/docs/recipes/pass-arguments-from-cli.md @@ -1,7 +1,7 @@ # Pass arguments from the command line ```js -// npm install --save-dev gulp@next gulp-if gulp-uglify minimist +// npm install --save-dev gulp gulp-if gulp-uglify minimist var gulp = require('gulp'); var gulpif = require('gulp-if'); diff --git a/docs/recipes/rollup-with-rollup-stream.md b/docs/recipes/rollup-with-rollup-stream.md index 24679d557..2a8840f26 100644 --- a/docs/recipes/rollup-with-rollup-stream.md +++ b/docs/recipes/rollup-with-rollup-stream.md @@ -4,7 +4,7 @@ Like Browserify, [Rollup](https://rollupjs.org/) is a bundler and thus only fits ## Basic usage ```js -// npm install --save-dev gulp@next rollup-stream vinyl-source-stream +// npm install --save-dev gulp rollup-stream vinyl-source-stream var gulp = require('gulp'); var rollup = require('rollup-stream'); var source = require('vinyl-source-stream'); @@ -24,7 +24,7 @@ gulp.task('rollup', function() { ## Usage with sourcemaps ```js -// npm install --save-dev gulp@next rollup-stream gulp-sourcemaps vinyl-source-stream vinyl-buffer +// npm install --save-dev gulp rollup-stream gulp-sourcemaps vinyl-source-stream vinyl-buffer // optional: npm install --save-dev gulp-rename var gulp = require('gulp'); var rollup = require('rollup-stream'); diff --git a/docs/recipes/run-grunt-tasks-from-gulp.md b/docs/recipes/run-grunt-tasks-from-gulp.md index 51e95e5fb..df2ca1771 100644 --- a/docs/recipes/run-grunt-tasks-from-gulp.md +++ b/docs/recipes/run-grunt-tasks-from-gulp.md @@ -7,7 +7,7 @@ It is possible to run Grunt tasks / Grunt plugins from within Gulp. This can be very simple example `gulpfile.js`: ```js -// npm install gulp@next grunt grunt-contrib-copy --save-dev +// npm install gulp grunt grunt-contrib-copy --save-dev var gulp = require('gulp'); var grunt = require('grunt'); diff --git a/docs/recipes/server-with-livereload-and-css-injection.md b/docs/recipes/server-with-livereload-and-css-injection.md index a23cc239d..ee400b8f2 100644 --- a/docs/recipes/server-with-livereload-and-css-injection.md +++ b/docs/recipes/server-with-livereload-and-css-injection.md @@ -5,7 +5,7 @@ With [BrowserSync](https://browsersync.io) and gulp, you can easily create a dev First install the modules: ```sh -$ npm install --save-dev gulp@next browser-sync +$ npm install --save-dev gulp browser-sync ``` Then, considering the following file structure... diff --git a/docs/recipes/split-tasks-across-multiple-files.md b/docs/recipes/split-tasks-across-multiple-files.md index afee1be10..a93217a94 100644 --- a/docs/recipes/split-tasks-across-multiple-files.md +++ b/docs/recipes/split-tasks-across-multiple-files.md @@ -17,7 +17,7 @@ tasks/ Install the `gulp-hub` module: ```sh -npm install --save-dev gulp@next gulp-hub +npm install --save-dev gulp gulp-hub ``` Add the following lines to your `gulpfile.js` file: diff --git a/docs/recipes/using-external-config-file.md b/docs/recipes/using-external-config-file.md index b073f1dfc..6c740761b 100644 --- a/docs/recipes/using-external-config-file.md +++ b/docs/recipes/using-external-config-file.md @@ -30,7 +30,7 @@ Beneficial because it's keeping tasks DRY and config.json can be used by another ###### `gulpfile.js` ```js -// npm install --save-dev gulp@next gulp-uglify merge-stream +// npm install --save-dev gulp gulp-uglify merge-stream var gulp = require('gulp'); var uglify = require('gulp-uglify'); var merge = require('merge-stream'); diff --git a/docs/recipes/using-multiple-sources-in-one-task.md b/docs/recipes/using-multiple-sources-in-one-task.md index 39e3e3b23..422793783 100644 --- a/docs/recipes/using-multiple-sources-in-one-task.md +++ b/docs/recipes/using-multiple-sources-in-one-task.md @@ -1,7 +1,7 @@ # Using multiple sources in one task ```js -// npm install --save-dev gulp@next merge-stream +// npm install --save-dev gulp merge-stream var gulp = require('gulp'); var merge = require('merge-stream'); @@ -20,7 +20,7 @@ gulp.task('test', function() { `gulp.src` will emit files in the order they were added: ```js -// npm install gulp@next gulp-concat +// npm install gulp gulp-concat var gulp = require('gulp'); var concat = require('gulp-concat');