Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
330 stars 226 forks source link

Add Dependabot support and update KaTeX #3298

Closed d-torrance closed 6 days ago

d-torrance commented 2 weeks ago

We add support for Dependabot to keep our GitHub actions and the npm modules used for the two Javascript syntax highlighting lexers up-to-date.

Once the file .github/dependabot.yml has been merged into the master branch, we will get automated PR's on occasion when any of these modules are updated.

For example, here are the PR's that I got on my branch when I tested it out:

I went ahead merged all these and included the commits in this PR.

mikestillman commented 2 weeks ago

@mahrud Could you review this PR?

mahrud commented 2 weeks ago

I'm not very familiar with dependabot, but few suggestions that come to mind:

d-torrance commented 2 weeks ago

Yeah, less frequent updates is probably better. The examples all use weekly, so I just ran with it.

I think Visualize and Style support would be good, too. I have draft branches for both.

d-torrance commented 2 weeks ago

I've changed the interval to monthly and also set the PR's to be grouped.

d-torrance commented 2 weeks ago

I went ahead and added the KaTeX update to this PR. Visualize is going to need quite a bit of work to update.

d-torrance commented 1 week ago

I realized that we don't need all the dependencies for the highlight.js any more -- that was just cruft left over from before we switched to prism for syntax highlighting the documentation. I went ahead and removed all that.

mahrud commented 1 week ago

Here's a suggestion: