diff --git a/renovate-presets.json b/renovate-presets.json index 6a7b1a1..6d54431 100644 --- a/renovate-presets.json +++ b/renovate-presets.json @@ -16,11 +16,17 @@ ], "minimumReleaseAge": "3 days", "timezone": "America/Chicago", + "rangeStrategy": "update-lockfile", + "pep723": { + "managerFilePatterns": ["/\\.py$/"] + }, "vulnerabilityAlerts": { "enabled": true, "labels": ["type:security"], "automerge": true, - "minimumReleaseAge": "0 days" + "minimumReleaseAge": "0 days", + "rangeStrategy": "bump", + "vulnerabilityFixStrategy": "highest" }, "lockFileMaintenance": { "enabled": true, @@ -42,8 +48,8 @@ "customType": "regex", "fileMatch": ["\\.nix$"], "matchStrings": [ - "\"(?@[a-zA-Z0-9-]+/[a-zA-Z0-9][a-zA-Z0-9._-]*)@(?[\\d][^\\s\"]*)\"", - "bunx\\s+--bun\\s+(?(?:@[^@/]+\\/)?[^@\\s]+)@(?[\\d][^\\s\"']*)" + "\"(?@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9._-]*)@(?\\d+(?:\\.\\d+)*(?:[._-]?(?:a|b|rc|alpha|beta|dev|post)\\d*)?(?:\\+[A-Za-z0-9.]+)?)\"", + "bunx\\s+--bun\\s+(?(?:@[^@/]+\\/)?[^@\\s]+)@(?\\d+(?:\\.\\d+)*(?:[._-]?(?:a|b|rc|alpha|beta|dev|post)\\d*)?(?:\\+[A-Za-z0-9.]+)?)" ], "datasourceTemplate": "npm" }, @@ -52,11 +58,7 @@ "customType": "regex", "fileMatch": ["\\.nix$"], "matchStrings": [ - "uvx\\s+--from\\s+\"(?[a-zA-Z0-9][a-zA-Z0-9._-]*)(?:\\[[^\\]]+\\])?==(?[\\d][^\\s\"]*)\"", - "uv\\s+run[^\"]*--with\\s+\"(?[a-zA-Z0-9][a-zA-Z0-9._-]*)(?:\\[[^\\]]+\\])?==(?[\\d][^\\s\"]*)\"", - "\"--from\"\\r?\\n\\s+\"(?[a-zA-Z0-9][a-zA-Z0-9._-]*)(?:\\[[^\\]]+\\])?==(?[\\d][^\\s\"]*)\"", - "\"--with\"\\r?\\n\\s+\"(?[a-zA-Z0-9][a-zA-Z0-9._-]*)(?:\\[[^\\]]+\\])?==(?[\\d][^\\s\"]*)\"", - "\\buv\\S*\\s+tool\\s+install\\s+\"(?[a-zA-Z0-9][a-zA-Z0-9._-]*)(?:\\[[^\\]]+\\])?==(?[\\d][^\\s\"]*)\"" + "(?:uvx\\s+--from\\s+|uv\\s+run[^\"]*--with\\s+|\\buv\\S*\\s+tool\\s+install\\s+|\"--(?:from|with)\"\\r?\\n\\s+)\"(?[A-Za-z0-9][A-Za-z0-9._-]*)(?:\\[[^\\]]+\\])?==(?\\d+(?:\\.\\d+)*(?:[._-]?(?:a|b|rc|alpha|beta|dev|post)\\d*)?(?:\\+[A-Za-z0-9.]+)?)\"" ], "datasourceTemplate": "pypi" }, @@ -65,7 +67,7 @@ "customType": "regex", "fileMatch": ["\\.github/workflows/.*\\.ya?ml$"], "matchStrings": [ - "#\\s*renovate:\\s*datasource=(?\\S+)\\s+depName=(?\\S+)[\\r\\n]+[\\s\\S]*?\\bnpx\\b\\s+(?:--yes\\s+|-y\\s+)?\\S+@(?[^\\s\"']+)" + "#\\s*renovate:\\s*datasource=(?\\S+)\\s+depName=(?\\S+)[\\r\\n]+[\\s\\S]*?\\bnpx\\b\\s+(?:--yes\\s+|-y\\s+)?\\S+@(?\\d+(?:\\.\\d+)*(?:[._-]?(?:a|b|rc|alpha|beta|dev|post)\\d*)?(?:\\+[A-Za-z0-9.]+)?)" ] } ],