New config value for package-importe-method: clone
close#1505
PR #2043
BREAKING CHANGE:
reflink is not supported by package-import-method
BREAKING CHANGE:
by default, try to clone packages instead of hard linking
PR #1957
BREAKING CHANGE:
By default, dependencies from the workspace are installed with the "workspace:" protocol.
The `save-workspace-protocol=false` setting may be used to cancel this behavior.
As of pnpm v3, pnpm fails if the configs that were used when creating node_modules differ from the present ones. For instance, if independent-leaves is set to false globally but installation was done using pnpm install --independent-leaves. Running pnpm add foo will fail. Only pnpm add foo --independent-leaves will work
These changes are making this less strict. If node_modues was created using some configs, installation will only fail if the present configs are set locally (or via CLI flags) and they have incompatible values.
So if pnpm install --independent-leaves was used, then pnpm add foo will work. But pnpm add foo --no-independent-leaves will fail.
PR #2034
This PR adds a `--no-table` option that prints out
the info on each package vertically concatenated with no borders
and a blank line between each package.
Note that the `--long` option may also be used in conjunction
with `--no-table` to add the details at the end of each set
of package info.
PR #2026close#1984
Co-Authored-By: nikoladev <nikola@pilipovic.nl>
Co-Authored-By Zoltan Kochan <zkochan@users.noreply.github.com>
Co-Authored-By ExE-Boss <ExE-Boss@users.noreply.github.com>
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