Skip to content

ref(nuxt): Remove option to downgrade override nitropack - #744

Merged
andreiborza merged 2 commits into
masterfrom
ab/remove-nitropack-overrides
Dec 16, 2024
Merged

andreiborza merged 2 commits into
masterfrom
ab/remove-nitropack-overrides

Conversation

@andreiborza

Copy link
Copy Markdown
Member

Note: I kept the @vercel/nft override in without a version check because checking if a dependency of a dependency is installed is not super straight forward. I previously used https://github.com/browserify/resolve to check, but it requires dependencies to be installed - which they might not be yet at the point in time when we want to add overrides.

The alternative would be to run the install command for users again, which also seemed suboptimal.

So I opted to keep the override for @vercel/nft regardless of whether nitro is already over 2.10.0.

Closes: #736

@andreiborza
andreiborza requested review from Lms24 and s1gr1d December 16, 2024 12:34
@andreiborza
andreiborza merged commit e6a1fb0 into master Dec 16, 2024
@andreiborza
andreiborza deleted the ab/remove-nitropack-overrides branch December 16, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove version override for nitropack

2 participants