Sometimes, when installing new dependencies that rely on many peer dependencies,
or when running installation on a huge monorepo, there will be hundreds or thousands of warnings.
Printing many messages to the terminal is expensive and reduces speed,
so pnpm will only print a few warnings and report the total number of the unprinted warnings.
PR #2826
Add new global option called `--stream`.
When used, the output from child processes is streamed to the console immediately, prefixed with the originating package directory. This allows output from different packages to be interleaved.
close#2147close#1609
PR #2595
`--prefix` will continue to work for compatibility with npm but the docs will only mention `--working-dir`.
BREAKING CHANGE:
- @pnpm/config
- @pnpm/default-reporter
- supi
PR #2115
ref #2088
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
Flat node_modules is only allowed in the workspace root.
shamefully-flatten should only hoists dependencies of the
root workspace package.
close#1928
PR #1931
BREAKING CHANGE: @pnpm/shamefully-flatten
pnpm should fail if the project has an engines.pnpm field in its
package.json and the running pnpm's version does not satisfy the
range.
pnpm should also fail it the project has an engines.node field
and process.version does not satisfy it.
close#1382
PR #1914
PR #1573
* feat(reporting): collapse build output of deps inside node_modules
ref #1440
* feat(reporting): nicer reporting of lifecycle output
* feat(reporting): print the number of collapsed lines
* feat(reporting): always print the status of the child processes
* refactor: reporting
* feat(reporting): nicer indentation
* feat(reporting): report duration of script run
close#1440