Skip to content

Add outdated command - #245

Closed
doug-wade wants to merge 1 commit into
lerna:masterfrom
doug-wade:add-outdated-command
Closed

doug-wade wants to merge 1 commit into
lerna:masterfrom
doug-wade:add-outdated-command

Conversation

@doug-wade

Copy link
Copy Markdown
Contributor

Runs npm outdated command to find out-of-date dependencies.

Example output:

dougwade code/clefs ‹master*› » lerna outdated
Lerna v2.0.0-beta.22
=== clefs ===
Package  Current  Wanted  Latest  Location
snyk      1.14.3  1.16.0  1.16.0  clefs
xo        0.15.1  0.15.1  0.16.0  clefs

=== clefs-fs ===
Package  Current  Wanted  Latest  Location
snyk      1.14.3  1.16.0  1.16.0  clefs-fs
xo        0.15.1  0.15.1  0.16.0  clefs-fs

=== clefs-localstorage ===
Package  Current  Wanted  Latest  Location
snyk      1.14.3  1.16.0  1.16.0  clefs-localstorage
xo        0.15.1  0.15.1  0.16.0  clefs-localstorage

=== clefs-simpleobject ===
Package  Current  Wanted  Latest  Location
snyk      1.14.3  1.16.0  1.16.0  clefs-simpleobject
xo        0.15.1  0.15.1  0.16.0  clefs-simpleobject

=== integration-tests ===
Package  Current  Wanted  Latest  Location
del        2.2.0   2.2.1   2.2.1  integration-tests

Successfully ran npm outdated in all packages

@doug-wade
doug-wade force-pushed the add-outdated-command branch from 1d3205c to 401e794 Compare June 23, 2016 21:54
@gigabo

gigabo commented Jun 23, 2016

Copy link
Copy Markdown
Contributor

I think this can be done with lerna exec npm outdated.

@hzoo

hzoo commented Jun 23, 2016

Copy link
Copy Markdown
Contributor

Yeah makes sense. Maybe lerna exec should output the folder/package it is running from (or under a flag too)

@airmrcr

airmrcr commented Nov 21, 2017

Copy link
Copy Markdown

Sorry to revisit an old issue, but I'm curious as to how this is really possible with just using lerna exec npm outdated? Lerna supports package hoisting using lerna bootstrap. When packages are hoisted, running lerna exec npm outdated results in a lot of "MISSING" warnings for packages because they've been hoisted to the root. Hoisting also means that simply running npm outdated at the root is less useful because the root package.json doesn't contain these dependencies.

I feel like lerna outdated would be extremely beneficial for those utilizing hoisting.

@lock

lock Bot commented Dec 27, 2018

Copy link
Copy Markdown

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants