dpa99c / cordova-check-plugins

A CLI tool to check for / manage plugin updates in Cordova/Phonegap projects.
216 stars 25 forks source link

Stopped working?? #43

Open flemmingdjensen opened 4 years ago

flemmingdjensen commented 4 years ago

Hi, i have been using this tool together with an Ionic V1.3.5 app and it seems now that it doesn't figure out any more if there is an updated plugin...

The spinner runs, and in verbose mode you can see that it checks all the different NPM sites but in the end it gives out a report listing all my plugins as being uptodate....

Which they arent...

I have tried all the modes (auto, interactive) and also --force but cannot get the tool to work properly

BR

dpa99c commented 4 years ago

This tool still works with cordova@9 (even though that version now stores plugin version info in package.json instead of config.xml which means --target=config currently does not work properly) since it uses plugins/fetch.json to determine the installed plugin versions.

Please provide an example of the arguments you are passing via the CLI and if possible your fetch.json and the terminal output of the CLI command.

flemmingdjensen commented 4 years ago

An example...

If i run the tool without parameters in an Ionic v1 folder i get a list of plugins that are updated fx

cordova-check-plugins


plugin: cordova-plugin-insomnia source: npm://cordova-plugin-insomnia@~4.2.0 installed version: 4.2.0 remote version: 4.2.0

plugin: cordova-plugin-x-toast source: npm://cordova-plugin-x-toast@~2.5.2 installed version: 2.5.2 remote version: 2.5.2

x-toast should be updated because it is 2.7.2

But funny enough it finds one plugin that needs updating


plugin: cordova-plugin-customurlscheme source: npm://cordova-plugin-customurlscheme installed version: 4.4.0 remote version: 5.0.0

MauPoLom commented 4 years ago

Same here,

in npm: cordova-plugin-calendar@5.1.5

plugin: cordova-plugin-calendar source: npm://cordova-plugin-calendar@5.1.4 installed version: 5.1.4 remote version: 5.1.4

tobiasrichter commented 4 years ago

Also same,

in npm: cordova-plugin-camera@4.1.0

plugin: cordova-plugin-camera source: npm://cordova-plugin-camera@4.0.3 installed version: 4.0.3 remote version: 4.0.3