<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/38784?s=20&v=4" /><strong>bhousel</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3456255154">(openstreetmap/openstreetmap-website#6478)</a></div>
<blockquote>
<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!</p>
</blockquote>
<p dir="auto">Yes - I agree you shouldn't need to do that! I commented in osm-community-index:</p>
<p dir="auto">The engines field is really for specifying what version is required to build the project, but downstream projects sometimes treat it as the version required to install the project. You won't need to build anything if you are just installing this as a dependency and pulling .json files from it.</p>
<p dir="auto">Even node treats this field as "advisory" unless you set the engineStrict flag, which is off by default.<br>
<a href="https://docs.npmjs.com/cli/v11/configuring-npm/package-json#engines" rel="nofollow">https://docs.npmjs.com/cli/v11/configuring-npm/package-json#engines</a></p>
<p dir="auto">Anyway, since we are using Bun now, I think I'll just remove the Node version from here. I didn't realize it was causing issues for installing the package.</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-3456255154">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNPQNTHGROKTZMYHQL3Z5PHHAVCNFSM6AAAAACKKFEN6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINJWGI2TKMJVGQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNSM7YJ7IRZUCUXJCL3Z5PHHA5CNFSM6AAAAACKKFEN6OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTWOAJCLE.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/c3456255154</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-3456255154",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6478#issuecomment-3456255154",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>