Problem: Some peerDependencies versions are not locked, because we want to allow higher versions to work with this module. Some of those dependencies are also defined under dependencies, because we import them in the module, and TypeScript cries if they are missing - those were locked to a specific version.
I now also allow dependencies to work with higher version, that way, the module will not download it's own version of the dependency, if it's not matching with the version that is required in the service that is using this module.
Problem: Some
peerDependencies
versions are not locked, because we want to allow higher versions to work with this module. Some of those dependencies are also defined underdependencies
, because we import them in the module, and TypeScript cries if they are missing - those were locked to a specific version.I now also allow
dependencies
to work with higher version, that way, the module will not download it's own version of the dependency, if it's not matching with the version that is required in the service that is using this module.