question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command `cordova outdated`

See original GitHub issue

… which is just npm outdated filtered down to only include platforms and plugins that are relevant to Cordova, not other Framework packages or similar.

This enables us to tell people to just run cordova outdated to learn what they have to update to get to a current state of all their libraries.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
dpoguecommented, Aug 27, 2018

Ugh, I just learned that not all projects have their platforms and plugins in package.json which means that npm outdated may not know enough (yet?).

The next version of Cordova will not support having platforms/plugins in config.xml. Everything will need to be in package.json.

0reactions
raphinessecommented, Aug 27, 2018

Possibly, I don’t really know what exactly it does and how it works internally.

It’s horrible code and I’m not surprised that it’s horribly broken. Incidentally, there’s a PR where I tried to cleanup the code a tiny bit: https://github.com/apache/cordova-lib/pull/650. But I would be happy to ditch it altogether. I actually suggested replacing it with something like npm outdated | grep cordova in the major release planning doc. It does a bit more than that, but not particularly well.


Is cordova platform update still really a thing?

Apparently so. In the face to face meeting, @purplecabbage talked about having done some work-in-progress to improve it. I guess it’s important for workflows that do not treat the platforms directory as purely generated artifacts 🤷‍♂️


Is [cordova platform check] maybe also broken anyway?

I dare you, take a look at the code. It would surprise me if it wasn’t broken 😁


What platform check definitely does not do is cover the CLI itself and plugins, which a filtered result set from npm outdated could do.

I agree. I think it would be good to have that. We should keep it simple, though. No plugin version conflict resolution or trying to install platforms like platform check does.


Ugh, I just learned that not all projects have their platforms and plugins in package.json which means that npm outdated may not know enough (yet?).

Progressive enhancement? Could be an incentive to switch to more modern workflow. We should maybe also be clear about what kind of project setups and workflows we want to continue to support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Command-line Interface - Apache Cordova
This tool allows you to create new projects, build them on different platforms, and run them within an emulator. You can also use...
Read more >
The Sunset of Apache Cordova: Alternatives For Cross ...
And referring to marketing signals, it should be mentioned that PhoneGap Build was discontinued in October 2020.
Read more >
Xcode and iOS Simulator versions pulling outdated Cordova
In my experience getting a really clean build with both Sencha and Cordova can be a bit tricky. Here are a couple of...
Read more >
How to update Cordova CLI, Platforms and Plugins - ionic.zone
Any errors or problem you are getting might be from your app - or just because you are using an outdated Cordova setup....
Read more >
What's new in Cordova 9.0, compared to Cordova 8.x - Enappd
Cordova followed it and changed the compiled Android project structure in the new Cordova version. But if you try to build an Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found