[Midnightbsd-cvs] [MidnightBSD/mports] ddf3b8: devel/electron39: fix yarn 4.x fetch and offline c...
Lucas Holt
noreply at github.com
Fri May 15 00:39:50 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: ddf3b8b0ac3ed86e9c9381f2646550f9c831625d
https://github.com/MidnightBSD/mports/commit/ddf3b8b0ac3ed86e9c9381f2646550f9c831625d
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-15 (Fri, 15 May 2026)
Changed paths:
M devel/electron39/Makefile
M devel/electron39/distinfo
Log Message:
-----------
devel/electron39: fix yarn 4.x fetch and offline corepack setup
yarn-4.x (Berry) is not published on registry.npmjs.org under the
'yarn' package name; that URL 404s. Additionally, repo.yarnpkg.com
is defunct. Corepack's npm fallback for yarn 4.x is @yarnpkg/cli-dist.
- Change YARN_NPM_URL to registry.npmjs.org/@yarnpkg/cli-dist
- Update distinfo SHA256/SIZE for the new source tarball
- Replace `corepack install -g` (which requires a corepack-pack
format archive) with manual COREPACK_HOME seeding: extract
yarn.js from the @yarnpkg/cli-dist npm tarball, write the
sha512-based .corepack metadata, and create lastKnownGood.json
- Add COREPACK_HOME and COREPACK_ENABLE_NETWORK=0 to MAKE_ENV so
all yarn invocations use the pre-seeded local binary without
attempting network access
AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list