public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Eclass for nodejs
@ 2023-02-09 19:20 Desarrollos WEB
  0 siblings, 0 replies; only message in thread
From: Desarrollos WEB @ 2023-02-09 19:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Hi,

I am creating an eclass for nodejs using in my overlay for the ebuilds 
of zigbee2mqtt and pm2
I have started from several similar classes to make the eclass
I've set it up to use ebuilds with /packages like sys-apps/yarn and 
dev-lang/typescript and also with ebuilds that pre-download the Go-style 
node_modules directory (https://wiki.gentoo.org/wiki/Writing_go_Ebuilds) 
to facilitate the creation of such ebuilds

I wanted to comment with you if I'm on the right track, or if I should 
separate the eclass for package type ebuilds and another for node_modules

You can see the code at 
https://github.com/inode64/inode64-overlay/blob/main/eclass/nodejs.eclass

-- 
Best regards,
Fco. Javier Félix


[-- Attachment #2: Type: text/html, Size: 1623 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-09 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 19:20 [gentoo-dev] Eclass for nodejs Desarrollos WEB

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox