chore(dependabot): fix registries option

This commit is contained in:
Zeke Zhang 2023-12-16 17:12:41 +08:00
parent 3928ade527
commit 5448946116

View File

@ -1,15 +1,17 @@
version: 2
registries:
npm-registry:
type: npm-registry
url: https://registry.npmmirror.com
replaces-base: true # 设置为true表示将这个镜像源作为基础的npm注册表如https://registry.npmjs.org
updates:
- package-ecosystem: "npm" # 你项目的包管理器类型,例如 "npm", "pip", "maven", "gradle", "docker"或者其他
directory: "/" # 包管理器文件在仓库的位置,"/"代表仓库的根目录
registries:
- npm-registry
schedule:
interval: "weekly" # Dependabot检查更新的频率可以是"daily", "weekly", 或者 "monthly"
open-pull-requests-limit: 10 # Dependabot同时打开的pull request的最大数量
ignore:
- dependency-name: "axios"
- dependency-name: "dotenv"
registries:
npm-registry:
type: npm-registry
url: https://registry.npmmirror.com
replaces-base: true # 设置为true表示将这个镜像源作为基础的npm注册表如https://registry.npmjs.org