Previously, by default the `outdated` commands displayed a “Details” column which usually contained the URL to the package repo. As the URL could be quite long, on narrow terminals it would cause the table to wrap in a way which ruined the table borders.
This commit hides the “Details” column by default, and displays the column if `--long` is passed to the command.
PR #2017
The previous design of the outdated table had a few issues with readability:
- The borders of the table cells were visually competing with the content of the cells.
- The leftmost column had no border and was flush with the edge of the terminal. This made it difficult for the eye to find the start of the line, and also made the entire table seem unbalanced since all other cells had a left border and padding before the text.
- The headers were not visually distinguished from the content.
This PR aims to address these issues by doing the following:
- The cell border is gray and a single line all around, which is enough to provide visual separation between cells but allows the cell content to be much stronger visually.
- The leftmost column has a left border and padding like all other cells. The padding and visual consistency makes the table easier to parse visually.
- The headers are now in blue, which sets them apart from the content cells.
PR #2007
New config added that allows hoisting packages by pattern.
This substitutes the shamefully-flatten config that hoist all
dependencies and makes them available for application code.
The new config gives access to the hoisted packages only to
dependencies inside node_modules.
close#1998close#1938
PR #1997
This issue was happening when two workspace packages had the same
dependency and that dependency depended on a peer dependency.
This dependency was resolved with the same peer dependency
in every workspace package even if the peer was different in
different workspace packages.
PR #1988