chore: replace deprecated greenkeeper with dependabot

This commit is contained in:
MDLeom 2020-09-05 10:10:34 +00:00
parent c2bcaa7d69
commit 7f60c6959e
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
3 changed files with 6 additions and 20 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"

View File

@ -7,7 +7,6 @@
[![Known Vulnerabilities](https://snyk.io/test/npm/hexo-yam/badge.svg)](https://snyk.io/test/npm/hexo-yam) [![Known Vulnerabilities](https://snyk.io/test/npm/hexo-yam/badge.svg)](https://snyk.io/test/npm/hexo-yam)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/curbengh/hexo-yam.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/curbengh/hexo-yam/alerts/) [![Total alerts](https://img.shields.io/lgtm/alerts/g/curbengh/hexo-yam.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/curbengh/hexo-yam/alerts/)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/curbengh/hexo-yam.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/curbengh/hexo-yam/context:javascript) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/curbengh/hexo-yam.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/curbengh/hexo-yam/context:javascript)
[![Greenkeeper badge](https://badges.greenkeeper.io/curbengh/hexo-yam.svg)](https://greenkeeper.io/)
Yet Another Minifier for Hexo. Minify and compress HTML, JS, CSS, SVG, XML and JSON. [Other files](https://github.com/curbengh/hexo-yam/blob/ba77db0094a7c07ea9f70f010bfc15541d4105ca/index.js#L64) are also compressed. Support gzip and [brotli](https://en.wikipedia.org/wiki/Brotli) [compressions](https://en.wikipedia.org/wiki/HTTP_compression). Yet Another Minifier for Hexo. Minify and compress HTML, JS, CSS, SVG, XML and JSON. [Other files](https://github.com/curbengh/hexo-yam/blob/ba77db0094a7c07ea9f70f010bfc15541d4105ca/index.js#L64) are also compressed. Support gzip and [brotli](https://en.wikipedia.org/wiki/Brotli) [compressions](https://en.wikipedia.org/wiki/HTTP_compression).

View File

@ -54,24 +54,5 @@
"collectCoverage": true, "collectCoverage": true,
"coverageDirectory": "./coverage/", "coverageDirectory": "./coverage/",
"testEnvironment": "node" "testEnvironment": "node"
},
"greenkeeper": {
"commitMessages": {
"initialBadge": "docs(readme): Add Greenkeeper badge",
"initialDependencies": "chore(deps): Update dependencies to enable Greenkeeper",
"initialBranches": "chore: Whitelist greenkeeper branches",
"dependencyUpdate": "chore(deps): Update ${dependency} from ${oldVersion} to ${version}",
"devDependencyUpdate": "chore(deps-dev): Update ${dependency} from ${oldVersion} to ${version}",
"dependencyPin": "chore(deps): Pin ${dependency} to ${oldVersion}",
"devDependencyPin": "chore(deps-dev): Pin ${dependency} to ${oldVersion}"
},
"prTitles": {
"initialPR": "chore(deps): Update dependencies to enable Greenkeeper",
"initialPrBadge": "docs(readme): Add Greenkeeper badge",
"initialPrBadgeOnly": "docs(readme): Add Greenkeeper badge",
"initialSubgroupPR": "chore(deps): Update dependencies for ${group}",
"basicPR": "chore: Update ${dependency} from ${oldVersion} to ${version}",
"groupPR": "chore: Update ${dependency} in ${group} from ${oldVersion} to ${version}"
}
} }
} }