Commit Graph

1811 Commits

Author SHA1 Message Date
Ben Word
4fa89c2b80 Fix path, fix permissions [ci skip] 2016-09-04 21:49:54 -06:00
Ben Word
d81b6fdb87 Update README [ci skip] 2016-09-04 21:46:52 -06:00
Ben Word
270b1c7656 this wasn't me 🕵 [ci skip] 2016-09-04 21:32:46 -06:00
Ben Word
8fbdb44857 Update README 2016-09-04 21:28:15 -06: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
Paul Tibbetts
a69d57c547 adds contributing to roots guidelines to GitHub issue template (#1710) 2016-09-04 15:49:13 -06:00
Paul Tibbetts
ed5797a753 fixes 2 spelling mistakes and rewords a sentence in the readme (#1709) 2016-09-04 15:49:09 -06:00
cfxd
6394f81d5f Fix package.json whitespace (#1707) 2016-09-02 15:40:17 -07:00
QWp6t
845210d91c Merge pull request #1706 from darrenjacoby/master
Update _grid.scss to use @include make-col-ready() mixin
2016-09-02 06:19:42 -07:00
Darren Jacoby
546f54c97a Update _grid.scss to use @include make-col-ready() mixin 2016-09-02 09:07:55 +02:00
QWp6t
ce679c30a2 Merge pull request #1701 from Jeger/update-readme-browsersync
README updated for running browsersync without bedrock
2016-08-31 08:25:40 -07:00
halvard
34d49c24b6 README updated for running browsersync without bedrock
Readme now has instructions on how to run `npm watch` without bedrock
2016-08-31 10:43:32 +02:00
Ben Word
6655fff6fb Update badges and Packagist version 2016-08-30 11:37:01 -06: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
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
Ben Word
b6b0f4b9df Ignore .github dir and .travis.yml for Composer installs 2016-08-14 14:55:13 -06:00
QWp6t
de60291b46 Merge pull request #1686 from andrewklau/patch-1
Load tether
2016-08-13 07:53:33 -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
Andrew Lau
25cfd61378 Load tether 2016-08-08 15:16:21 +10:00
QWp6t
447c24d082 Update dependencies, incl Bootstrap 4 alpha 3 2016-08-06 18:51:06 -07:00
Ben Word
ccd128cb3e Remove HTML comments from wrapper 2016-08-04 14:55:55 -06:00
johnnyicarus
529b1085f9 Fix path to stylesheet in add_editor_style 2016-07-23 07:58:42 -06:00
Paul Tibbetts
3f0e2bf5a2 Added contributing guidelines link to readme
added link to podcast to readme
moved contributing.md to .github
2016-07-20 20:35:28 -06:00
Chris Atomix
96ad42df43 Create prototype of GitHub Issue Template using Trellis equivalent as a base
As part of https://github.com/roots/sage/issues/1619
2016-07-20 20:34:10 -06:00
Ben Word
69917bfa27 Merge pull request #1673 from WatsonWeb/patch-1
Remove path.extname() check
2016-07-20 20:16:50 -06:00
Ben Word
72b2d89bcc Update required Node.js version 2016-07-20 20:08:48 -06: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
34253864fa Fix display of theme name in Customizer 2016-07-16 02:43:24 -07:00
QWp6t
f34af480db Convert scripts to es6 2016-07-16 02:17:16 -07:00
QWp6t
eae36be2c9 Refactor functions.php
* Isolate scope of included files
* Load composer dependencies before loading Sage procedural code

Note that scope isolation was originally proposed by @al-the-x in 2014,
and we rejected it at the time. Our theory at the time was that shared
scope might be expected by WordPress developers. But since then we've done
quite a number of things that are atypical of WordPress development,
including our use of namespaces, which in itself is a form of scope
isolation.
2016-07-16 00:35:45 -07:00
QWp6t
325c4d4cc8 Merge pull request #1678 from roots/sage9-rework_wrapper
Rework template wrapper, bring back template_part()
2016-07-15 22:44:01 -07:00
QWp6t
eb3a7add85 Rework template wrapper, bring back template_part() 2016-07-15 05:31:02 -07:00
QWp6t
0a71544b83 Fix tpyo 2016-07-15 03:09:09 -07:00
QWp6t
9bfdd5a5f5 Remove unused static variable in Wrapper 2016-07-14 23:17:11 -07:00
QWp6t
96c5969925 Fix Obj->__toString() conditional logic in wrapper 2016-07-14 23:16:45 -07:00
QWp6t
8ee444d7b7 Allow Obj->__toString() in template heirarchy filter 2016-07-14 15:16:00 -07:00
QWp6t
4435d52d01 Wrap templates located outside the theme
Wrapper will now pass through $template if locate_template() turns up zero
results.
2016-07-14 15:00:07 -07:00
WatsonWeb
1ce8b1df71 Remove path.extname() check
Remove path.extname() check to fix build:production task.

Currently path.extname() is being supplied an object when it expects a string, resulting in a fatal error during production builds.

Removal is the cleanest solution as it's an unnecessary check, assets[name] will always be an object.
2016-07-02 03:46:16 -05:00
Ben Word
ca4db00fab Merge pull request #1667 from allanchau/patch-1
Updated to align with the Bootstrap 4 docs
2016-06-22 10:07:47 -06:00
Allan Chau
0356230f2f Updated to align with the Bootstrap 4 docs 2016-06-16 21:04:42 +09:30
Ben Word
b1163258b4 Merge pull request #1663 from ntwb/patch-2
Add `npm prune` to Travis CI
2016-06-15 06:18:55 -06:00
Ben Word
672a531919 Merge pull request #1666 from ptibbetts/master
Added contributing guidelines link to readme
2016-06-15 06:16:39 -06:00
Paul Tibbetts
447241664b Added contributing guidelines link to readme
added link to podcast to readme
moved contributing.md to .github
2016-06-15 10:49:41 +01:00