vite_ruby icon indicating copy to clipboard operation
vite_ruby copied to clipboard

chore: switch to tinyglobby

Open benmccann opened this issue 6 months ago • 1 comments

Description 📖

closes https://github.com/ElMassimo/vite_ruby/issues/555

Background 📜

Vite uses tinyglobby, which has only 2 dependencies compared to 17 dependencies for fast-glob. Using the same library as Vite will allow the dependency to be deduped

The Fix 🔨

Replaced fast-glob with tinyglobby

Screenshots 📷

benmccann avatar Jun 27 '25 16:06 benmccann

@ElMassimo I can't tell from the logs what's wrong here. I just noticed though that there are multiple pnpm-lock.yaml files and when I ran pnpm install it updated the one in the root directory rather than the one in the vite-plugin-ruby directory. It looks to me like this project might use an older version of pnpm than I have. I have pnpm 10. Perhaps you could take a stab at updating the lockfile with whatever version you use?

benmccann avatar Jun 27 '25 17:06 benmccann