e8b4b9b6ed
* Teach renovate about hakDependencies * Update testcontainers-docker slug
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["github>matrix-org/renovate-config-element-web"],
|
|
"postUpdateOptions": ["pnpmDedupe"],
|
|
"packageRules": [
|
|
{
|
|
"groupName": "testcontainers docker digests",
|
|
"groupSlug": "testcontainers-docker",
|
|
"matchDepTypes": ["testcontainers-docker"],
|
|
"matchPackageNames": ["*"]
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"datasourceTemplate": "docker",
|
|
"versioningTemplate": "loose",
|
|
"description": "Update testcontainers docker digests",
|
|
"managerFilePatterns": ["**/testcontainers/*.ts"],
|
|
"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"
|
|
}
|
|
]
|
|
}
|