Closed pom421 closed 5 years ago
cordova-check-plugins
by default respects the semantic versioning of the installed plugin.
So, for example, if the plugin cordova-open-native-settings
was installed as cordova-open-native-settings@1.4.1
then the version would be pinned at 1.4.1
and an update would not be offered. This is because you may want that specific version and not to allow updates.
However, if you installed it as cordova-open-native-settings@^1.4.1
or cordova-open-native-settings@1
, then the version would not be pinned and the update offered.
Most likely cordova.plugins.diagnostic
and phonegap-plugin-barcodescanner
are version-pinned in your project.
To override this default behaviour and allow updates for all plugins (regardless of the semantic versioning), use the --unconstrain-versions
argument.
Thanks for your answer, Dave! It's crystal clear.
Hello Dave,
I don't understand how
cordova-check-plugins
watches the new versions plugins because on my project, when i runcordova-check-plugins
, I see :Only
cordova-open-native-settings
is seen as an old version. Butcordova.plugins.diagnostic
andphonegap-plugin-barcodescanner
have newer versions too.So what I do wrong ?
I use cordova-check-plugins@4.0.3 and cordovaCLI@8.0.0.