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

feat: merge readPackage hook from opts and pnpmfile #5403

Merged
merged 8 commits into from Sep 25, 2022

Conversation

AGrzes
Copy link
Contributor

@AGrzes AGrzes commented Sep 24, 2022

Prevent hook provided in opts from being discarded

Closes #5306

@zkochan zkochan merged commit 51566e3 into pnpm:main Sep 25, 2022
@welcome
Copy link

welcome bot commented Sep 25, 2022

Congrats on merging your first pull request! 🎉🎉🎉

@zkochan zkochan added this to the v7.13 milestone Oct 3, 2022
kodiakhq bot pushed a commit to singlestone/sugar that referenced this pull request Oct 22, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`7.11.0` -> `7.14.0`](https://renovatebot.com/diffs/npm/pnpm/7.11.0/7.14.0) | [![age](https://badges.renovateapi.com/packages/npm/pnpm/7.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pnpm/7.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pnpm/7.14.0/compatibility-slim/7.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pnpm/7.14.0/confidence-slim/7.11.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>pnpm/pnpm</summary>

### [`v7.14.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.14.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.6...v7.14.0)

#### Minor Changes

-   Add `pnpm doctor` command to do checks for known common issues

#### Patch Changes

-   Ignore the `always-auth` setting.

    pnpm will never reuse the registry auth token for requesting the package tarball, if the package tarball is hosted on a different domain.

    So, for example, if your registry is at `https://company.registry.com/` but the tarballs are hosted at `https://tarballs.com/`, then you will have to configure the auth token for both domains in your `.npmrc`:

        @&#8203;my-company:registry=https://company.registry.com/
        //company.registry.com/=SOME_AUTH_TOKEN
        //tarballs.com/=SOME_AUTH_TOKEN

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.6`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.6)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.5...v7.13.6)

#### Patch Changes

-   Downgrade `@pnpm/npm-conf` to remove annoying builtin warning [#&#8203;5518](https://togithub.com/pnpm/pnpm/issues/5518).
-   `pnpm link --global <pkg>` should not change the type of the dependency [#&#8203;5478](https://togithub.com/pnpm/pnpm/issues/5478).
-   When the `pnpm outdated` command fails, print in which directory it failed.

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.5)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.4...v7.13.5)

#### Patch Changes

-   Print a warning when cannot read the built-in npm configuration.
-   Also include missing deeply linked workspace packages at headless installation [#&#8203;5034](https://togithub.com/pnpm/pnpm/issues/5034).
-   `pnpm outdated` should work when the package tarballs are hosted on a domain that differs from the registry's domain [#&#8203;5492](https://togithub.com/pnpm/pnpm/issues/5492).
-   `strict-peer-dependencies` is set to `false` by default.

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.4`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.4)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.3...v7.13.4)

#### Patch Changes

