Gets the version of CDK used by an application. If there is a version mismatch, then modifies the package.json file of the application, informs the user and exits.
Checks a particular dependency CDK version.
Checks a dependency such that it has no wildcards in use. Optionally checks against an otherVersion.
Checks the local Mira dependencies when Mira has been installed as part of an app such that all Mira CDK deps should be installed as peer deps and also checks that any leftover CDK deps within Mira (not present in the app) are the same expected version as Mira specifies.
Checks that the file within node_modules matches what is expected for the dependency provided and the version. If any of these checks fails, an error is thrown.
Gets the CDK version within this local version of Mira. If there are any version range operators used, throws an error.
Generated using TypeDoc
MiraVersion checks the CDK version consistency across the Mira packge and the applications using Mira. It is capable of force-patching package.json files and running the NPM install.