diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 4495b34ae..da5a36ecb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -28,6 +28,18 @@ ], datasourceTemplate: 'github-tags', }, + /** Manage unpkg */ + { + fileMatch: ['.*\\.html$'], + matchStrings: ['unpkg\\.com/(?[^@]+)@(?[^/]+)'], + datasourceTemplate: 'npm', + }, + /** Manage jsdelivr */ + { + fileMatch: ['.*\\.html$'], + matchStrings: ['cdn\\.jsdelivr\\.net/npm/(?[^@]+)@(?[^/]+)'], + datasourceTemplate: 'npm', + }, ], packageRules: [ /** Docker images versioning */ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15085296a..3479f8ab3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,10 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - id: mixed-line-ending + - repo: https://github.com/sbrunner/integrity-updater + rev: 0.1.0 + hooks: + - id: integrity-updater - repo: https://github.com/mheap/json-schema-spell-checker rev: main hooks: diff --git a/tilecloud_chain/templates/openlayers.html b/tilecloud_chain/templates/openlayers.html index eeb2a61c3..7a081b45d 100644 --- a/tilecloud_chain/templates/openlayers.html +++ b/tilecloud_chain/templates/openlayers.html @@ -32,8 +32,8 @@ /> @@ -59,8 +59,8 @@