Skip to content

Commit

Permalink
Updated tests (Travis and Mocha) and dependencies, rebuilt dist (#2009)
Browse files Browse the repository at this point in the history
* docs: remove trailing whitespace in CHANGELOG.md

* test: update node versions & add trusty to travis

* test: update deps and test script in package.json

* refactor: rebuild & add updated docs, css, & html

* docs: remove duplicate 'be' in usage.md
  • Loading branch information
cwonrails authored and roblarsen committed Nov 28, 2017
1 parent 33e0d76 commit 0ca2bc2
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ language: node_js
node_js:
- 4
- 6
- 7
- 8
- 9

dist: trusty
sudo: false
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* Update .gitattributes for Web Projects ([#1935](https://github.com/h5bp/html5-boilerplate/pull/1935))
* Add the link for useful .gitignore templates ([#1936](https://github.com/h5bp/html5-boilerplate/pull/1936))
* Node plumbing updated ([#1925](https://github.com/h5bp/html5-boilerplate/pull/1925)) ([#1928](https://github.com/h5bp/html5-boilerplate/pull/1928)) ([#1931](https://github.com/h5bp/html5-boilerplate/pull/1931))
* Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788))
* Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788))
* Scope :first-letter selector for print styles ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
* Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
* Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
* Update .jshintrc ([#1903](https://github.com/h5bp/html5-boilerplate/pull/1903))
* Improve accessibility with visuallyhidden content ([#1900](https://github.com/h5bp/html5-boilerplate/pull/1900))
* Tell users that IE 8 and 9 are outdated
Expand Down
1 change: 1 addition & 0 deletions dist/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ textarea {
background: transparent !important;
color: #000 !important; /* Black prints faster:
http://www.sanbeiji.com/archives/953 */
-webkit-box-shadow: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
Expand Down
4 changes: 1 addition & 3 deletions dist/doc/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ not everything fits with everyone's needs.
### Smart App Banners in iOS 6+ Safari

Stop bothering everyone with gross modals advertising your entry in the
App Store. Include the following [meta tag](https://developer.apple.com/library/IOS/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html#//apple_ref/doc/uid/TP40002051-CH6-SW2)
will unintrusively allow the user the option to download your iOS app,
or open it with some data about the user's current state on the website.
App Store. Including the following [meta tag](https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html) will unobtrusively give the user the option to download your iOS app,or open it with some data about the user's current state on the website.

```html
<meta name="apple-itunes-app" content="app-id=APP_ID,app-argument=SOME_TEXT">
Expand Down
15 changes: 15 additions & 0 deletions dist/doc/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ table of contents](TOC.md)
* [.editorconfig](#editorconfig)
* [Server Configuration](#server-configuration)
* [robots.txt](#robotstxt)
* [humans.txt](#humanstxt)
* [browserconfig.xml](#browserconfigxml)

--
Expand Down Expand Up @@ -139,6 +140,20 @@ For more information about `robots.txt`, please see:
* [robotstxt.org](http://www.robotstxt.org/)
* [How Google handles the `robots.txt` file](https://developers.google.com/webmasters/control-crawl-index/docs/robots_txt)

## humans.txt

The `humans.txt` file is used to provide information about people involved with
the website.

The provided file contains three sections:

* `TEAM` - this is intented to list the group of people responsible for the website
* `THANKS` - this is intended to list the group of people that have contributed
to the webste
* `TECHNOLOGY COLOPHON` - the section lists technologies used to make the website

For more information about `humans.txt`, please see: http://humanstxt.org/


## browserconfig.xml

Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"devDependencies": {
"@alrra/travis-scripts": "^3.0.1",
"apache-server-configs": "2.15.0",
"archiver": "^2.0.0",
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.8.0",
"archiver": "^2.1.0",
"babel-core": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"del": "^3.0.0",
"glob": "^7.1.2",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-header": "^1.8.8",
"gulp-autoprefixer": "^4.0.0",
"gulp-header": "^1.8.9",
"gulp-jscs": "^4.0.0",
"gulp-jshint": "^2.0.4",
"gulp-load-plugins": "^1.5.0",
Expand All @@ -19,11 +19,11 @@
"jquery": "3.2.1",
"jshint": "^2.9.5",
"jshint-stylish": "^2.2.1",
"mocha": "^3.2.0",
"mocha": "^4.0.1",
"modernizr": "3.5.0",
"node-sri": "^1.1.1",
"normalize.css": "7.0.0",
"run-sequence": "^2.0.0",
"run-sequence": "^2.2.0",
"strip-json-comments": "^2.0.1",
"travis-after-all": "^1.4.5"
},
Expand All @@ -49,7 +49,7 @@
"name": "html5-boilerplate",
"scripts": {
"build": "gulp build",
"test": "gulp archive && mocha --compilers js:babel-register --reporter spec --timeout 5000"
"test": "gulp archive && mocha --require babel-core/register --reporter spec --timeout 5000"
},
"version": "6.0.1",
"description": "A professional front-end template for building fast, robust, and adaptable web apps or sites.",
Expand Down
2 changes: 1 addition & 1 deletion src/doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ serve as the foundation for whatever you're interested in building.

Even the basic use-case of a simple static site can be enhanced by manipulating
the code through an automated build process. Moving up in complexity HTML5
Boilerplate can be be integrated with whatever front-end framework, CMS or
Boilerplate can be integrated with whatever front-end framework, CMS or
e-commerce platform you're working with. Mix-and-match to your heart's content.
Use what you need (toss it in a blender if you need to) and discard the rest.
HTML5 Boilerplate is a starting point, not a destination.
Expand Down

0 comments on commit 0ca2bc2

Please sign in to comment.