mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
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:
parent
25152edeb9
commit
cf2ef2bc50
@ -1,5 +1,7 @@
|
||||
# documentation
|
||||
|
||||
[](https://greenkeeper.io/)
|
||||
|
||||
[](https://circleci.com/gh/documentationjs/documentation/tree/master)
|
||||
[](http://badge.fury.io/js/documentation)
|
||||
[](https://gitter.im/documentationjs/documentation?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||
|
||||
@ -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.`));
|
||||
|
||||
@ -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;
|
||||
|
||||
34
package.json
34
package.json
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user