Skip to content

Commit 0ca2bc2

Browse files
cwonrailsroblarsen
authored andcommitted
Updated tests (Travis and Mocha) and dependencies, rebuilt dist (#2009)
* 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
1 parent 33e0d76 commit 0ca2bc2

File tree

8 files changed

+33
-17
lines changed

8 files changed

+33
-17
lines changed

Diff for: .travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ language: node_js
2727
node_js:
2828
- 4
2929
- 6
30-
- 7
30+
- 8
31+
- 9
3132

33+
dist: trusty
3234
sudo: false

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* Update .gitattributes for Web Projects ([#1935](https://github.com/h5bp/html5-boilerplate/pull/1935))
1818
* Add the link for useful .gitignore templates ([#1936](https://github.com/h5bp/html5-boilerplate/pull/1936))
1919
* 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))
20-
* Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788))
20+
* Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788))
2121
* Scope :first-letter selector for print styles ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
22-
* Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
22+
* Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
2323
* Update .jshintrc ([#1903](https://github.com/h5bp/html5-boilerplate/pull/1903))
2424
* Improve accessibility with visuallyhidden content ([#1900](https://github.com/h5bp/html5-boilerplate/pull/1900))
2525
* Tell users that IE 8 and 9 are outdated

Diff for: dist/css/main.css

+1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ textarea {
227227
background: transparent !important;
228228
color: #000 !important; /* Black prints faster:
229229
http://www.sanbeiji.com/archives/953 */
230+
-webkit-box-shadow: none !important;
230231
box-shadow: none !important;
231232
text-shadow: none !important;
232233
}

Diff for: dist/doc/extend.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ not everything fits with everyone's needs.
2525
### Smart App Banners in iOS 6+ Safari
2626

2727
Stop bothering everyone with gross modals advertising your entry in the
28-
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)
29-
will unintrusively allow the user the option to download your iOS app,
30-
or open it with some data about the user's current state on the website.
28+
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.
3129

3230
```html
3331
<meta name="apple-itunes-app" content="app-id=APP_ID,app-argument=SOME_TEXT">

Diff for: dist/doc/misc.md

+15
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ table of contents](TOC.md)
77
* [.editorconfig](#editorconfig)
88
* [Server Configuration](#server-configuration)
99
* [robots.txt](#robotstxt)
10+
* [humans.txt](#humanstxt)
1011
* [browserconfig.xml](#browserconfigxml)
1112

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

143+
## humans.txt
144+
145+
The `humans.txt` file is used to provide information about people involved with
146+
the website.
147+
148+
The provided file contains three sections:
149+
150+
* `TEAM` - this is intented to list the group of people responsible for the website
151+
* `THANKS` - this is intended to list the group of people that have contributed
152+
to the webste
153+
* `TECHNOLOGY COLOPHON` - the section lists technologies used to make the website
154+
155+
For more information about `humans.txt`, please see: http://humanstxt.org/
156+
142157

143158
## browserconfig.xml
144159

Diff for: dist/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<title></title>
77
<meta name="description" content="">
8-
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
99

1010
<link rel="manifest" href="site.webmanifest">
1111
<link rel="apple-touch-icon" href="icon.png">

Diff for: package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"devDependencies": {
33
"@alrra/travis-scripts": "^3.0.1",
44
"apache-server-configs": "2.15.0",
5-
"archiver": "^2.0.0",
6-
"babel-core": "^6.25.0",
7-
"babel-preset-es2015": "^6.18.0",
8-
"babel-register": "^6.8.0",
5+
"archiver": "^2.1.0",
6+
"babel-core": "^6.26.0",
7+
"babel-preset-es2015": "^6.24.1",
8+
"babel-register": "^6.26.0",
99
"del": "^3.0.0",
1010
"glob": "^7.1.2",
1111
"gulp": "^3.9.1",
12-
"gulp-autoprefixer": "^3.1.1",
13-
"gulp-header": "^1.8.8",
12+
"gulp-autoprefixer": "^4.0.0",
13+
"gulp-header": "^1.8.9",
1414
"gulp-jscs": "^4.0.0",
1515
"gulp-jshint": "^2.0.4",
1616
"gulp-load-plugins": "^1.5.0",
@@ -19,11 +19,11 @@
1919
"jquery": "3.2.1",
2020
"jshint": "^2.9.5",
2121
"jshint-stylish": "^2.2.1",
22-
"mocha": "^3.2.0",
22+
"mocha": "^4.0.1",
2323
"modernizr": "3.5.0",
2424
"node-sri": "^1.1.1",
2525
"normalize.css": "7.0.0",
26-
"run-sequence": "^2.0.0",
26+
"run-sequence": "^2.2.0",
2727
"strip-json-comments": "^2.0.1",
2828
"travis-after-all": "^1.4.5"
2929
},
@@ -49,7 +49,7 @@
4949
"name": "html5-boilerplate",
5050
"scripts": {
5151
"build": "gulp build",
52-
"test": "gulp archive && mocha --compilers js:babel-register --reporter spec --timeout 5000"
52+
"test": "gulp archive && mocha --require babel-core/register --reporter spec --timeout 5000"
5353
},
5454
"version": "6.0.1",
5555
"description": "A professional front-end template for building fast, robust, and adaptable web apps or sites.",

Diff for: src/doc/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ serve as the foundation for whatever you're interested in building.
1818

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

0 commit comments

Comments
 (0)