Skip to content

Are dependencies downgrades correct? #166

Answered by ElMassimo
mdesantis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Maurizio!

In order to ensure compatibility between Vite and Vite Ruby, the upgrade command will follow the version specified by Vite Ruby.

The vite-plugin-ruby ^3.0.2 version will be resolved to ^3.0.5 (check the lockfile), but vite will not be upgraded to 2.7 to prevent incompatibilities.

Although it's a bit more work on my end, locking vite to a minor version ensures users don't upgrade to a newer version of Vite that hasn't been tested with Vite Ruby. I'll bump it to 2.7 and release a new version of vite_ruby.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ElMassimo
Comment options

Answer selected by mdesantis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants