Automated Dependency Updates for Html
Categories: cd
Renovate supports updating Html dependencies.
File Matching¶
By default, Renovate will check any files matching the following regular expression: \.html?$
.
For details on how to extend a manager's fileMatch
value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: cdnjs
.
Default config¶
{
"fileMatch": [
"\\.html?$"
],
"versioning": "semver",
"digest": {
"enabled": false
},
"pinDigests": false
}
Additional Information¶
The html
manager updates <script>
tags and CSS <link>
tags that point to the cdnjs content delivery network.
It also updates Subresource Integrity (SRI) hashes in integrity
attributes.
Key differences between the cdnurl
manager and the html
manager:
- The
html
manager updates SRI hashes, thecndurl
manager does not - The
html
manager automatically finds some files to update, thecndurl
manager must be given afileMatch
Open items¶
The below list of features were current when this page was generated on October 12, 2024.
Feature requests¶
- Detect JsDelivr links in html manager #26937