Commit Graph

117 Commits

Author SHA1 Message Date
Ben Word
db58d7a09b Sage 9.0.0-alpha.2 2016-09-04 20:48:46 -06:00
QWp6t
f6bdc7b48c Refactor build routine and switch to airbnb style (#1703)
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated

[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.

To clarify, review the following example.

Before:
```
{
  "main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
  "main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
  "customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```

After:
```
{
  "scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
  "styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
  "scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00
cfxd
6394f81d5f Fix package.json whitespace (#1707) 2016-09-02 15:40:17 -07:00
Ben Word
f8e2248913 Sage 9.0.0-alpha.1 2016-08-30 00:15:06 -06:00
QWp6t
045bb9e727 Merge sage-9 into master 2016-08-29 19:18:51 -07:00
QWp6t
4d58f88166 Squashing asset pipeline bugs and other stuff
1. Update dependencies
   - Add font-awesome as dependency
   - Switch to Bootstrap 4 dev branch
   - Remove eslint airbnb style (we're not using it)

2. Imported images and fonts should go into dist/images
   and dist/fonts, respectively

3. Only lint our own code, not external code (fixes #1633)
2016-08-13 07:49:43 -07:00
QWp6t
447c24d082 Update dependencies, incl Bootstrap 4 alpha 3 2016-08-06 18:51:06 -07:00
Ben Word
72b2d89bcc Update required Node.js version 2016-07-20 20:08:48 -06:00
Nicolas Coden
2d3f25b3b6 Update gulp-if, fix #1648
See https://github.com/roots/sage/issues/1648
2016-05-22 11:25:12 +02:00
Darren Jacoby
c1fed13ca6 Bootstrap NPM ^4.0.0-alpha.2 2016-05-21 18:36:38 +02:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00
Patrick Vézina
c2658fc5b2 add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist/images/foo/bar.jpg' 2016-03-24 11:07:45 -04:00
Patrick Vézina
9bb62336a8 remove env variable in npm scrpts; rename watch script for clarity 2016-03-15 22:14:04 -04:00
Patrick Vézina
7fa53e3e37 remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolders in dist/ 2016-03-15 10:47:02 -04:00
Patrick Vézina
7d1baa0fe7 webpack implementation 2016-03-13 17:08:30 -04:00
QWp6t
3f9b112ffa Restructure theme, use autoloader 2016-03-11 18:10:05 -05:00
Jake Cobley
463d6bcf07 removed deprecated gulp-minify-css in favour of gulp-cssnano 2016-03-11 18:09:45 -05:00
Ben Word
13c46811ba Ben Word -> Roots 2016-03-11 18:06:28 -05:00
QWp6t
e51e41e0eb Update dependencies, switch to eslint 2016-03-11 18:03:14 -05:00
QWp6t
9eaffa3a2d Restructure theme, use autoloader 2016-03-11 18:00:05 -05:00
Ben Word
5802138e78 Sage 8.4.2 2016-02-19 15:50:10 -07:00
Jake Cobley
9474fe8197 removed deprecated gulp-minify-css in favour of gulp-cssnano 2016-01-31 15:55:42 +00:00
Ben Word
45fdf41925 Sage 8.4.1 2016-01-27 09:03:19 -08:00
Ben Word
c3b1a12a3e Sage 8.4.0 2015-12-01 00:02:49 -06:00
Ben Word
654719e243 Sage 8.3.0 2015-10-13 09:34:05 -05:00
Palaniappan
8d9a56670f Update newer versions of dependencies
Update Bootstrap sass and rename

Update main.scss

Update newer versions of dependencies

Update newer versions of dependencies

Update Bootstrap sass and rename

Update package
2015-08-23 14:07:14 +05:30
Ben Word
262b30e660 Sage 8.2.1 [ci skip] 2015-05-07 00:13:19 -05:00
Austin Pray
8c3c5214c9 Bump browsersync and gulp-sass
https://github.com/dlmanning/gulp-sass/issues/247
https://github.com/BrowserSync/browser-sync/issues/606
2015-05-06 23:23:16 -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
Ben Word
13a7c898e6 Sage 8.2.0 2015-04-29 10:42:02 -05:00
Austin Pray
78b147a767 Pin browser-sync at 2.5.0
because 2.6.0 has a regression
ref https://github.com/BrowserSync/browser-sync/issues/573
2015-04-12 21:17:03 -05:00
Austin Pray
8a37b24a3e Bump gulp-load-plugins to 0.10.0 2015-04-11 18:57:45 -05: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
Ben Word
27cc495b2f Sage 8.1.1 2015-03-30 23:29:34 -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
Julien Melissas
cb3c26e2cd Bumped all the deps (except for pleeease). 2015-03-22 22:52:15 -04:00
Ben Word
e63fdafdff Temporary sourcemaps fix - Ref #1386 2015-03-18 13:56:26 -05:00
Ben Word
632fa83136 Sage 8.1.0 2015-03-13 11:01:10 -05:00
Austin Pray
4a107331d3 Bump gulp-plumber to 1.0.0 2015-03-10 22:59:14 -05:00
Scott Walkinshaw
c5587b6c34 Bump Node.js requirement to 0.12.0
This is the latest stable release which also contains the latest npm so
there's no need for a separate requirement for it.
2015-02-27 18:36:47 -06:00
Ben Word
018d83969c Sage 8.0.1 2015-02-26 16:17:48 -06:00
Austin Pray
bb4404c3d4 Adds windows compatibilty
Bumps asset-builder to 1.0.1

Closes https://github.com/roots/sage/issues/1351
2015-02-26 16:10:56 -06:00
Austin Pray
26c736d757 Bump yargs 2015-02-22 17:40:48 -06:00
Julien Melissas
6b0f42044b Bumping gulp-less to 3.0.1 2015-02-22 00:31:14 -05:00
Ben Word
a8819028f0 Update links 2015-02-20 15:06:12 -06:00
Austin Pray
7c695cc30e Bump asset-builder and yargs 2015-02-12 22:50:16 -06:00
Austin Pray
2f48ce289f bump gulp-less for 0.12 2015-02-12 22:48:58 -06:00
Ben Word
9423042956 Bump BrowserSync version 2015-02-11 00:56:35 -06:00
Austin Pray
8c374e2136 Require the latest version of npm
The npm that ships with 0.10 is 1.2.x and it is riddled with
race conditions.
2015-02-05 01:22:06 -06:00