On Wed, Oct 22, 2025 at 4:44 AM Gordon Messmer <[email protected]> wrote: > Right, I'm using that. But podman desktop's package.json needs husky in a > "prepare" step, and playwright in a "postinstall" step. Both modules are > listed as devDepedencies, but npm pack fails if they are not available in the > user's PATH before running nodejs-packaging-bundler > > https://github.com/podman-desktop/podman-desktop/blob/main/package.json#L111-L112 > > Bundling them won't work because they're required to create the bundle. :)
Ah, I see. In that case packaging the tools as rpms would probably be the way to go; either that or patching the package in a way that would remove the usage of the tools. Not sure if that's viable in your case; I managed to get rid of husky in case of nodejs-undici, as there it was only used to set up git hooks (which were not necessary for the build): https://src.fedoraproject.org/rpms/nodejs-undici/blob/rawhide/f/undici-sources.sh#_57 Hopefully packaging those tools won't be a too deep of a rabbit hole. Good luck! -- Jan Stanek Software Engineer Red Hat IM: @jstanek -- _______________________________________________ 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