-   `pnpm link <pkg> --global` should work when a custom target directory is specified with the `--dir` CLI option [#&#8203;5473](https://togithub.com/pnpm/pnpm/pull/5473).
-   It should be possible to override dependencies with local packages using overrides [#&#8203;5443](https://togithub.com/pnpm/pnpm/issues/5443).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.3)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.2...v7.13.3)

#### Patch Changes

-   Don't crash when `auto-install-peers` is set to `true` and installation is done on a workspace with that has the same dependencies in multiple projects [#&#8203;5454](https://togithub.com/pnpm/pnpm/issues/5454).
-   Add global option in `pnpm link --help` [#&#8203;5461](https://togithub.com/pnpm/pnpm/pull/5461).
-   Show execution time on `install`, `update`, `add`, and `remove` [#&#8203;1021](https://togithub.com/pnpm/pnpm/issues/1021).
-   Fix the return path of `pnpm pack`, when a custom destination directory is used [#&#8203;5471](https://togithub.com/pnpm/pnpm/issues/5471).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.2)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.1...v7.13.2)

#### Patch Changes

-   When linking commands to a directory, remove any .exe files that are already present in that target directory by the same name.

    This fixes an issue with pnpm global update on Windows. If pnpm was installed with the standalone script and then updated with pnpm using `pnpm add --global pnpm`, the exe file initially created by the standalone script should be removed.

-   When a direct dependency fails to resolve, print the path to the project directory in the error message.

-   `pnpm patch-commit` should work when the patch directory is specified with a trailing slash [#&#8203;5449](https://togithub.com/pnpm/pnpm/issues/5449).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.1)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.0...v7.13.1)

##### Patch Changes

-   `pnpm update --interactive` should not list dependencies ignored via the `pnpm.updateConfig.ignoreDependencies` setting.

##### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

##### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.13.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.2...v7.13.0)

#### Minor Changes

-   Ignore packages listed in `package.json` > `pnpm.updateConfig.ignoreDependencies` fields on update/outdated command [#&#8203;5358](https://togithub.com/pnpm/pnpm/issues/5358)

    For instance, if you don't want `webpack` automatically to be updated when you run `pnpm update --latest`, put this to your `package.json`:

    ```json
    {
      "pnpm": {
        "updateConfig": {
          "ignoreDependencies": ["webpack"]
        }
      }
    }
    ```

    Patterns are also supported, so you may ignore for instance any packages from a scope: `@babel/*`.

-   It is possible now to update all dependencies except the listed ones using `!`. For instance, update all dependencies, except `lodash`:

          pnpm update !lodash

    It also works with pattends, for instance:

          pnpm update !@&#8203;babel/*

    And it may be combined with other patterns:

          pnpm update @&#8203;babel/* !@&#8203;babel/core

#### Patch Changes

-   Hooks should be applied on `pnpm deploy` [#&#8203;5306](https://togithub.com/pnpm/pnpm/issues/5306).
-   Stop `--filter-prod` option to run command on all the projects when used on workspace. `--filter-prod` option now only filter from `dependencies` and omit `devDependencies` instead of including all the packages when used on workspace. So what was happening is that if you use `--filter-prod` on workspace root like this:

    ```bash
    pnpm --filter-prod ...build-modules exec node -e 'console.log(require(`./package.json`).name)'
    ```

    it was printing all the package of workspace, where it should only print the package name of itself and packages where it has been added as `dependency` (not as `devDependencies`)
-   Don't override the root dependency when auto installing peer dependencies [#&#8203;5412](https://togithub.com/pnpm/pnpm/issues/5412).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

#### What's Changed
* GitHub Workflows security hardening by @&#8203;sashashu[pnpm/pnpm#5405
* feat: merge readPackage hook from opts and pnpmfile by @&#8203;AGrz[pnpm/pnpm#5403
* feat: excluding deps from update by @&#8203;zkoch[pnpm/pnpm#5432
* fix: dir path repeated join in link global by @&#8203;lv[pnpm/pnpm#5434
* fix: filter-prod flag including all workspace pkgs by @&#8203;noorulh[pnpm/pnpm#5437
* Feature: ignore packages listed in `package.json > pnpm.updateConfig.ignoreDependencies` on update/outdated commands by @&#8203;Shinyaige[pnpm/pnpm#5408
* fix: don't override root deps when auto installing peers by @&#8203;zkoch[pnpm/pnpm#5442

#### New Contributors
* @&#8203;sashashura made their first contributi[pnpm/pnpm#5405
* @&#8203;AGrzes made their first contributi[pnpm/pnpm#5403
* @&#8203;noorulh06 made their first contributi[pnpm/pnpm#5437

**Full Changelog**: pnpm/pnpm@v7.12.2...v7.13.0

### [`v7.12.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.2)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.1...v7.12.2)

##### Patch Changes

-   Don't crash when auto-install-peers is true and the project has many complex circular dependencies [#&#8203;5394](https://togithub.com/pnpm/pnpm/pull/5394).
-   `pnpm link --global` should work with the `--dir=<path>` option [#&#8203;5371](https://togithub.com/pnpm/pnpm/pull/5371).

##### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

##### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

##### What's Changed
* fix: error in pnpm --dir <path> link --global by @&#8203;lv[pnpm/pnpm#5371
* fix: cli crash with auto-install-peers=true by @&#8203;zkoch[pnpm/pnpm#5394

##### New Contributors
* @&#8203;lvqq made their first contributi[pnpm/pnpm#5371

**Full Changelog**: pnpm/pnpm@v7.12.1...v7.12.2

### [`v7.12.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.1)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.0...v7.12.1)

#### Patch Changes

-   Deduplicate peer dependencies when automatically installing them [#&#8203;5373](https://togithub.com/pnpm/pnpm/issues/5373).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

#### What's Changed
* fix: deduplicate peer deps by @&#8203;zkoch[pnpm/pnpm#5377

**Full Changelog**: pnpm/pnpm@v7.12.0...v7.12.1

### [`v7.12.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.11.0...v7.12.0)

#### Minor Changes

-   A new setting supported in the pnpm section of the `package.json` file: `allowNonAppliedPatches`. When it is set to `true`, non-applied patches will not cause an error, just a warning will be printed. For example:

    ```json
    {
      "name": "foo",
      "version": "1.0.0",
      "pnpm": {
        "patchedDependencies": {
          "express@4.18.1": "patches/express@4.18.1.patch"
        },
        "allowNonAppliedPatches": true
      }
    }
    ```

-   Now it is possible to exclude packages from hoisting by prepending a `!` to the pattern. This works with both the `hoist-pattern` and `public-hoist-pattern` settings. For instance:

        public-hoist-pattern[]='*types*'
        public-hoist-pattern[]='!@&#8203;types/react'

        hoist-pattern[]='*eslint*'
        hoist-pattern[]='!*eslint-plugin*'

    Ref [#&#8203;5272](https://togithub.com/pnpm/pnpm/issues/5272)

#### Patch Changes

-   When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project [#&#8203;4820](https://togithub.com/pnpm/pnpm/issues/4820).
-   `pnpm patch` should work on files that don't have an end of line [#&#8203;5320](https://togithub.com/pnpm/pnpm/issues/5320).
-   Fix `pnpm patch` using a custom `--edit-dir`.

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/nhost.svg" width="180"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/novu.svg" width="180"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/prisma.svg" width="180">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/vercel.svg" width="180">
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=readme#gh-light-mode-only" target="_blank">
          <img src="https://pnpm.io/img/users/doppler.svg" width="280">
        </a>
      </td>
    </tr>
  </tbody>
</table>

#### What's Changed
* fix(patch): allow to edit a package in any directory by @&#8203;zkoch[pnpm/pnpm#5331
* feat(matcher): ignore patterns by @&#8203;LuciNy[pnpm/pnpm#5336
* fix(patch): ignore No newline at end of file by @&#8203;await-o[pnpm/pnpm#5321
* feat(patch): allow non-applied patches by @&#8203;larrybahr-ocel[pnpm/pnpm#5354
* chore: update @&#8203;pnpm/meta-updater by @&#8203;ibe[pnpm/pnpm#5360
* fix: auto-install-peers in a workspace by @&#8203;zkoch[pnpm/pnpm#5359

#### New Contributors
* @&#8203;await-ovo made their first contributi[pnpm/pnpm#5321
* @&#8203;larrybahr-ocelot made their first contributi[pnpm/pnpm#5354

**Full Changelog**: pnpm/pnpm@v7.11.0...v7.12.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/singlestone/sugar).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzYuMSIsInVwZGF0ZWRJblZlciI6IjMyLjI0MS45In0=-->
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

Successfully merging this pull request may close these issues.

Hooks provided in opts are lost in processing by install command
2 participants