diff --git a/README.md b/README.md index 8a5ddebab..ca49c3c2a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

The streaming build system

diff --git a/docs/API.md b/docs/API.md index d9239cce4..b5fac15bc 100644 --- a/docs/API.md +++ b/docs/API.md @@ -9,8 +9,8 @@ Jump to: ### gulp.src(globs[, options]) Emits files matching provided glob or an array of globs. -Returns a [stream](http://nodejs.org/api/stream.html) of [Vinyl files](https://github.com/gulpjs/vinyl-fs) -that can be [piped](http://nodejs.org/api/stream.html#stream_readable_pipe_destination_options) +Returns a [stream](https://nodejs.org/api/stream.html) of [Vinyl files](https://github.com/gulpjs/vinyl-fs) +that can be [piped](https://nodejs.org/api/stream.html#stream_readable_pipe_destination_options) to plugins. ```javascript diff --git a/docs/CLI.md b/docs/CLI.md index a536c913f..eab0b6b7e 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -18,7 +18,7 @@ The CLI adds process.env.INIT_CWD which is the original cwd it was launched from #### Task specific flags -Refer to this [StackOverflow](http://stackoverflow.com/questions/23023650/is-it-possible-to-pass-a-flag-to-gulp-to-have-it-run-tasks-in-different-ways) link for how to add task specific flags +Refer to this [StackOverflow](https://stackoverflow.com/questions/23023650/is-it-possible-to-pass-a-flag-to-gulp-to-have-it-run-tasks-in-different-ways) link for how to add task specific flags ### Tasks diff --git a/docs/FAQ.md b/docs/FAQ.md index aa8886ab2..31e11df77 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -43,7 +43,7 @@ gulp updates can be found on the following twitters: Yes, come chat with us in #gulpjs on [Freenode]. [Writing a gulp plugin]: writing-a-plugin/README.md -[gulp introduction slideshow]: http://slid.es/contra/gulp -[Freenode]: http://freenode.net/ -[search-gulp-plugins]: http://gulpjs.com/plugins/ +[gulp introduction slideshow]: https://slid.es/contra/gulp +[Freenode]: https://freenode.net/ +[search-gulp-plugins]: https://gulpjs.com/plugins/ [npm plugin search]: https://npmjs.org/browse/keyword/gulpplugin diff --git a/docs/README.md b/docs/README.md index 39dc8469e..d72ff7d2b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -21,7 +21,7 @@ The community has written [recipes](recipes#recipes) for common gulp use-cases. ## Still got questions? -Post on [StackOverflow with a #gulp tag](http://stackoverflow.com/questions/tagged/gulp) or come chat with us in [#gulpjs](http://webchat.freenode.net/?channels=gulpjs) on [Freenode](http://freenode.net/). +Post on [StackOverflow with a #gulp tag](https://stackoverflow.com/questions/tagged/gulp) or come chat with us in [#gulpjs](https://webchat.freenode.net/?channels=gulpjs) on [Freenode](https://freenode.net/). ## Books @@ -32,14 +32,14 @@ Post on [StackOverflow with a #gulp tag](http://stackoverflow.com/questions/tagg ## Articles * [Tagtree intro to gulp video](http://tagtree.io/gulp) * [Introduction to node.js streams](https://github.com/substack/stream-handbook) -* [Video introduction to node.js streams](http://www.youtube.com/watch?v=QgEuZ52OZtU) -* [Getting started with gulp (by @markgdyr)](http://markgoodyear.com/2014/01/getting-started-with-gulp/) +* [Video introduction to node.js streams](https://www.youtube.com/watch?v=QgEuZ52OZtU) +* [Getting started with gulp (by @markgdyr)](https://markgoodyear.com/2014/01/getting-started-with-gulp/) * [A cheatsheet for gulp](https://github.com/osscafe/gulp-cheatsheet) * [Why you shouldn’t create a gulp plugin (or, how to stop worrying and learn to love existing node packages)](http://blog.overzealous.com/post/74121048393/why-you-shouldnt-create-a-gulp-plugin-or-how-to-stop) * [Inspiration (slides) about why gulp was made](http://slid.es/contra/gulp) * [Building With Gulp](http://www.smashingmagazine.com/2014/06/11/building-with-gulp/) * [Gulp - The Basics (screencast)](https://www.youtube.com/watch?v=dwSLFai8ovQ) -* [Get started with gulp (video series)](http://www.youtube.com/playlist?list=PLRk95HPmOM6PN-G1xyKj9q6ap_dc9Yckm) +* [Get started with gulp (video series)](https://www.youtube.com/playlist?list=PLRk95HPmOM6PN-G1xyKj9q6ap_dc9Yckm) * [Optimize your web code with gulp](http://www.linuxuser.co.uk/tutorials/optimise-your-web-code-with-gulp-js) * [Automate Your Tasks Easily with Gulp.js ](https://scotch.io/tutorials/automate-your-tasks-easily-with-gulp-js) @@ -53,7 +53,7 @@ Post on [StackOverflow with a #gulp tag](http://stackoverflow.com/questions/tagg All the documentation is covered by the CC0 license *(do whatever you want with it - public domain)*. -[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/) +[![CC0](https://i.creativecommons.org/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/) To the extent possible under law, [Fractal](http://wearefractal.com) has waived all copyright and related or neighboring rights to this work. diff --git a/docs/getting-started.md b/docs/getting-started.md index 057dca3b0..d859dc3bd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -67,4 +67,4 @@ Using gulpfile ~/my-project/gulpfile.js - [API Documentation](API.md) - The programming interface, defined - [Recipes](recipes) - Specific examples from the community - [In Depth Help](https://travismaynard.com/writing/getting-started-with-gulp) - A tutorial from the the guy who wrote the book -- [Plugins](http://gulpjs.com/plugins/) - Building blocks for your gulp file +- [Plugins](https://gulpjs.com/plugins/) - Building blocks for your gulp file diff --git a/docs/recipes/browserify-transforms.md b/docs/recipes/browserify-transforms.md index e1f11dbc3..6f343a475 100644 --- a/docs/recipes/browserify-transforms.md +++ b/docs/recipes/browserify-transforms.md @@ -1,6 +1,6 @@ # Browserify + Transforms -[Browserify](http://github.com/substack/node-browserify) has become an important and indispensable +[Browserify](https://github.com/substack/node-browserify) has become an important and indispensable tool but requires being wrapped before working well with gulp. Below is a simple recipe for using Browserify with transforms. diff --git a/docs/recipes/browserify-uglify-sourcemap.md b/docs/recipes/browserify-uglify-sourcemap.md index 756b89ac3..6b822f28e 100644 --- a/docs/recipes/browserify-uglify-sourcemap.md +++ b/docs/recipes/browserify-uglify-sourcemap.md @@ -1,6 +1,6 @@ # Browserify + Uglify2 with sourcemaps -[Browserify](http://github.com/substack/node-browserify) has become an important and indispensable +[Browserify](https://github.com/substack/node-browserify) has become an important and indispensable tool but requires being wrapped before working well with gulp. Below is a simple recipe for using Browserify with full sourcemaps that resolve to the original individual files. diff --git a/docs/recipes/fast-browserify-builds-with-watchify.md b/docs/recipes/fast-browserify-builds-with-watchify.md index ef65e7687..0ac89db32 100644 --- a/docs/recipes/fast-browserify-builds-with-watchify.md +++ b/docs/recipes/fast-browserify-builds-with-watchify.md @@ -1,10 +1,10 @@ # Fast browserify builds with watchify -As a [browserify](http://github.com/substack/node-browserify) project begins to expand, the time to bundle it slowly gets longer and longer. While it might start at 1 second, it's possible to be waiting 30 seconds for your project to build on particularly large projects. +As a [browserify](https://github.com/substack/node-browserify) project begins to expand, the time to bundle it slowly gets longer and longer. While it might start at 1 second, it's possible to be waiting 30 seconds for your project to build on particularly large projects. -That's why [substack](http://github.com/substack) wrote [watchify](http://github.com/substack/watchify), a persistent browserify bundler that watches files for changes and *only rebuilds what it needs to*. This way, that first build might still take 30 seconds, but subsequent builds can still run in under 100ms – which is a huge improvement. +That's why [substack](https://github.com/substack) wrote [watchify](https://github.com/substack/watchify), a persistent browserify bundler that watches files for changes and *only rebuilds what it needs to*. This way, that first build might still take 30 seconds, but subsequent builds can still run in under 100ms – which is a huge improvement. -Watchify doesn't have a gulp plugin, and it doesn't need one: you can use [vinyl-source-stream](http://github.com/hughsk/vinyl-source-stream) to pipe the bundle stream into your gulp pipeline. +Watchify doesn't have a gulp plugin, and it doesn't need one: you can use [vinyl-source-stream](https://github.com/hughsk/vinyl-source-stream) to pipe the bundle stream into your gulp pipeline. ``` javascript 'use strict'; diff --git a/docs/recipes/rollup-with-rollup-stream.md b/docs/recipes/rollup-with-rollup-stream.md index abee2dd32..5311fd510 100644 --- a/docs/recipes/rollup-with-rollup-stream.md +++ b/docs/recipes/rollup-with-rollup-stream.md @@ -1,6 +1,6 @@ # Rollup with rollup-stream -Like Browserify, [Rollup](http://rollupjs.org/) is a bundler and thus only fits naturally into gulp if it's at the start of the pipeline. Unlike Browserify, Rollup doesn't natively produce a stream as output and needs to be wrapped before it can take this position. [rollup-stream](https://github.com/Permutatrix/rollup-stream) does this for you, producing output just like that of Browserify's `bundle()` method—as a result, most of the Browserify recipes here will also work with rollup-stream. +Like Browserify, [Rollup](https://rollupjs.org/) is a bundler and thus only fits naturally into gulp if it's at the start of the pipeline. Unlike Browserify, Rollup doesn't natively produce a stream as output and needs to be wrapped before it can take this position. [rollup-stream](https://github.com/Permutatrix/rollup-stream) does this for you, producing output just like that of Browserify's `bundle()` method—as a result, most of the Browserify recipes here will also work with rollup-stream. ## Basic usage ```js diff --git a/docs/recipes/server-with-livereload-and-css-injection.md b/docs/recipes/server-with-livereload-and-css-injection.md index 78a9b38f4..7a14a667b 100644 --- a/docs/recipes/server-with-livereload-and-css-injection.md +++ b/docs/recipes/server-with-livereload-and-css-injection.md @@ -1,6 +1,6 @@ # Server with live-reloading and CSS injection -With [BrowserSync](http://browsersync.io) and gulp, you can easily create a development server that is accessible to any device on the same WiFi network. BrowserSync also has live-reload built in, so there's nothing else to configure. +With [BrowserSync](https://browsersync.io) and gulp, you can easily create a development server that is accessible to any device on the same WiFi network. BrowserSync also has live-reload built in, so there's nothing else to configure. First install the module: @@ -118,5 +118,5 @@ gulp serve ## Extras -- Live reload, CSS injection and scroll/form syncing works seamlessly inside of [BrowserStack](http://www.browserstack.com/) virtual machines. +- Live reload, CSS injection and scroll/form syncing works seamlessly inside of [BrowserStack](https://www.browserstack.com/) virtual machines. - Set `tunnel: true` to view your local site at a public URL (complete with all BrowserSync features). diff --git a/docs/writing-a-plugin/README.md b/docs/writing-a-plugin/README.md index 0e0586694..b5042a600 100644 --- a/docs/writing-a-plugin/README.md +++ b/docs/writing-a-plugin/README.md @@ -11,12 +11,12 @@ If you plan to create your own Gulp plugin, you will save time by reading the fu ### Streaming file objects -A gulp plugin always returns a stream in [object mode](http://nodejs.org/api/stream.html#stream_object_mode) that does the following: +A gulp plugin always returns a stream in [object mode](https://nodejs.org/api/stream.html#stream_object_mode) that does the following: -1. Takes in [vinyl File objects](http://github.com/gulpjs/vinyl) -2. Outputs [vinyl File objects](http://github.com/gulpjs/vinyl) (via `transform.push()` and/or the plugin's callback function) +1. Takes in [vinyl File objects](https://github.com/gulpjs/vinyl) +2. Outputs [vinyl File objects](https://github.com/gulpjs/vinyl) (via `transform.push()` and/or the plugin's callback function) -These are known as [transform streams](http://nodejs.org/api/stream.html#stream_class_stream_transform_1) +These are known as [transform streams](https://nodejs.org/api/stream.html#stream_class_stream_transform_1) (also sometimes called through streams). Transform streams are streams that are readable and writable; they manipulate objects as they're being passed through. @@ -195,6 +195,6 @@ if (someCondition) { If you're unfamiliar with streams, you will need to read up on them: * https://github.com/substack/stream-handbook (a MUST read) -* http://nodejs.org/api/stream.html +* https://nodejs.org/api/stream.html Other libraries that are not file manipulating through streams but are made for use with gulp are tagged with the [gulpfriendly](https://npmjs.org/browse/keyword/gulpfriendly) keyword on npm.