Commit Graph
3 Commits
Author SHA1 Message Date
Lewis Dale f45b6308f9 Fix npm audit vulnerabilities and broken image build
Build and copy to prod / build-and-copy (push) Successful in 4m15s
Eleventy Image v7 removed its synchronous stats API, which broke the
build. Rather than downgrade (older versions bundle a vulnerable sharp),
adapt to v7 and clear out the remaining vulnerable dependencies:

- Make the `image` shortcode async
- Replace the unmaintained markdown-it-eleventy-img with a local plugin
  that pre-loads image metadata in eleventy.before, so markdown (and
  feed) images keep rendering as <picture> elements
- Upgrade @11ty/eleventy-fetch to v6
- Swap npm-run-all for the maintained npm-run-all2 fork
- Override eleventy-plugin-og-image's satori (and its pinned fflate) to
  patched versions, and set explicit heading weights in the OG template
  so newer satori doesn't synthesise bold text
2026-11-03 13:39:36 +00:00
Lewis Dale e0c315d837 Upgrade to Eleventy 3.0.0
Build and copy to prod / build-and-copy (push) Has been cancelled
2024-10-06 12:36:54 +01:00
Lewis Dale 6c599aeaaf Start bringing over a (curated) configuration for CSS and Eleventy 2023-02-04 16:27:15 +00:00