Gentoo Archives: gentoo-dev

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Interest in a yarn / NPM eclass
Date: Sat, 11 Jun 2022 12:42:39
Message-Id: CACfyCdXaPh3D3wB=M0DYVcCvKfDgyPd+HG21MpmoD9sN2R3RLA@mail.gmail.com
In Reply to: Re: [gentoo-dev] Interest in a yarn / NPM eclass by "Robin H. Johnson"
1 Il giorno mer 8 giu 2022 alle ore 22:45 Robin H. Johnson <robbat2@g.o>
2 ha scritto:
3
4 > On Wed, Jun 08, 2022 at 07:23:15PM +0200, Alessandro Barbieri wrote:
5 > > I'm interested in an eclass that doesn't bundle everything together. Also
6 > > I'm interested in anyone that can share the package maintainership (in
7 > guru
8 > > first).
9 > >
10 > > I've already tried 3 approaches:
11 > ...
12 >
13 > Since you know this yarn/NPM ecosystem well, could you evaluate two
14 > other ideas?
15 > 4) Solutions like EGO_SUM
16 >
17
18 My second approach was like that
19
20
21 > 5) EGO_SUM successor of 2nd-level-Metadata-Manifest that I described in
22 > the recent EGO_SUM thread.
23 >
24 I havent' well understood it. In practice would be the same as 2/4 with
25 the same issues.
26 Let me remind you that unlike go/rust, nodejs packages aren't compiled and
27 if you bundle everything you'll end up with a massive amount of files
28 installed.
29 Please don't consider node any different from python/ruby/perl/php.