Please consider alternatives to npm like pnpm or bun

Npm is slowwwww. It also makes a mess of the node_modules directory. Pnpm and everyone else has much saner handling and performance. It would be great to migrate an existing pnpm project straight over. Vaading Hilla often feels like a Java persons perspective on a React app. It is not completely keeping up with modern React dev. Hats off it is mostly there.

As a longtime java and react dev, I can say not having the choice is unfortunate. It is also unfortunate to loose scripts from the package.json. JHipster has the scripts section as a point of reference.

I’d also like to eliminate things that will not be used like lit, etc. Lastly I’d also mention it is a shame adding packages to the package.json needs a full restart to get them installed. Possible to cli npm install and not need the restart, did not try it.

2 Likes

Thank you, lol I am so sorry, thought I had pored over the docs oops.

Is there a way to set bun as the default for all projects unless overridden locally in a project? Like a ~/.vaadin/config type thing?