0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2025-07-13 19:40:48 +08:00

更新 default.json5 和 renovate.json5,移除不必要的匹配字符串和修复文件末尾缺少换行符

This commit is contained in:
严浩
2024-10-16 12:05:00 +08:00
parent 103495a419
commit 06170c2c01
4 changed files with 2 additions and 4 deletions

View File

@ -44,13 +44,11 @@
"datasourceTemplate": "npm", "datasourceTemplate": "npm",
"depNameTemplate": "semantic-release" "depNameTemplate": "semantic-release"
}, },
/* === use-node-version=20.18.0 === */
{ {
"customType": "regex", "customType": "regex",
"description": "Update Node.js version configured in `.npmrc`. match `use-node-version=22.9.0`", "description": "Update Node.js version configured in `.npmrc`. match `use-node-version=22.9.0`",
"fileMatch": [ "fileMatch": [
"^\\.npmrc$", "^\\.npmrc$"
"^default\\.json5$"
], ],
"matchStrings": [ "matchStrings": [
"use-node-version=(?<currentValue>.*?)\\s" "use-node-version=(?<currentValue>.*?)\\s"