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