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

Reply via email to