Commit Graph

152 Commits (b18bf33a1998dbfa27dbc548392f8670ea69e07d)

Author SHA1 Message Date
Matt Gaunt d62b55be18 Adding navigation menu to styleguide 2014-10-01 14:10:12 +01:00
Addy Osmani d821eedc7f Clean-up 2014-09-26 09:35:37 +01:00
Sindre Sorhus e4edafa60a gulpfile - add `logPrefix` to the other browserSync instance
and single-quotes
2014-09-22 12:52:32 +02:00
Addy Osmani 4981e70ec1 Fixes #441 - add custom logPrefix for BrowserSync 2014-09-22 11:34:01 +01:00
Alex ef591cdc1a Output some error when require-dir tasks fails
It could be useful to see the results of the require tasks especially if there is an error.
2014-09-09 15:57:43 +02:00
Sindre Sorhus f8cfdff6aa gulpfile - fix indentation 2014-09-08 18:08:25 +02:00
Sindre Sorhus a50b72c36a bump gulp-autoprefixer 2014-09-08 18:05:36 +02:00
Matt Gaunt 5dfc295306 Adding watch to the styles for styleguide 2014-09-03 12:04:46 +01:00
Matt Gaunt 45f5f834ef Adding demo.scss 2014-09-03 11:47:19 +01:00
Matt Gaunt f224d3a833 RESTARTER ALL THE STYLES 2014-09-03 11:23:16 +01:00
Shane Osbourne c0a2e94cdb Simplify server configuration - remove 'baseDir' 2014-09-01 21:28:06 +01:00
Addy Osmani b3f1f93b1b Fix to new style-system not minifying output.
The new style updates were not minifying their final output. This fixes
that issue. We are keeping minification in the HTML task too in case
folks are still using build blocks.
2014-08-28 17:13:09 +01:00
Matt Gaunt 58fc333e0a Adding the comments from master into the branch 2014-08-21 11:07:30 +01:00
Matt Gaunt a2c8aa29f1 Fixed the gulp and gulp:serve tasks to work 2014-08-20 17:45:25 +01:00
Matt Gaunt 76a7284c63 Fixing up the html files to no longer require useref for CSS 2014-08-20 17:31:08 +01:00
Matt Gaunt 1b6bc0651f Moving styleguide around 2014-08-20 17:02:58 +01:00
Marcos Guimaraes Jr 778acb665b fix #340 2014-08-09 18:00:24 -07:00
Cătălin Mariș b130cba2a9 Fetch the `.htaccess` file via `npm` 2014-08-05 23:22:45 +03:00
Sindre Sorhus 599747de5c update to new useref API 2014-08-01 11:31:51 +02:00
Rob Wierzbowski 2864ce58fe Reduce to a single S/CSS task and watcher
- Outputs all Sass / CSS to .tmp
- Only compiles Sass files in the folder root Sass directory and those named
  specifically. In order for `changed` to work, users should only add files that
  have output files to their styles task, and let gulp-ruby-sass figure out the
  dependencies.w
2014-07-29 19:29:14 -04:00
Addy Osmani 5fa46cc704 Merge pull request #310 from webmakersteve/master
Compile SASS on Gulp serve task
2014-07-28 16:15:17 +01:00
Bo-Yi Wu d019dd9df4 remove unnecessary empty line. 2014-07-28 18:29:01 +08:00
Stephen Parente 0bd99c4720 SASS now compiles on serve 2014-07-25 18:06:03 -04:00
Paul Kinlan 7642e3d710 Removes https by default and provides some guidance for the developer about how to enable it 2014-07-22 21:20:39 +01:00
Paul Kinlan d4186df585 Adds 'https:true' to both serve task
This should fully enable HTTPS server testing.
2014-07-16 13:28:13 +01:00
Cătălin Mariș 2d13159e04 Move the `.htaccess` file into the `app` directory
Moving the file along with changing the `copy` task to also copy the
hidden files will ensure that the `.htaccess` file ends up in the root
of the `dist` directory, and thus, the site.
2014-07-14 21:20:42 +03:00
Addy Osmani 8f5c506bad Fixes #264 - copy fonts to dist 2014-07-08 15:53:00 +01:00
Addy Osmani 773d577d61 Fixes #253 - correctly minify styles 2014-07-07 13:07:57 +01:00
Santiago Valdarrama cc174ed4b6 Close GH-242: Handling scss compilation error. 2014-07-04 15:55:44 +02:00
Sindre Sorhus 8131b40193 gulpfile - simplify error handler 2014-07-04 13:36:23 +02:00
Sindre Sorhus c0310e649e gulpfile - centralize autoprefixer config 2014-07-04 13:35:14 +02:00
battaglr 9101631d78 Close GH-243: Vendor prefixes. Fixes #175 2014-07-04 13:14:36 +02:00
Valentin Klinghammer f71a54cc82 minifyHtml should only run on html files 2014-07-03 16:36:41 +02:00
Addy Osmani 637ebc2233 Add error handler for ruby-sass to fix #234 2014-07-03 11:01:48 +01:00
Sindre Sorhus 49bb52e54b tweak #217 2014-06-30 22:23:24 +02:00
Paul Kinlan 0665b24205 Close GH-217: Adds a gulp serve:dist command that uses the dist build process. Fixes #216. Fixes #215, Fixes #216 2014-06-30 22:18:52 +02:00
Sindre Sorhus b768937868 gulpfile - codestyle 2014-06-30 18:52:51 +02:00
Paul Kinlan a9cab1e419 Adding ignore filters to uncss 2014-06-30 17:40:20 +01:00
Maxi Ferreira 9bc0d2662d Added gulp task to copy files from app to dist 2014-06-27 23:20:04 -03:00
shinnn 51d4351de6 Preserve JavaScript license comment 2014-06-28 05:56:54 +09:00
Addy Osmani d9fd029236 Rebase and bring in #145 (h/t @stephenplusplus) 2014-06-27 21:31:54 +01:00
Sindre Sorhus 78e667c894 followup to #201 2014-06-27 20:43:40 +02:00
johnjbarton 5447038d6c Allow gulp task list to be extended.
As a starter kit, we want users to be able to customize.
As a source-based distribution we want users to stay updated.
By allowing users to customize web-starter-kit gulp
without editing gulpfile.js, they can rebase or merge future updates.

