Bug 2227706 - Upgrade to yarn v3
Summary: Upgrade to yarn v3
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yarnpkg
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Zuzana Svetlikova
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/yarnpkg/yarn
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 07:04 UTC by cyq
Modified: 2023-08-04 08:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-04 08:00:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description cyq 2023-07-31 07:04:16 UTC
Yarn 1.x at https://github.com/yarnpkg/yarn has been deprecated and frozen for almost a year now. Development (features & fixes) is now happening on 3.x branch at https://github.com/yarnpkg/berry. An upgrade is sorely overdue.

Reproducible: Always

Steps to Reproduce:
N/A
Actual Results:  
N/A

Expected Results:  
N/A

Comment 1 Sandro Mani 2023-07-31 07:23:41 UTC
I tried to look into it, but in the time spent on it I didn't really manage to understand how to build it from source. Hence I wonder whether the correct approach is rather to just install it via npm and retire the fedora package. Input welcome.

Comment 2 cyq 2023-07-31 09:49:05 UTC
It's typescript, so I don't think there is a "build step". There's an AUR package (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yarn-berry) that just copies the files.

Now admittedly there is a lack of packaging documentation/recommendation/guide from the authors. I have submitted an issue in their repo: https://github.com/yarnpkg/berry/issues/5628.

Comment 3 Sandro Mani 2023-08-04 08:00:25 UTC
According to upstream, yarn-v3 is not meant to be packaged. Closing therefore.


Note You need to log in before you can comment on or make changes to this bug.