joshwcomeau/guppy

Mark or highlight an outdated dependency

Open

#389 opened on Oct 12, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (151 forks)github user discovery
good first issueinvolves designupcoming feature

Repository metrics

Stars
 (3,248 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

It would be good to have an indicator in the dependency list that shows dependencies that are not up-to-date e.g. by adding a yellow dot close to the dependency.

Philip Sagala had the idea in a nolt comment.

Is your feature request related to a problem? Please describe.

At the moment, the user can only click at each dependency to check if there is something to update (see screenshot below).

It would be also great to have an "Update all" button.

Describe the solution you'd like

  • Adding a colored dot icon to the dependency list items with a tooltip e.g. "not up-to-date". Things to check:

    • What status do we need? Just outdated (would be a yellow dot) or is it possible to get other information about the package (e.g. deprecated package - would be a red dot)
    • Is the blue color of a selected dependency a problem for the colored dot? Maybe we need to place the dot outside of the selection.
  • Update all button (e.g. yarn upgrade --latest) with latest option it will ignore the version range specified in package.json. Do we need a prompt for this? Or shouldn't we add this as it could be critical to update everything to the latest version? I think it would be OK to add with a prompt to warn the user.

Describe alternatives you've considered

Additional context

grafik

Contributor guide