• [gentoo-dev] Eclass for nodejs

    From Desarrollos WEB@21:1/5 to All on Thu Feb 9 20:30:01 2023
    This is a multi-part message in MIME format.
    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


    <html data-lt-installed="true">
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body style="padding-bottom: 1px;">
    <p>Hi, <br>
    </p>
    <p>I am creating an eclass for nodejs using in my overlay for the
    ebuilds of zigbee2mqtt and pm2<br>
    I have started from several similar classes to make the eclass<br>
    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
    (<a class="moz-txt-link-freetext" href="https://wiki.gentoo.org/wiki/Writing_go_Ebuilds">https://wiki.gentoo.org/wiki/Writing_go_Ebuilds</a>) to facilitate
    the creation of such ebuilds<br>
    <br>
    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<br>
    <br>
    You can see the code at
    <a class="moz-txt-link-freetext" href="https://github.com/inode64/inode64-overlay/blob/main/eclass/nodejs.eclass">https://github.com/inode64/inode64-overlay/blob/main/eclass/nodejs.eclass</a></p>
    <p> </p>
    <pre>--
    Best regards,
    Fco. Javier Félix</pre>
    <p style="line-height: 100%; margin-bottom: 0cm">
    <br>
    </p>
    <p>
    <style type="text/css">pre { font-family: "Liberation Mono", monospace; font-size: 10pt; background: transparent }p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }a:link { color: #000080; text-decoration: underline }</style></

    </body>
    <lt-container></lt-container>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)