Commit Graph

72 Commits

Author SHA1 Message Date
QWp6t
9eaffa3a2d Restructure theme, use autoloader 2016-03-11 18:00:05 -05:00
Dafydd Thomas
1cf7af695c Fixed build test by removing trailing space 2016-02-12 11:36:40 +00:00
Jake Cobley
9b8d641446 added safe:true option to cssnano 2016-02-11 22:46:05 +00:00
Jake Cobley
f93b7aab91 removed options from cssnano 2016-01-31 21:50:37 +00:00
Jake Cobley
9474fe8197 removed deprecated gulp-minify-css in favour of gulp-cssnano 2016-01-31 15:55:42 +00:00
QWp6t
24ca079c42 Drop support for older browsers 2015-11-05 12:50:22 -08:00
Ben Word
cd6095da82 Merge pull request #1496 from martinvd/patch-1
Fix source map paths
2015-06-20 20:45:10 -07:00
Austin Pray
6c0c69b618 Allow debugger statements in development JS
fixes https://github.com/roots/sage/issues/1480
2015-06-20 22:36:41 -05:00
martinvd
ca9d7a2bb5 Fix sourcemaps sourceRoot 2015-06-20 01:41:07 +02:00
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