renovate icon indicating copy to clipboard operation
renovate copied to clipboard

[Question] Monitor versions on CDN links in HTML

Open greenpasta opened this issue 5 years ago • 3 comments

Which Renovate are you using? CLI, App, or Pro

App

Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps

GitLab

Have you checked the logs? Don't forget to include them if relevant

N/A

What is your question?

Is there a way for me to get Renovate Bot to monitor the versions of Bootstrap and jQuery CDNs in some HTML files? e.g.

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/spacelab/bootstrap.min.css">

<script src="`[`https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js`](https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js)`"></script>

<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

greenpasta avatar Nov 05 '19 14:11 greenpasta

I've moved this into the main repo as it would require a feature addition. We should compile a list of all mainstream CDNs we want to support and any important details about each? For example are they JS-only and can we assume they always map to the npm module of the same name?

rarkins avatar Nov 06 '19 09:11 rarkins

We just added cdnjs support recently so this could be next on our list. Looks like we'd need to add support for each CDN in datasource first. Can you provide more details/specifications about their URLs, APIs, etc?

rarkins avatar Mar 06 '20 11:03 rarkins

Built with tracks the most popular CDNs^1. The most popular, according to them, that we are missing are:

  1. jsDelivr
  2. BootstrapCDN
  3. jQuery CDN
  4. UNPKG

There are a lot more but, they are either miscounted (Cloudflare and cdnjs are counted separately), private or specialized (Google or Amazon S3), or drop off rapidly in popularity.

JamieMagee avatar Aug 09 '22 16:08 JamieMagee

Hi there,

Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible.

Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction.

We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

github-actions[bot] avatar May 13 '23 14:05 github-actions[bot]