Skip to content

Commit

Permalink
Docs: Remove next tag from recipes (closes #2277)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Apr 27, 2019
1 parent d916276 commit 1693a11
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/delete-files-folder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/recipes/mocha-test-runner-with-gulp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/only-pass-through-changed-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/pass-arguments-from-cli.md
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
4 changes: 2 additions & 2 deletions docs/recipes/rollup-with-rollup-stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/run-grunt-tasks-from-gulp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/server-with-livereload-and-css-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/split-tasks-across-multiple-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/using-external-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions docs/recipes/using-multiple-sources-in-one-task.md
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 1693a11

Please sign in to comment.