Commit Graph

150 Commits

Author SHA1 Message Date
QWp6t
c96905b075 Use closure instead of doneCompiling() method. Fixes #1717 2016-09-11 18:47:46 -07:00
QWp6t
10899cf2cd Fix webpack HMR 2016-09-11 11:39:48 -07:00
QWp6t
724d550739 Use native DOMContentLoaded event 2016-09-11 11:17:03 -07:00
QWp6t
697751009b Remove redundant eslint rule exception 2016-09-09 04:31:19 -07: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
Darren Jacoby
546f54c97a Update _grid.scss to use @include make-col-ready() mixin 2016-09-02 09:07:55 +02:00
Patrick Vézina
7623ad0511 Set dynamically aboslute public path on 'npm run watch'; fix http/htt… (#1696)
* Set dynamically aboslute public path on 'npm run watch'; fix http/https hardcoded in watch.js

* WEBPACK_PUBLIC_PATH fix
2016-08-26 11:45:50 -06:00
Patrick Vézina
97c1a307ec move assets found in node_modules/ to dist/vendor; simpler assets/config.json (#1697) 2016-08-26 11:34:52 -06: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
91363795e8 Update comment for importing deps 2016-07-16 13:59:45 -06:00
Ben Word
cc32225d68 Boostrap 2016-07-16 13:59:02 -06:00
QWp6t
320c6916dc Use shorthand syntax in main.js routes 2016-07-16 10:14:57 -07:00
QWp6t
339cc8e01e router doesn't require jQuery. use default params 2016-07-16 10:02:03 -07:00
QWp6t
f34af480db Convert scripts to es6 2016-07-16 02:17:16 -07:00
PTiCA1
83ee29fc47 Sage 9 - fix bootstrap4 styles (#1642)
Update after Bootstrap 4 class name changes
2016-05-03 10:54:25 -04:00
Ben Word
f5aaf3b18c Consistency 2016-04-02 23:33:55 -05:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00
Patrick Vézina
1a8935370e bootstrap 4 flex grid 2016-03-26 14:54:34 -04:00
Patrick Vézina
7d1baa0fe7 webpack implementation 2016-03-13 17:08:30 -04:00
Ben Word
5551ddebfa Fix BS4 grid after their grid updates 2016-03-11 18:06:28 -05:00
QWp6t
c9ef232ec1 bootstrap 4 2016-03-11 18:00:06 -05:00
Ben Word
1b9c0a3398 Missed in 269346d 2015-12-10 15:40:37 -06:00
Ben Word
269346ddde Remove unnecessary underscore 2015-11-18 23:15:40 -06:00
Ben Word
1607f6e371 Add support for theme customizer 2015-11-09 13:25:04 -06:00
88mpg
24bcc412bc wp-classes alignment (right, left, center) height set to auto for proper scaling 2015-10-30 13:16:57 -04:00
88mpg
f804b0137f add auto height to .alignnone to prevent vertical stretch of fullwidth image 2015-10-16 15:58:16 -04:00
Julien Melissas
5a621210db Removed editor-style style files in favor of adding a simple _tinymce.scss partial. This cuts styles compiling time in about half.
`add_editor_style` now just references `main.css`
2015-10-13 11:51:57 -04:00
Ben Word
9a14571814 Use Sass to style search form, remove search template 2015-10-10 12:53:19 -05:00
Ben Word
4281e6f932 Remove Modernizr 2015-10-10 12:37:44 -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
Kalen Johnson
7175cc833b Fix jQuery being compiled in main.js
Cause that happened, not blaming anyone
2015-06-17 14:58:03 -07:00
Ben Word
d6878cb4b0 Remove unnecessary references to jQuery 2015-05-14 14:12:04 -05:00
Julien Melissas
a16475c1ad Removed jQuery CDN info. [ci-skip]
Now that the CDN option is in soil, there's no need for this information to be in the file (and it was outdated).
2015-05-09 15:24:16 -04:00
Matthew Moen
a797edccbc Fix glyphicon font path 2015-05-05 10:39:15 -07:00
Ben Word
d635063570 Use Bootstrap Sass by default 2015-04-29 00:04:06 -05:00
Rastislav Lamos
cd47721830 Clarify Sass integration 2015-03-31 19:43:50 +02:00
Julien Melissas
fce3433ff7 Added more explicit instructions for BrowserSync.
http vs no http more consistent.
2015-03-12 16:11:49 -04:00
Austin Pray
e2f7ebb54c better instructions for sass install
[ci skip]
2015-03-04 18:50:54 -06:00
Austin Pray
9fbf9df1df whoops 2015-02-25 15:14:30 -06:00
Ben Word
81979785fc Add note about not manually editing wiredep injected deps 2015-02-24 12:04:41 -06:00
Ben Word
e902b7c566 Update Sass instructions 2015-02-19 19:52:14 -06:00
Ben Word
7c118f8565 ✂️ 2015-02-19 19:44:53 -06:00
Ben Word
17b3aa5d59 Add common folder, add grid component, remove home placeholder
* New `common/` folder for `_variables` and `_global`
* Move grid styles to new `_grid` component
* Remove `layouts/pages/_home`
2015-02-19 14:17:50 -06:00
Ben Word
fc05091971 Gallery styling now unnecessary, move caption styling to _wp-classes 2015-02-19 13:49:30 -06:00
Ben Word
fc5a1547ba Remove comments 2015-02-19 13:44:22 -06:00
Austin Pray
659aa60e19 Remove /**/* glob from js by default
See https://discourse.roots.io/t/adding-none-bower-js-libs-to-gulp-manifest-json/2890?u=austin
2015-02-12 01:20:15 -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
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
Ben Word
cf2bd6b70f Use the theme styles for the editor stylesheet 2015-01-19 22:47:35 -06:00