Skip to main content


Any #nodejs developers interested in taking up this challenge?

Build #yarn 1.x with #babel 7.x

Yarn 2.x already moved to babel 7.x but there is no stable release for yarn 2.x and it is completely different from yarn 1.x.

This will help us ship yarn in #debian (we already moved everything else to babel 7.x but could not port this yet) for next stable release bullseye.

It would be useful to nodejs developers to make initial installation of yarn easy.
The situation seems worse than I initially thought.

As per yarn 2 announcement blog,

https://dev.to/arcanis/introducing-yarn-2-4eh1

Yarn 2 can be installed using yarn 1 only!

Why do everyone has reinvent a different wheel?

#debian #yarn #npm @nodejs #javascript
@paolog tried packaging yarn 2 and this is what he found

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976081#63

Quoting part of it,

"the tarball is 180 MB (up from ~70 MB for yarn 1) and has all dependencies needed to run yarn (!) including monaco-editor (?) from Microsoft (the code editor which powers VS Code), react-icons, 6 versions of the typescript tree (version 3.75, 3.95 and 4.1 and three patched versions) etc."

#debian #yarn #npm #nodejs #javascript
@paolog

So now installing yarn 2 on #debian is like,

# apt install npm
# npm install -g yarn
$ yarn set version berry

#yarn #yarnpkg #npm #node #nodejs
yes but the last line only applies locally in a project
@paolog with excellent troubleshooting by @akshay we finally have #yarn built with #babel 7!

Thanks a lot Akshay for helping here and which also makes it possible to remove babel 6 from #debian.

Thanks also to Paolo for maintaining yarnpkg. Its a bit of relief that all your packaging work was not lost as not shipping yarn in bullseye main would have been a big disappointment.

#nodejs #javascript
that’s really a team upload ! Thanks for your efforts
Second post by Akshay in this series,

https://asd.learnlearn.in/second-debian-contribution/

Hopefully we have a working yarn package now. #debian #yarn #javascript #nodejs
Another good news here. I got yarn 2 built using corepack sources!

I used a few npm dist tarballs in node_modules, once we package those, we can have yarn 2 in main.

#nodejs #yarn #debian
I rejoice, and ready to play with it although there are many things I don’t grasp. You need to file an ITP and share a packaging repo ?
yes, I will get to it in the coming days. If you are impatient, you can start with the missing build dependencies (I shared the list in js team list).