From: | Desarrollos WEB <web@×××××××.com> |
---|---|
To: | gentoo-dev@l.g.o |
Subject: | [gentoo-dev] Eclass for nodejs |
Date: | Thu, 09 Feb 2023 19:20:42 |
Message-Id: | e9f0e9c2-2382-bfc0-c35a-bf4b2b4393ba@inode64.com |
1 | Hi, |
2 | |
3 | I am creating an eclass for nodejs using in my overlay for the ebuilds |
4 | of zigbee2mqtt and pm2 |
5 | I have started from several similar classes to make the eclass |
6 | I've set it up to use ebuilds with /packages like sys-apps/yarn and |
7 | dev-lang/typescript and also with ebuilds that pre-download the Go-style |
8 | node_modules directory (https://wiki.gentoo.org/wiki/Writing_go_Ebuilds) |
9 | to facilitate the creation of such ebuilds |
10 | |
11 | I wanted to comment with you if I'm on the right track, or if I should |
12 | separate the eclass for package type ebuilds and another for node_modules |
13 | |
14 | You can see the code at |
15 | https://github.com/inode64/inode64-overlay/blob/main/eclass/nodejs.eclass |
16 | |
17 | -- |
18 | Best regards, |
19 | Fco. Javier Félix |