Teach renovate about hakDependencies (#33147)
* Teach renovate about hakDependencies * Update testcontainers-docker slug
This commit is contained in:
+12
-3
@@ -5,8 +5,8 @@
|
|||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"groupName": "testcontainers docker digests",
|
"groupName": "testcontainers docker digests",
|
||||||
"groupSlug": "{{manager}}-docker-digests",
|
"groupSlug": "testcontainers-docker",
|
||||||
"matchManagers": ["custom.regex"],
|
"matchDepTypes": ["testcontainers-docker"],
|
||||||
"matchPackageNames": ["*"]
|
"matchPackageNames": ["*"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -17,7 +17,16 @@
|
|||||||
"versioningTemplate": "loose",
|
"versioningTemplate": "loose",
|
||||||
"description": "Update testcontainers docker digests",
|
"description": "Update testcontainers docker digests",
|
||||||
"managerFilePatterns": ["**/testcontainers/*.ts"],
|
"managerFilePatterns": ["**/testcontainers/*.ts"],
|
||||||
"matchStrings": ["\\s+\"(?<depName>[^@]+):(?<currentValue>[^@]+)@(?<currentDigest>sha256:[a-f0-9]+)\""]
|
"matchStrings": ["\\s+\"(?<depName>[^@]+):(?<currentValue>[^@]+)@(?<currentDigest>sha256:[a-f0-9]+)\""],
|
||||||
|
"depTypeTemplate": "testcontainers-docker"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"customType": "jsonata",
|
||||||
|
"fileMatch": ["(^|/)package\\.json$"],
|
||||||
|
"fileFormat": "json",
|
||||||
|
"matchStrings": ["hakDependencies.$each(function($v, $k) { { 'packageName': $k, 'currentValue': $v } })"],
|
||||||
|
"datasourceTemplate": "npm",
|
||||||
|
"depTypeTemplate": "hak"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user