Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - yarn outdated - ability to group/sort by workspace #8278

Open
jharris4 opened this issue Aug 5, 2020 · 0 comments
Open

Comments

@jharris4
Copy link

jharris4 commented Aug 5, 2020

In a monorepo using yarn workspaces, the result of running yarn outdated looks like this:

yarn outdated v1.22.4
info Color legend : 
 "<red>"    : Major Update backward-incompatible updates 
 "<yellow>" : Minor Update backward-compatible features 
 "<green>"  : Patch Update backward-compatible bug fixes
Package               Current Wanted Latest Workspace                    Package Type URL                                                     
@babel/core           7.11.0  7.11.1 7.11.1 @porterjs/babel-register     dependencies https://babeljs.io/                                     
@babel/core           7.11.0  7.11.1 7.11.1 @porterjs/babel              dependencies https://babeljs.io/                                     
@babel/core           7.11.0  7.11.1 7.11.1 @porterjs/jest               dependencies https://babeljs.io/                                     
@babel/core           7.11.0  7.11.1 7.11.1 @porterjs/webpack            dependencies https://babeljs.io/                                     
bootstrap             4.5.0   4.5.1  4.5.1  @porterjs/app-demo           dependencies https://getbootstrap.com/                               
mocha                 8.1.0   8.1.1  8.1.1  @porterjs/mocha              dependencies https://mochajs.org/                                    
sass-loader           9.0.2   9.0.3  9.0.3  @porterjs/webpack-sass-addon dependencies https://github.com/webpack-contrib/sass-loader          
svelte                3.24.0  3.24.1 3.24.1 @porterjs/svelte             dependencies https://github.com/sveltejs/svelte#README               
terser-webpack-plugin 3.0.8   3.1.0  4.0.0  @porterjs/webpack            dependencies https://github.com/webpack-contrib/terser-webpack-plugin
whatwg-fetch          3.2.0   3.3.1  3.3.1  @porterjs/webpack            dependencies https://github.com/github/fetch#readme                  
✨  Done in 4.14s.

It would be REALLY nice to have some way to also sort this output by the Workspace column as well as just the Package column.

This could just be an extension of the existing PR 2759

It might be a good idea to add a CLI argument to enable such a feature, maybe something like yarn outdated --group-workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant