<p></p>
<ol dir="auto">
<li>Yarn 1 could be deprecated in any moment and it is in maintenance mode, and the new lockfile format can be more safe: in fact it doesn't use the complete urls of the remotes, but it pulls everything from npm's database; if you want to use custom repos you have to use the complete link in the package.json. So yes it could be even a maintenance task</li>
<li>The v3 and v2 versions of yarn are ugly for this: if you upgrade you have to integrate the js code of yarn itself in your repository. In fact for upgrade i used <code>yarn set version berry</code> which pulls the js code from online to your repo. At the moment the only alternative should be <a href="https://nodejs.org/dist/latest-v17.x/docs/api/corepack.html" rel="nofollow">corepack</a>.</li>
<li>No, you can use node_modules as usual it is setted in the way to be retrocompatible</li>
<li>I will write now in this issue, because, if I'm right, nodejs 10 is in EOL at the moment. The flag it is removed from yarn, so it gives error trying</li>
</ol>

<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/3515#issuecomment-1080939250">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJ4BOZALGFBNLW2UG3VCHTM5ANCNFSM5R3NX3OA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNXIN4LUNIEQ7M2AL3VCHTM5A5CNFSM5R3NX3OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIBW5F4Q.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/3515/c1080939250</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/3515#issuecomment-1080939250",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3515#issuecomment-1080939250",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>