Skip to content

Commit

Permalink
renovate: add node engine
Browse files Browse the repository at this point in the history
  • Loading branch information
maxileith committed Dec 17, 2023
1 parent b76f105 commit 8dfdc64
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 25 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,32 @@
"reviewers": ["maxileith"],
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"enabledManagers": ["nvm"],
"enabledManagers": ["nvm", "regex"],
"rangeStrategy": "bump",
"schedule": ["* 4 * * 1,2,3,4,5"],
"semanticCommits": "disabled",
"nvm": {
"commitMessagePrefix": "nvm:"
},
"schedule": ["* 4 * * 1,2,3,4,5"],
"semanticCommits": "disabled"
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^package(-lock)?\\.json$"],
"matchStrings": [
"\\\"engines\\\":[\\s\\n]*\\{[^\\{\\}]*\\\"homebridge\\\"[^\\{\\}]*\\\"(?<depName>node)\\\":[\\s\\n]*\\\"\\^(?<currentValue>[^\\s]+)\\s\\|\\|\\s\\^[^\\\"]+\\\"",
"\\\"engines\\\":[\\s\\n]*\\{[^\\{\\}]*\\\"homebridge\\\"[^\\{\\}]*\\\"(?<depName>node)\\\":[\\s\\n]*\\\"\\^[^\\s]+\\s\\|\\|\\s\\^(?<currentValue>[^\\\"]+)\\\""
],
"matchStringsStrategy": "any",
"datasourceTemplate": "node-version"
}
],
"regex": {
"commitMessagePrefix": "npm:",
"packageRules": [
{
"matchUpdateTypes": ["major"],
"enabled": false
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"engines": {
"homebridge": "^1.7.0",
"node": "^20.9.0 || ^18.19.0"
"node": "^20.9.0 || ^18.18.0"
},
"keywords": [
"homebridge-plugin",
Expand Down

0 comments on commit 8dfdc64

Please sign in to comment.