Building an NPM (or electron?) package (in my case https://github.com/kubernetes-sigs/kui)
Hi all, I tried the wiki and some search-foo but ended up with deprecated things on how to build a NPM package (or something that looks like it). https://en.opensuse.org/openSUSE:Packaging_nodejs In my case I wanted to try building kui from https://github.com/kubernetes-sigs/kui, which to me looks like NPM-Foo: Quoting the README:
I don't trust the prebuilts
We hear you. Choose your platform (e.g. mac:amd64), execute the following, then look in ./dist/electron.
git clone git@github.com:kubernetes-sigs/kui.git && cd kui && npm ci && \ npm run build:electron:mac:amd64
Might not be the best package to get going with NPM, as it seems rather complex. So any hints are highly appreciated. Kind Regards Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Hi all, On 10.01.22 at 16:23 Johannes Kastl wrote:
In my case I wanted to try building kui from https://github.com/kubernetes-sigs/kui, which to me looks like NPM-Foo:
Small addendum: I have just found two threads that mentioned https://github.com/openSUSE/obs-service-node_modules and will try this out. Any hints whether or not this is still the best choice are still appreciated... Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (1)
-
Johannes Kastl