Enrique Balleste
696dd15df3
Keep SVG element IDs during gulp images task
2015-05-16 16:37:53 -04:00
Joe Maller
e0cce8ff9d
BrowserSync task stream reloading
...
See https://github.com/roots/sage/pull/1457#issuecomment-99560449
This is option 2.
2015-05-06 21:39:30 -04:00
Joe Maller
8d4b4de691
update BrowserSync to latest
2015-05-06 11:40:49 -04:00
Austin Pray
cf928c85eb
Turn off advanced CSS optimizations
2015-05-04 11:25:12 -05:00
Joe Maller
4a9b066df9
Remove gulp-load-plugins dependency
...
Simplify the gulpfile by removing gulp-load-plugins dependency.
2015-04-30 17:12:47 -04:00
QWp6t
8699a299c9
Limit file patterns in gulp watch
2015-04-19 16:34:39 -07:00
Austin Pray
75e3579e3d
Switch from yargs to minimist
...
For our simple usecase we do not need the extra functionality of yargs.
This removes 4 dependencies from our dependency graph.
https://github.com/bcoe/yargs
https://github.com/substack/minimist
2015-04-11 13:16:41 -05:00
Austin Pray
c09410c927
Removes gulp-pleeease dependency
...
This gulp plugin was more trouble than it was worth.
ref https://github.com/roots/sage/issues/1386
ref https://discourse.roots.io/t/sourcemaps-no-longer-working-as-expected-with-sage-update/3022/1
2015-03-30 23:23:15 -05:00
Austin Pray
39caa2d391
Run styles and scripts in sequence
...
Prevents potential race condition where styles and scripts write to the
manifest at the same time
ref https://github.com/roots/sage/issues/1398
Updates changelog
2015-03-30 19:48:56 -05:00
Kalen Johnson
8a897f0ff2
Watch manifest.json
...
Working on a project, when I want to modify manifest.json it helps the workflow if I don't need to run `gulp` every time I make a change.
2015-03-13 13:57:49 -07:00
Kalen Johnson
d8a24db287
Run build if bower.json is changed
2015-03-10 15:50:25 -07:00
Austin Pray
ad4523fef6
fix less breaking during watch on error
...
If the `--production` flag is set: hard fail the build if there is a
precompiler error. If unset, log an error and end the task
successfully.
fixes https://github.com/roots/roots/issues/1288
2015-02-23 19:02:57 -06:00
Austin Pray
6c988aa533
Readds wiredep as dep to styles task
...
Wiredep runs automatically as a part of the `gulp` task now
2015-02-23 18:38:27 -06:00
Austin Pray
27cc623c53
Only save a wiredepped file if Sha1 differs
...
fixes https://github.com/roots/roots/issues/1340
2015-02-23 16:37:42 -06:00
Ben Word
75c0dc826f
🔍
2015-02-19 11:31:26 -06:00
Ben Word
f9803004bc
Disable removeUnknownsAndDefaults on svgo
2015-02-12 16:40:09 -06:00
Ben Word
8c8eff1ab2
Add fonts and images to gulp watch
2015-02-11 01:15:27 -06:00
Ben Word
71b753eaca
Update BrowserSync whitelist/blacklist
...
Ref #1298
Ref https://github.com/roots/roots/issues/1298#issuecomment-72854302
Ref https://github.com/BrowserSync/browser-sync/issues/373#issuecomment-72854259
2015-02-11 00:58:56 -06:00
Julien Melissas
28a8642578
Added wp-admin pages to browserSync ignore path.
...
Code from https://github.com/roots/roots/issues/1298#issuecomment-72369925
Closes https://github.com/roots/roots/issues/1298
2015-02-01 11:47:12 -05:00
Austin Pray
83287a854b
Merge pull request #1293 from austinpray/8.0.0
...
Documents BrowserSync in gulpfile.
2015-01-30 09:13:45 -06:00
Austin Pray
c3f559b818
Fixes browsersync hard refresh
...
Whitelists js and css and does not send maps to browsersync.
ref: https://github.com/roots/roots/issues/1287#issuecomment-72085636
ref: http://discourse.roots.io/t/gulpfile-with-browsersync/2834/2
2015-01-29 14:13:58 -06:00
Austin Pray
073412312d
Documents BrowserSync in gulpfile.
...
Cleans up capitalization and punctuation.
Cleans up example code formatting
2015-01-29 01:10:54 -06:00
Eric Wafford
226f0f9fc7
fix a few errors in notes of gulpfile
2015-01-28 14:42:44 -06:00
Eric Wafford
805e123a90
remove lodash from gulpfile and package.json
2015-01-28 14:01:02 -06:00
Austin Pray
c85d059239
Switches from livereload to browsersync
...
Formatting
Removes references to livereload
Removes enqueued livereload client
2015-01-28 09:22:05 -06:00
guix
cf4f58d5cc
localhost proxy by default
2015-01-28 07:49:40 +01:00
guix
3735730569
browserSync
2015-01-28 07:40:49 +01:00
Austin Pray
c6fd38afc1
Fixes revved files base
2015-01-25 17:20:57 -06:00
Austin Pray
55367f4106
Updates rev documentation
2015-01-24 13:57:44 -06:00
Austin Pray
d5d2d02459
Fixes livereload
...
If the environment is development -> try loading the livereload client
being served by `gulp watch`
2015-01-24 13:17:25 -06:00
Austin Pray
c95261e8a8
Merge branch '8.0.0' of github.com:roots/roots into fix-gulp-rev
...
Conflicts:
gulpfile.js
package.json
2015-01-24 11:41:59 -06:00
Austin Pray
ae62873779
Adds JSCS for gulpfile and scripts
...
install JSCS globally npm install jscs -g
use `npm run jscs`
2015-01-24 10:26:30 -06:00
Austin Pray
c60b9052bf
Enhance asset revving
...
conditional asset revving based on --production
make assets.php respect new asset revving flow
2015-01-23 03:13:01 -06:00
Austin Pray
c6a0f6eab9
Reworks asset revving
...
fixes https://github.com/roots/roots/issues/1266
2015-01-19 15:19:26 -06:00
Austin Pray
2e62ebe8ff
Fixes watch and wiredep
...
wiredep now only touches your files if the destination file is different
from the source file
2015-01-17 08:45:56 -06:00
Austin Pray
2009419a5d
Fixes watch task
2015-01-16 00:23:44 -06:00
Austin Pray
6bb9fb21cb
Use new manifest format
...
Simplifies and consolidates gulp tasks
Adds a --production flag to disable source maps
Uses pleeease.io for css optimization
2015-01-15 12:06:52 -06:00
Austin Pray
b9722e93b5
fixes wiredep task
2015-01-04 20:04:07 -06:00
Ben Word
63a2be27bf
Be consistent
2014-12-06 22:34:25 -06:00
Scott Walkinshaw
f13d52d38a
Use csswring and autoprefixer via postcss
...
csswring supports minification and sourcemaps
2014-12-03 18:44:59 -05:00
Austin Pray
063a77d149
Refactor: remove manifest file concerns
...
https://github.com/austinpray/asset-builder
Moves all manifest parsing concerns to separate node module
2014-11-24 14:23:15 -06:00
Austin Pray
df004917b7
Use wiredep for sass and less injection
...
https://github.com/taptapship/wiredep
all third-party deps are injected via wiredep rather than manually managed
2014-11-24 12:42:52 -06:00
Austin Pray
e2091ef880
Implement JSON file based asset pipeline
...
Adds manifest.json which contains all of the mappings for the assets
ref: https://github.com/roots/roots/pull/1138#issuecomment-62593715
Prune and update NPM deps
2014-11-24 12:42:41 -06:00
Austin Pray
75db78a9a1
Remove disparity between dev and prod gulp tasks
...
removes `gulp dev` in favor of `gulp`
adds `gulp --rev` to produce revved asset manifest
adds `gulp --tasks` to the readme
removes postinstall script
removes bower dep
2014-11-24 12:42:30 -06:00
Austin Pray
3a4ae77b1e
Reorganizes asset file structure
...
Separates assets into
- Source assets: `assets`
- Compiled assets: `dist`
Edits assets.php to reflect changes
Removes '.min' from filenames
Fixes:
- removes 'clean' from build step.
2014-11-24 12:34:11 -06:00
Ben Word
c866f4532d
Use main-bower-files to copy fonts
2014-11-14 23:41:38 -06:00
Ben Word
c3379fabd8
Add gulp-clean
2014-11-14 18:58:19 -06:00
Michael Silber
087fd5878a
Watch bower.json for override changes, installs, and uninstalls
2014-11-13 15:27:19 -05:00
Ben Word
337f64d99c
Add fonts and images tasks to dev
2014-11-11 12:17:51 -06:00
Kalen Johnson
52cd504c27
Added editor-style build to dev and build tasks
2014-10-31 12:24:57 -07:00