Add a script to verify resolutions after package installation #450
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a strict version check to prevent incompatibility issues with
@abi-software/flatmapvuer. Currently, Yarnresolutionsonly output a warning during installation if versions do not match. These warnings are easily missed.Changes
"@abi-software/flatmapvuer": "1.12.1"inresolutions.postinstallscript (verify-resolutions.js) that converts resolution warnings into fatal errors.@abi-software/flatmapvuer.PACKAGES_TO_CHECKvariable in the script.Note
If there is an updated version of
@abi-software/flatmapvuer, we have to update its version inresolutions.Related issue: https://github.com/nih-sparc/sparc-app-issues/issues/500