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
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
8e2aeb53ab
images & fonts : keep the same name
2016-03-15 11:25:50 -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
55b9feab25
is_page_template() requires the name of the subfolder
2016-03-15 08:16:59 -04:00
Ben Word
82cd4c32f6
Missed during rebase. 3f9b112ffa (commitcomment-16669985)
2016-03-13 18:06:55 -04:00
Ben Word
d1685fee7f
Merge pull request #1625 from ptrckvzn/webpack-sage-9
...
WIP: webpack implementation
2016-03-13 17:55:29 -04:00
Patrick Vézina
7d1baa0fe7
webpack implementation
2016-03-13 17:08:30 -04:00
Ben Word
610c46b3b1
Require PHP 5.5
2016-03-12 13:47:56 -05:00
Ben Word
4d079d9068
Missed during rebase
2016-03-12 12:33:32 -05:00
Ben Word
98b84ec23a
Missed during rebase
2016-03-11 18:39:31 -05: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
Ben Word
5551ddebfa
Fix BS4 grid after their grid updates
2016-03-11 18:06:28 -05:00
Mike Spainhower
856a482bab
Pass the correct template.
2016-03-11 18:06:28 -05:00
QWp6t
b42c425e5c
Optimize travis a bit
...
1. Add apt and composer's cache folder to travis cache
2. Use --prefer-dist to avoid cloning repos
3. Use --no-interaction to inform composer that prompts should be suppressed
4. Use travis_retry to resolve occasional network failures/timeouts
2016-03-11 18:06:28 -05:00
QWp6t
6efa099c79
Move single-post loop to single.php, closes #1582
2016-03-11 18:06:28 -05:00
QWp6t
b491f76974
All function braces need to be on new line
2016-03-11 18:06:27 -05:00
QWp6t
9e2917e4d5
Fix issue with WP loading wrong index.php
2016-03-11 18:06:27 -05:00
Ben Word
16b649627a
Remove CONTRIBUTING.md
2016-03-11 18:06:27 -05:00
QWp6t
f598ca9a0b
Only use root editorconfig, allow warnings in travis
2016-03-11 18:06:27 -05:00
QWp6t
fe659f4c58
Use 4 spaces for src/*.php
2016-03-11 18:06:27 -05:00
QWp6t
246955c59a
Use phpcs.xml for all rules
2016-03-11 18:06:27 -05:00
QWp6t
c5f3724efd
Resolve PHPMD warnings
2016-03-11 18:06:27 -05:00
QWp6t
6a4d3bd51a
Conform to new rules
2016-03-11 18:03:15 -05:00
QWp6t
2d02544173
Create new phpcs rules
2016-03-11 18:03:15 -05:00
QWp6t
1df3fee010
Remove Template class
2016-03-11 18:03:15 -05:00