This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This script will report packages under the react-spectrum (v3) umbrella which have multiple versions in a project repo | |
* by looking at either the package-lock.json or yarn.lock file. Any packages that are reported by this script should be | |
* fixed to only have 1 imported version so that react-spectrum works correctly in the project repo. | |
* | |
* To run this script, temporarily copy it to the root directory of your project and run with node: | |
* `node lockCheck.js` | |
* | |
* Please feel free to report any errors/issues. | |
*/ |