Impl: Apply gulp recipe 'Split tasks across multiple files'
https://github.com/gulpjs/gulp/blob/master/docs/recipes/
split-tasks-across-multiple-files.md
2014-06-27 11:32:08 -07:00
Addy Osmani 421d0edf14 Merge pull request #182 from matheusazzi/patch-2
No longer optimize images on serve.
2014-06-27 10:26:08 +01:00
Matheus Azzi ce68fe1264 Remove reload from the images task 2014-06-27 01:42:31 -03:00
Sindre Sorhus eda114d4f8 Merge pull request #187 from robwierzbowski/patch-3
Inject CSS styles
2014-06-27 00:39:25 +02:00
Rahul Doshi de353a0163 Handle error event generated by jshint fail reporter
Closes #194
2014-06-26 21:33:32 +02:00
Shane Osbourne 6e0576729a Removed reference to BrowserSync running instance 2014-06-26 08:10:04 +01:00
Rob Wierzbowski e66c6251fc Inject CSS styles
Looks like styles are reloading the whole browser. This should inject them without a full reload. I tested with 10 simultaneous CSS file changes, seems to work well.
2014-06-25 22:39:13 -04:00
Rob Wierzbowski 08d5080295 Give serve preference to files in .tmp
From my testing, the browserSync server prefers files in app over files in .tmp when they have the same name. .tmp files should be preferred, since any file in .tmp has been processed in some way (e.g., a main.css file that's autoprefixed into .tmp, or an index.html that contains some templating that's precompiled into .tmp).
2014-06-25 19:57:36 -04:00
Sindre Sorhus 61fb1a6e2f gulpfile - don't need `init` anymore 2014-06-26 00:14:19 +02:00
Rahul Doshi 7848faeefd Close GH-171: Livereload breaks on jshint error(s) when running `gulp serve`. Fixes #169 2014-06-26 00:12:00 +02:00
Matheus Azzi de30295b0f Don't optimize images on serve
(#180)[http://github.com/google/web-starter-kit/issues/180]
2014-06-25 12:07:34 -03:00
Stephen Sawchuk c01e8616a0 fixes #132 - style configuration. 2014-06-21 19:39:05 -04:00
Sindre Sorhus 89683918ff simplify clean task with `del`
https://github.com/sindresorhus/del
2014-06-21 22:32:57 +02:00
JohnH- 6e6a38f1e9 Fixed so that gulp runs jshint more than once 2014-06-20 17:07:38 -04:00
Sindre Sorhus 230cf1f79c convert to 2 space indentation 2014-06-20 17:20:44 +02:00
Shane Osbourne d0c562739f Update BrowserSync version to 1.0.0 2014-06-20 15:52:08 +01:00
Rob Richardson c1be8d59fd Close GH-80: avoid gulp.start(). 2014-06-20 01:36:01 +02:00
Sindre Sorhus 2a3f64eaea gulpfile - semicolon 2014-06-19 16:42:10 +02:00
Addy Osmani 0ab6aa43aa Expand on UnCSS comments 2014-06-19 14:06:29 +01:00
Addy Osmani 367f2a2f0e Comment-up the Gulpfile 2014-06-19 13:14:21 +01:00
Stephen Sawchuk 346b81213c formatty things. 2014-06-19 07:42:22 -04:00
Addy Osmani d8d00814c4 Fixes for style guide image paths, style guide component linking. 2014-06-19 12:21:01 +01:00
Stephen Sawchuk 2dbba8c8cc rename title for styles:components task. 2014-06-18 21:41:18 -04:00
Stephen Sawchuk e2e033425e Rig up the gulpfile. 2014-06-18 21:37:49 -04:00
Stephen Sawchuk bf48c25276 use a .tmp folder for sass styles. 2014-06-18 20:34:50 -04:00
Stephen Sawchuk 67ea6e1a61 autoprefixr back on for app. it had something to say about our current css files. 2014-06-18 20:12:36 -04:00
Stephen Sawchuk 5e090e5849 fixes #71 - restructure style task. 2014-06-18 15:58:06 -04:00
Addy Osmani a967796146 Revise styles.scss, styles.css > components 2014-06-18 12:15:32 +01:00
Addy Osmani e6743adf50 Addressing HTML minifier feedback 2014-06-12 13:20:49 +01:00
Addy Osmani ab091b1a93 Adds alternative html minification for #54 2014-06-11 19:09:52 +01:00
Sindre Sorhus aebafc7330 gulpfile - make livereload on vanilla CSS files instantaneous
it previously ran the moot Sass process which slowed it down to ~2sec.
2014-06-10 19:40:23 +02:00
Addy Osmani 31e47c3d65 Close GH-47: Adds support for UnCSS.. 2014-06-10 14:23:49 +02:00
Sindre Sorhus 1239f91b4f gulpfile - turn off lr notification in the browser when loaded
fixes #46
2014-06-09 16:24:30 +02:00
Sindre Sorhus f13e23bd16 gulpfile - no longer needs to change cwd
it was fixed upstream: https://github.com/tkellen/node-liftoff/issues/16

Just `npm install -g gulp` to update.
2014-06-09 15:02:39 +02:00
Ian Barber 2dc5f82cef Merge pull request #38 from yeoman/copyright
Add copyright headers as requested.
2014-06-09 13:43:43 +01:00
Addy Osmani 9143cb9ffa Update PageSpeed task now that nokey is default 2014-06-09 10:09:12 +01:00
Addy Osmani ddb5af393a Add copyright headers as requested.
The open-source team at Google have requested that all HTML, CSS and JS
files include the relevant copyright headers before we can flip the
switch on moving this to github.com/google.

Adding them in as requested.
2014-06-09 09:56:26 +01:00
Sindre Sorhus 6ef7ca891b gulpfile - don't need `size` in `jshint` task 2014-06-07 20:12:26 +02:00
Sindre Sorhus 506de14a39 gulpfile - tweak pageres task 2014-06-07 19:59:39 +02:00
Sindre Sorhus c7dcc2cccd gulpfile - add titles to the size plugin
so it's easier to see which apply to which task
2014-06-07 19:54:45 +02:00
Sindre Sorhus 81bf15ea81 gulpfile - be explicit about supporting arrays in `watch` 2014-06-07 19:51:04 +02:00
Sindre Sorhus 69492b47b5 gulpfile - remove `fonts` task
fonts are passed through in the `images` task anyways

this also slowed the build to a halt as it searched through the node_modules folder
2014-06-07 19:49:08 +02:00
Sindre Sorhus 7a94a984e4 gulpfile - use rimraf instead of gulp-clean
more gulpy
2014-06-07 19:42:01 +02:00
Sindre Sorhus a9b72e6fee gulpfile - various tweaks 2014-06-07 19:40:41 +02:00
Sindre Sorhus a52f3a79f8 gulpfile - switch to gulp-if for more succinct syntax 2014-06-07 19:34:02 +02:00
Addy Osmani ce6741d325 Merge pull request #37 from yeoman/psi
Switch to PSI for pagespeed reporting
2014-06-06 14:37:20 +01:00
Addy Osmani cf3f357039 Dont return on pagespeed 2014-06-06 14:35:58 +01:00
Sindre Sorhus 45b5bcb3c4 better fix for #36
// @gauntface
2014-06-06 14:02:13 +02:00
Matt Gaunt 7a2244357b Fixing up the subdirectory watch and adding support for subdirectory building 2014-06-06 12:27:56 +01:00
Addy Osmani 9f67a682d8 Switch to PSI for pagespeed reporting 2014-06-06 11:59:34 +01:00
Sindre Sorhus d53f3abfc6 fix running server from subfolders - fixes #36 2014-06-06 12:03:51 +02:00
Sindre Sorhus 9ebc2cfe8f gulpfile - let gulp know when we're done 2014-06-06 09:33:26 +02:00
Addy Osmani 3672fabaf2 scripts -> jshint, add to build process, expand watch. 2014-05-28 12:07:50 +01:00
Pascal Hartig 5e19467d4f Provide a sample hosted URL
This eliminates the ambiguity which format the URL should be in.
2014-05-18 14:40:57 +01:00
Sindre Sorhus d0b4eaf362 minor tweaks in gulpfile and readme 2014-05-16 11:59:52 +02:00
Sindre Sorhus e54427185a code style tweaks, gulpfile improvements and remove unused deps 2014-05-16 10:18:34 +02:00
Addy Osmani 1b6cb76d1a Gulp: correct paths for Sass styles, icons and fonts. 2014-05-08 19:00:30 +01:00
Addy Osmani a4289608a0 Close GH-13: Add PageSpeed task. Closes #12. 2014-05-07 11:33:42 +02:00