ElMassimo / vite_ruby

⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience
https://vite-ruby.netlify.app/
MIT License
1.28k stars 117 forks source link

feat: change default execution to use `npx vite` instead #480

Closed ElMassimo closed 1 month ago

ElMassimo commented 1 month ago

Description 📖

This pull request changes the default behavior for executing vite to use the package manager instead.

For example, npx vite or yarn vite.

The viteBinPath will still be used if provided.

Background 📜

npm bin was removed in npm 9.

In addition, unlike what happens in other ecosystems, JS is getting more package managers: