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,

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

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


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


@praveen yes but the last line only applies locally in a project

· · Web · 0 · 0 · 0
Sign in to participate in the conversation

The original server operated by the Mastodon gGmbH non-profit