<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/360803?s=20&v=4" /><strong>gravitystorm</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3451542098">(openstreetmap/openstreetmap-website#6478)</a></div>
<p dir="auto">It's a shame that we have to follow the minimum node version from a package that we only need static <code class="notranslate">.json</code> files from! It would be great to have as wide a supported version as possible, so that devs can use distribution packages wherever possible.</p>
<p dir="auto">Given that <a href="https://github.com/openstreetmap/openstreetmap-website/blob/5fdeb3c68a906094f5ad5e0e722f5b81ad871d02/Dockerfile#L2">we use bookworm</a> in the Dockerfile, and <a href="https://packages.debian.org/bookworm/nodejs" rel="nofollow">bookworm ships with node 18</a>, this change would be expected to fail CI.</p>
<p dir="auto">However, since <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/bin/yarn#L13">we've patched bin/yarn to use <code class="notranslate">--ignore-engines</code></a> it still works. This then leads to a confusing situation where we will both specify a minimum node version (22) and also go out of our way to ignore it, and I'm not sure that's ideal.</p>
<p dir="auto">Any thoughts? Is there any trickery that can allow us to set a minimum node version (so that dependabot doesn't unexpectedly introduce a new stricter minimum) while also allow per-package overrides (e.g. for packages where we don't execute any javascript code)?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3451542098">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJBSUGIIYILQBBXQW33ZYL6RAVCNFSM6AAAAACKKFEN6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINJRGU2DEMBZHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLII5RYUPUQ7NQ32ELD3ZYL6RA5CNFSM6AAAAACKKFEN6OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTWNXJNFE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6478/c3451542098</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>

<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3451542098",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3451542098",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>