Commit Graph

145 Commits

Author SHA1 Message Date
QWp6t
de3bce92a9 Add support for HTML injection (#1817) 2017-01-21 16:34:45 -08:00
QWp6t
4adbc347c2 Fix browsersync (#1815)
* Update dependencies
* Remove monkey-hot-loader
* Use webpack-merge instead of util/mergeWithConcat()
* Fix: copyglobs plugin `after-emit` is bound twice
* NoErrorsPlugin() is deprecated in favor of NoEmitOnErrorsPlugin()
* webpack-dev-middleware should use same publicPath as compiler
* webpack-hot-middleware/client should be prepended to entries
* Browser should refresh when HMR fails
* Bootstrap package.json has correct main property
Sometime between alpha 2 and 3, package.json was pointing to nonexistent
file, so we referenced file manually in our repo. Underlying issue was
fixed by alpha 4, so we no longer have to specify full path to file.
2017-01-18 23:58:37 -08:00
Ben Word
865ade536b Remove Font Awesome 2017-01-13 11:57:33 -07:00
Ben Word
7a3e792d73 Update CHANGELOG, bump version [ci skip] 2017-01-11 16:12:57 -07:00
Ben Word
21c6d66942 Merge pull request #1800 from psorensen/issue/1797
Update clean task name
2017-01-11 16:01:36 -07:00
Peter Sorensen
7d87c3d7e3 rename clean task
#1797
2017-01-10 12:04:33 -08:00
Scott Walkinshaw
23d283c7bf Use stock eslint 2017-01-09 20:19:51 -05:00
QWp6t
d1e4a07906 update eslint 3.13.1 2017-01-09 16:45:41 -08:00
QWp6t
6c685f656b Bump version 9.0.0-beta.1 2017-01-09 16:45:33 -08:00
QWp6t
bfb3ef7873 Update airbnb 14.0.0 2017-01-09 13:16:58 -08:00
QWp6t
71791d836c Update webpack 2.2.0-rc.3 2017-01-09 13:09:34 -08:00
QWp6t
0456dccdc2 Update dependencies 2017-01-09 13:05:18 -08:00
Ben Word
6f6ac94cca Update to Bootstrap 4 Alpha 6 2017-01-08 08:45:39 -07:00
QWp6t
24cc3b5a42 Use browsersync-webpack-plugin 2017-01-03 08:40:55 -08:00
Ben Word
6a0488a99b npm -> yarn 2016-12-10 23:22:09 -07:00
QWp6t
70ebba7d80 Update dependencies 2016-11-15 00:34:42 -08:00
Ben Word
9641e2c4c9 Update alpha references 2016-11-14 23:28:16 -07:00
QWp6t
8c9ba0546b Reorganize and refactor build routine 2016-11-06 22:31:49 -08:00
QWp6t
c1bb2b3a27 Switch assets manifest plugin 2016-11-06 20:32:47 -08:00
QWp6t
c49793cd3d Add images to assets manifest 2016-11-06 19:40:13 -08:00
QWp6t
0d38ab8391 Switch from babel to buble 2016-11-03 09:05:07 -07:00
QWp6t
eae52fd7ea Update dependencies & webpack compatibility (BREAKING CHANGES) 2016-11-03 08:38:22 -07:00
Craig Dennis
4dc0163932 Fix #1720: Specify absolute version of Webpack (#1721)
Webpack `2.1.0-beta.23` has breaking changes related to the configuration structure, so forcing `2.1.0-beta.22` as a temporary fix by removing the `^`.
2016-09-20 06:42:44 -07:00
QWp6t
f4a8ee5901 9.0.0-alpha.3 2016-09-11 19:00:43 -07:00
QWp6t
10899cf2cd Fix webpack HMR 2016-09-11 11:39:48 -07:00
QWp6t
ab27b45d95 Update dependencies (#1714)
browser-sync                         ^2.14.0  →  ^2.15.0
css-loader                           ^0.24.0  →  ^0.25.0
eslint-config-airbnb                 ^10.0.1  →  ^11.0.0
extract-text-webpack-plugin    ^2.0.0-beta.3  →  ^2.0.0-beta.4
imagemin-webpack-plugin               ^1.0.8  →   ^1.1.0
node-sass                             ^3.8.0  →   ^3.9.3
postcss                               ^5.1.2  →   ^5.2.0
postcss-loader                       ^0.11.0  →  ^0.13.0
sass-loader                           ^4.0.0  →   ^4.0.2
webpack                       ^2.1.0-beta.21  →   ^2.1.0-beta.22
2016-09-09 04:59:00 -07:00
QWp6t
29eeaac506 Assume user has ./node_modules/.bin in their path 2016-09-09 04:32:21 -07:00
QWp6t
ca243ada82 Update version number to 9.0.0-alpha.2 2016-09-04 20:03:42 -07:00
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