giaever-online-iot / zwave-js-ui

Fully configurable Z-wave JS Control Panel and Z-Wave to MQTT Gateway
MIT License
10 stars 1 forks source link

fix: remove yarn, use npm #5

Closed robertsLando closed 10 months ago

robertsLando commented 10 months ago

@jmgiaever I have added some FIXME comment on places I'm not sure what to use

jmgiaever commented 10 months ago

Ty mate 🫶 Hah, I last night fixed stuff for 9.4.x 😆 I will try to transition for npm tomorrow. It's just burning around me atm. High season at work.

Why the change from yarn btw?

robertsLando commented 10 months ago

Hi Joachim 🫶

I saw you pushed some stuff recently, feel free to edit the missing pieces here if needed (or tell me what to do, I don't know anything about snap), I would drop the layout part entirely but I'm not sure so I let you check it when you have time, just wanted to help with the transition to make it less painfull as I know you are very busy in this period :)

Why the change from yarn btw?

Long story short is it turned me crazy with bugs on docker, the only way I found to make everything work was to use some mixed npm commands, after making it work I just decided to drop yarn entirely as there was no reason to have both, now image size has been reduced a lot and it also take only 7 minutes to build on all archs compared to 1h 🎉

You can find the full story behind this here: https://github.com/zwave-js/zwave-js-ui/issues/3430#issuecomment-1825526240

robertsLando commented 10 months ago

jq is no longer needed, it was to remove yarn dev deps. Dunno about yq it's not needed on my side 🤷🏼‍♂️

jmgiaever commented 10 months ago

I might use them to parse the settings file back and fourth, in the Bourne scripts. Can't recall. I think it's time to rework the project as so much has changed the past years.

jmgiaever commented 10 months ago

@robertsLando is npx needed?

And what about corepack?

robertsLando commented 10 months ago

Never used, dunno what is that for?