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
Stephen Edgar
07aec245a3
Add npm prune to Travis CI
...
> Via https://docs.npmjs.com/cli/prune
> > This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed.
> >
> > Extraneous packages are packages that are not listed on the parent package's dependencies list.
The reason for adding this is to go hand in hand with the Travis CI caching implemented a while ago, if you don't run `npm prune` periodically then older packages will not be removed from the cache and the cache will continue to grow in size.
I suspect if you compare the Travis CI cache size between master and this PR, this PR will be significantly smaller. (You could also inspect the cache with Travis CI CLI I think)
https://travis-ci.org/roots/sage/caches
2016-06-09 09:46:51 +10:00
Ben Word
764d5fb686
Merge pull request #1650 from darrenjacoby/bootstrap-4
...
Bootstrap NPM ^4.0.0-alpha.2
2016-05-23 09:52:21 -05:00
Darren Jacoby
c1fed13ca6
Bootstrap NPM ^4.0.0-alpha.2
2016-05-21 18:36:38 +02: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
752bf04626
Travis: Remove oauth
2016-04-03 17:20:12 -05:00
Ben Word
fd1f6251e4
Use Composer to run PHPCS and PHPMD tests
2016-04-03 17:16:29 -05:00
Ben Word
508de7dd3b
Composer autoload conditional
2016-04-03 17:03:42 -05:00
Ben Word
b19cbbf1df
Merge pull request #1628 from HumulusLLC/sage-9
...
Fix autoloader load order issue when including Sage 9 via composer.json in Bedrock
2016-04-03 15:13:34 -05:00
Ben Word
e554726d4a
Travis: gulp and Bower are no longer needed
2016-04-02 23:34:12 -05:00
Ben Word
f5aaf3b18c
Consistency
2016-04-02 23:33:55 -05:00
Ben Word
4d5bc345d4
Merge pull request #1626 from ptrckvzn/fix-sidebar-templates
...
is_page_template() requires the name of the subfolder
2016-04-02 22:54:51 -05:00
Ben Word
3216174fe8
Merge pull request #1632 from roots/update-readme
...
Update Sage 9 README
2016-04-02 22:46:55 -05:00
Ben Word
1a52c680a5
Update README [ci skip]
2016-04-02 22:45:08 -05:00
Ben Word
42f7de2bd1
Merge pull request #1629 from ptrckvzn/webpack-sage-9
...
webpack config - improvements
2016-03-30 11:33:43 -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
Matthew Henkler
a994889f9a
Move Sage includes from autoloader back to functions.php to fix issues including in Bedrock
2016-03-25 11:21:57 -05:00
Ben Word
bf31b59c6a
Merge pull request #1627 from ptrckvzn/webpack-sage-9
...
webpack implementation improvements
2016-03-24 12:14:42 -03: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