pnpm/pnpm
### [`v7.22.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.22.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.21.0...v7.22.0)
##### Minor Changes
- The `pnpm list` and `pnpm why` commands will now look through transitive dependencies of `workspace:` packages. A new `--only-projects` flag is available to only print `workspace:` packages.
- `pnpm exec` and `pnpm run` command support `--resume-from` option. When used, the command will executed from given package [#4690](https://togithub.com/pnpm/pnpm/issues/4690).
- Expose the `npm_command` environment variable to lifecycle hooks & scripts.
##### Patch Changes
- Fix a situation where `pnpm list` and `pnpm why` may not respect the `--depth` argument.
- Report to the console when a git-hosted dependency is built [#5847](https://togithub.com/pnpm/pnpm/pull/5847).
- Throw an accurate error message when trying to install a package that has no versions, or all of its versions are unpublished [#5849](https://togithub.com/pnpm/pnpm/issues/5849).
- replace dependency `is-ci` by `ci-info` (`is-ci` is just a simple wrapper around `ci-info`).
- Only run prepublish scripts of git-hosted dependencies, if the dependency doesn't have a main file. In this case we can assume that the dependencies has to be built.
- Print more contextual information when a git-hosted package fails to be prepared for installation [#5847](https://togithub.com/pnpm/pnpm/pull/5847).
##### Our Gold Sponsors
##### Our Silver Sponsors
### [`v7.21.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.21.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.20.0...v7.21.0)
#### Minor Changes
- The `pnpm dlx` command supports the `--shell-mode` (or `-c`) option. When used, the script is executed by a shell [#5679](https://togithub.com/pnpm/pnpm/issues/5679).
#### Patch Changes
- The config command should work with the `--location=global` CLI option [#5841](https://togithub.com/pnpm/pnpm/issues/5841).
- Only the `pnpm add --global ` command should fail if there is no global pnpm bin directory in the system PATH [#5841](https://togithub.com/pnpm/pnpm/issues/5841).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.20.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.20.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.19.0...v7.20.0)
##### Minor Changes
- pnpm gets its own implementation of the following commands:
- `pnpm config get`
- `pnpm config set`
- `pnpm config delete`
- `pnpm config list`
In previous versions these commands were passing through to npm CLI.
PR: [#5829](https://togithub.com/pnpm/pnpm/pull/5829)
Related issue: [#5621](https://togithub.com/pnpm/pnpm/issues/5621)
- Add show alias to `pnpm view` [#5835](https://togithub.com/pnpm/pnpm/pull/5835).
- pnpm reads settings from its own global configuration file at `$XDG_CONFIG_HOME/pnpm/rc` [#5829](https://togithub.com/pnpm/pnpm/pull/5829).
- Add the 'description'-field to the licenses output [#5836](https://togithub.com/pnpm/pnpm/pull/5836).
##### Patch Changes
- `pnpm rebuild` should not fail if `node_modules` was created by pnpm version 7.18 or older [#5815](https://togithub.com/pnpm/pnpm/issues/5815).
- `pnpm env` should print help.
- Run the prepublish scripts of packages installed from Git [#5826](https://togithub.com/pnpm/pnpm/issues/5826).
- `pnpm rebuild` should print a better error message when a hoisted dependency is not found [#5815](https://togithub.com/pnpm/pnpm/issues/5815).
##### Our Gold Sponsors
##### Our Silver Sponsors
### [`v7.19.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.19.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.18.2...v7.19.0)
#### Minor Changes
- New setting supported in the `package.json` that is in the root of the workspace: `pnpm.requiredScripts`. Scripts listed in this array will be required in each project of the worksapce. Otherwise, `pnpm -r run Githubissues.
Githubissues is a development platform for aggregating issues.
This PR contains the following updates:
7.18.2
->7.22.0
Release Notes
pnpm/pnpm
### [`v7.22.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.22.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.21.0...v7.22.0) ##### Minor Changes - The `pnpm list` and `pnpm why` commands will now look through transitive dependencies of `workspace:` packages. A new `--only-projects` flag is available to only print `workspace:` packages. - `pnpm exec` and `pnpm run` command support `--resume-from` option. When used, the command will executed from given package [#4690](https://togithub.com/pnpm/pnpm/issues/4690). - Expose the `npm_command` environment variable to lifecycle hooks & scripts. ##### Patch Changes - Fix a situation where `pnpm list` and `pnpm why` may not respect the `--depth` argument. - Report to the console when a git-hosted dependency is built [#5847](https://togithub.com/pnpm/pnpm/pull/5847). - Throw an accurate error message when trying to install a package that has no versions, or all of its versions are unpublished [#5849](https://togithub.com/pnpm/pnpm/issues/5849). - replace dependency `is-ci` by `ci-info` (`is-ci` is just a simple wrapper around `ci-info`). - Only run prepublish scripts of git-hosted dependencies, if the dependency doesn't have a main file. In this case we can assume that the dependencies has to be built. - Print more contextual information when a git-hosted package fails to be prepared for installation [#5847](https://togithub.com/pnpm/pnpm/pull/5847). ##### Our Gold Sponsors