Update dependencies to enable Greenkeeper 🌴 (#711)

* chore(package): update dependencies

https://greenkeeper.io/

* docs(readme): add Greenkeeper badge 

https://greenkeeper.io/

* chore(greenkeeper): Exclude remote-origin-url and yargs from Greenkeeper for now
This commit is contained in:
greenkeeper[bot] 2017-04-10 16:19:11 -04:00 committed by Tom MacWright
parent 25152edeb9
commit cf2ef2bc50
4 changed files with 26 additions and 18 deletions

View File

@ -1,5 +1,7 @@
# documentation
[![Greenkeeper badge](https://badges.greenkeeper.io/documentationjs/documentation.svg)](https://greenkeeper.io/)
[![Circle CI](https://circleci.com/gh/documentationjs/documentation/tree/master.svg?style=shield)](https://circleci.com/gh/documentationjs/documentation/tree/master)
[![npm version](https://badge.fury.io/js/documentation.svg)](http://badge.fury.io/js/documentation)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/documentationjs/documentation?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

View File

@ -114,7 +114,7 @@ module.exports.handler = function readme(argv /*: Object*/) {
};
// wrap the inject utility as an remark plugin
function plugin(remark, options) {
function plugin(options) {
return function transform(targetAst, file, next) {
if (!inject(options.section, targetAst, options.toInject)) {
return next(new Error(`Heading ${options.section} not found.`));

View File

@ -56,11 +56,11 @@ var tokenizeTutorial = makeTokenizer(
* This does not handle the `[text]({@link url})` and `[text]({@tutorial url})` forms of these tags.
* That's a JSDoc misfeature; just use regular markdown syntax instead: `[text](url)`.
*
* @param {Object} processor - remark instance
* @param {Object} options - for the plugin
* @returns {undefined}
*/
module.exports = function(processor /*: Object*/) {
var proto = processor.Parser.prototype;
module.exports = function(options /*: Object*/) {
var proto = this.Parser.prototype;
proto.inlineTokenizers.tokenizeLink = tokenizeLink;
proto.inlineTokenizers.tokenizeTutorial = tokenizeTutorial;
var methods = proto.inlineMethods;

View File

@ -7,10 +7,10 @@
"documentation": "./bin/documentation.js"
},
"dependencies": {
"ansi-html": "^0.0.6",
"ansi-html": "^0.0.7",
"babel-core": "^6.17.0",
"babel-generator": "6.19.0",
"babel-plugin-system-import-transformer": "2.4.0",
"babel-generator": "6.24.1",
"babel-plugin-system-import-transformer": "3.1.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.16.0",
@ -38,12 +38,12 @@
"micromatch": "^2.1.6",
"mime": "^1.3.4",
"module-deps-sortable": "4.0.6",
"parse-filepath": "^0.6.3",
"parse-filepath": "^1.0.1",
"pify": "^2.3.0",
"read-pkg-up": "^2.0.0",
"remark": "^6.0.1",
"remark-html": "5.0.1",
"remark-toc": "^3.0.0",
"remark": "^7.0.0",
"remark-html": "6.0.0",
"remark-toc": "^4.0.0",
"remote-origin-url": "0.4.0",
"resolve": "^1.1.6",
"shelljs": "^0.7.5",
@ -62,18 +62,18 @@
"devDependencies": {
"are-we-flow-yet": "^1.0.0",
"chdir": "0.0.0",
"cz-conventional-changelog": "1.2.0",
"cz-conventional-changelog": "2.0.0",
"documentation-schema": "0.0.1",
"flow-bin": "^0.37.4",
"fs-extra": "^1.0.0",
"flow-bin": "^0.43.1",
"fs-extra": "^2.1.2",
"husky": "^0.13.3",
"json-schema": "0.2.3",
"lint-staged": "^3.4.0",
"mock-fs": "^3.5.0",
"mock-fs": "^4.2.0",
"prettier": "^0.22.0",
"standard-changelog": "0.0.1",
"tap": "^8.0.0",
"tmp": "^0.0.29"
"standard-changelog": "1.0.1",
"tap": "^10.3.2",
"tmp": "^0.0.31"
},
"keywords": [
"documentation",
@ -110,5 +110,11 @@
"*.js": [
"prettier --write --single-quote"
]
},
"greenkeeper": {
"ignore": [
"remote-origin-url",
"yargs"
]
}
}