On Wed, Oct 22, 2025 at 2:54 AM Jan Stanek <[email protected]> wrote:

>
> Hopefully packaging those tools won't be a too deep of a rabbit hole.
> Good luck!


husky and playwright were straightforward, but podman-desktop needs vite,
and both of them require rollup... and I haven't really figured out how to
package rollup yet.

I've opened
https://src.fedoraproject.org/rpms/nodejs-packaging/pull-request/18 and
could use some feedback.  podman-desktop requires pnpm to build, and I'm
not sure if it would be preferable to have one bundler script that can run
whichever tool is needed, or if it would be better to have separate
scripts. I also wanted to ask if npm should "--ignore-scripts" when
building the node_modules folders. I know that some source gathering
scripts exclude specific scripts, but it seems like any scripts should run
in the build phase rather than when gathering node_modules.

At least rollup ends up trying to build rust modules while bundling
modules, which is obviously the wrong thing to do.
-- 
_______________________________________________
nodejs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to