# @pnpm/building.commands

## 1100.1.11

### Patch Changes

- Updated dependencies:
  - @pnpm/building.after-install@1102.0.6
  - @pnpm/building.policy@1100.0.13
  - @pnpm/cli.utils@1101.0.14
  - @pnpm/config.reader@1101.12.0
  - @pnpm/config.writer@1100.0.16
  - @pnpm/deps.path@1100.0.9
  - @pnpm/installing.commands@1100.10.5
  - @pnpm/installing.modules-yaml@1100.0.10
  - @pnpm/store.connection-manager@1100.3.6
  - @pnpm/types@1101.4.0
  - @pnpm/workspace.projects-sorter@1100.0.9

## 1100.1.10

### Patch Changes

- @pnpm/installing.commands@1100.10.4
- @pnpm/config.reader@1101.11.2
- @pnpm/store.connection-manager@1100.3.5
- @pnpm/building.after-install@1102.0.5

## 1100.1.9

### Patch Changes

- Updated dependencies [c70e33e]
- Updated dependencies [9318a11]
- Updated dependencies [5a4daec]
  - @pnpm/building.policy@1100.0.12
  - @pnpm/config.reader@1101.11.1
  - @pnpm/building.after-install@1102.0.4
  - @pnpm/installing.commands@1100.10.3
  - @pnpm/store.connection-manager@1100.3.4

## 1100.1.8

### Patch Changes

- c121235: Fixed the topological order of `--filter`ed commands (`pnpm run`, `pnpm exec`, `pnpm publish`, `pnpm pack`, `pnpm rebuild`) when the selected projects depend on each other only transitively through projects that were not selected. Previously such selected projects could run concurrently or in the wrong order; now a project always runs after the selected projects it transitively depends on, while projects without a real dependency relationship still run concurrently. This now also holds for prod-only filters (`--filter-prod`), which resolve order through the production dependency graph so transitive production dependencies are respected without pulling back the dev dependencies the filter drops, and for selections that mix `--filter` with `--filter-prod` [#8335](https://github.com/pnpm/pnpm/issues/8335).
- Updated dependencies [be6505a]
- Updated dependencies [3425e80]
- Updated dependencies [806c3ec]
- Updated dependencies [c121235]
- Updated dependencies [dcabb78]
  - @pnpm/installing.commands@1100.10.2
  - @pnpm/config.reader@1101.11.0
  - @pnpm/workspace.projects-sorter@1100.0.8
  - @pnpm/building.after-install@1102.0.3
  - @pnpm/store.connection-manager@1100.3.3
  - @pnpm/config.writer@1100.0.15

## 1100.1.7

### Patch Changes

- Updated dependencies [25a829e]
- Updated dependencies [6545793]
- Updated dependencies [852d537]
  - @pnpm/installing.commands@1100.10.1
  - @pnpm/error@1100.0.1
  - @pnpm/config.writer@1100.0.14
  - @pnpm/building.policy@1100.0.11
  - @pnpm/store.connection-manager@1100.3.2
  - @pnpm/building.after-install@1102.0.2
  - @pnpm/cli.utils@1101.0.13
  - @pnpm/config.reader@1101.10.1

## 1100.1.6

### Patch Changes

- Updated dependencies [302a2f7]
- Updated dependencies [c112b61]
- Updated dependencies [9d79ba1]
- Updated dependencies [0474a9c]
- Updated dependencies [9e0c375]
- Updated dependencies [223d060]
- Updated dependencies [0474a9c]
- Updated dependencies [6d35338]
- Updated dependencies [eba03e0]
  - @pnpm/config.reader@1101.10.0
  - @pnpm/installing.commands@1100.10.0
  - @pnpm/building.after-install@1102.0.1
  - @pnpm/store.connection-manager@1100.3.1

## 1100.1.5

### Patch Changes

- a31faa7: Updated dependency ranges. Notably:

  - `@pnpm/logger` peer dependency range moved to `^1100.0.0`.
  - `msgpackr` 1.11.8 → 2.0.4 (store index files remain byte-compatible in both directions).
  - `open` ^7.4.2 → ^11.0.0, `memoize` ^10 → ^11, `cli-truncate` ^5 → ^6, `pidtree` ^0.6 → ^1.
  - `@yarnpkg/core` 4.5.0 → 4.8.0, `@rushstack/worker-pool` 0.7.7 → 0.7.18, `@cyclonedx/cyclonedx-library` 10.0.0 → 10.1.0, `@pnpm/config.nerf-dart` ^1 → ^2, `@pnpm/log.group` 3.0.2 → 4.0.1, `@pnpm/util.lex-comparator` ^3 → ^4.

- Updated dependencies [8dcd9a0]
- Updated dependencies [86e70d2]
- Updated dependencies [61810aa]
- Updated dependencies [ab0b7d1]
- Updated dependencies [74a2dc9]
- Updated dependencies [681b593]
- Updated dependencies [d50d691]
- Updated dependencies [a31faa7]
  - @pnpm/installing.commands@1100.9.0
  - @pnpm/config.reader@1101.9.0
  - @pnpm/store.connection-manager@1100.3.0
  - @pnpm/building.after-install@1102.0.0
  - @pnpm/types@1101.3.2
  - @pnpm/cli.utils@1101.0.12
  - @pnpm/deps.path@1100.0.8
  - @pnpm/building.policy@1100.0.10
  - @pnpm/config.writer@1100.0.13
  - @pnpm/installing.modules-yaml@1100.0.9
  - @pnpm/workspace.projects-sorter@1100.0.7

## 1100.1.4

### Patch Changes

- Updated dependencies [bc9ed78]
- Updated dependencies [d976edf]
- Updated dependencies [615c669]
  - @pnpm/config.reader@1101.8.0
  - @pnpm/installing.commands@1100.8.0
  - @pnpm/building.after-install@1101.0.21
  - @pnpm/store.connection-manager@1100.2.8
  - @pnpm/cli.utils@1101.0.11

## 1100.1.3

### Patch Changes

- Updated dependencies [822beb5]
- Updated dependencies [3537020]
- Updated dependencies [894ea6a]
- Updated dependencies [6b5d91a]
- Updated dependencies [027196b]
- Updated dependencies [5f2bb9f]
- Updated dependencies [1017c36]
- Updated dependencies [e4d2fe0]
- Updated dependencies [bf1b731]
  - @pnpm/config.reader@1101.7.0
  - @pnpm/installing.commands@1100.7.3
  - @pnpm/cli.common-cli-options-help@1100.0.2
  - @pnpm/building.after-install@1101.0.20
  - @pnpm/building.policy@1100.0.9
  - @pnpm/types@1101.3.1
  - @pnpm/store.connection-manager@1100.2.7
  - @pnpm/cli.utils@1101.0.10
  - @pnpm/config.writer@1100.0.12
  - @pnpm/deps.path@1100.0.7
  - @pnpm/installing.modules-yaml@1100.0.8
  - @pnpm/workspace.projects-sorter@1100.0.6

## 1100.1.2

### Patch Changes

- Updated dependencies [4e740d5]
- Updated dependencies [a017bf3]
  - @pnpm/building.after-install@1101.0.19
  - @pnpm/config.reader@1101.6.0
  - @pnpm/types@1101.3.0
  - @pnpm/installing.commands@1100.7.2
  - @pnpm/store.connection-manager@1100.2.6
  - @pnpm/cli.utils@1101.0.9
  - @pnpm/config.writer@1100.0.11
  - @pnpm/deps.path@1100.0.6
  - @pnpm/installing.modules-yaml@1100.0.7
  - @pnpm/workspace.projects-sorter@1100.0.5

## 1100.1.1

### Patch Changes

- @pnpm/installing.commands@1100.7.1

## 1100.1.0

### Minor Changes

- 2cadfb5: Replaced `enquirer` with `@inquirer/prompts` for all interactive prompts. Fixes the `update -i` scrolling overflow bug where long choice lists were clipped in the terminal [#6643](https://github.com/pnpm/pnpm/issues/6643).

  **User-facing changes:**

  - `pnpm update -i` / `pnpm update -i --latest`: Scrolling now works correctly when many packages are available; the new library uses visual-line-aware pagination via `usePagination`
  - `pnpm audit --fix -i`: Same scrolling fix for vulnerability selection
  - `pnpm approve-builds`: Interactive build approval prompts updated
  - `pnpm patch`: Version selection and "apply to all" prompts updated
  - `pnpm patch-remove`: Patch removal selection updated
  - `pnpm publish`: Branch confirmation prompt updated
  - `pnpm login`: Credential prompts updated
  - `pnpm run` / `pnpm exec` (with `verifyDepsBeforeRun=prompt`): Confirmation prompt updated

  Vim-style `j`/`k` keys still work for up/down navigation in all interactive prompts.

  **Internal:** The `OtpEnquirer` and `LoginEnquirer` DI interfaces changed from `{ prompt }` to `{ input }` / `{ input, password }` respectively. Plugins or custom builds that inject their own enquirer mock will need to update.

### Patch Changes

- Updated dependencies [a39a83d]
- Updated dependencies [2cadfb5]
  - @pnpm/config.reader@1101.5.0
  - @pnpm/installing.commands@1100.7.0
  - @pnpm/building.after-install@1101.0.18
  - @pnpm/store.connection-manager@1100.2.5

## 1100.0.23

### Patch Changes

- Updated dependencies [a23956e]
- Updated dependencies [aa6149d]
- Updated dependencies [572842a]
- Updated dependencies [35d2355]
  - @pnpm/config.reader@1101.4.1
  - @pnpm/installing.commands@1100.6.0
  - @pnpm/types@1101.2.0
  - @pnpm/building.after-install@1101.0.17
  - @pnpm/store.connection-manager@1100.2.4
  - @pnpm/cli.utils@1101.0.8
  - @pnpm/config.writer@1100.0.10
  - @pnpm/deps.path@1100.0.5
  - @pnpm/installing.modules-yaml@1100.0.6
  - @pnpm/workspace.projects-sorter@1100.0.4

## 1100.0.22

### Patch Changes

- Updated dependencies [3b62f9d]
- Updated dependencies [212315d]
  - @pnpm/config.reader@1101.4.0
  - @pnpm/installing.commands@1100.5.0
  - @pnpm/cli.utils@1101.0.7
  - @pnpm/building.after-install@1101.0.16
  - @pnpm/store.connection-manager@1100.2.3

## 1100.0.21

### Patch Changes

- Updated dependencies [881a865]
  - @pnpm/installing.commands@1100.4.2

## 1100.0.20

### Patch Changes

- @pnpm/installing.commands@1100.4.1
- @pnpm/store.connection-manager@1100.2.2
- @pnpm/building.after-install@1101.0.15

## 1100.0.19

### Patch Changes

- Updated dependencies [3687b0e]
- Updated dependencies [ced20cb]
- Updated dependencies [a620557]
- Updated dependencies [d1b340f]
- Updated dependencies [b206a15]
- Updated dependencies [64afc92]
  - @pnpm/config.reader@1101.3.3
  - @pnpm/installing.commands@1100.4.0
  - @pnpm/types@1101.1.1
  - @pnpm/building.after-install@1101.0.14
  - @pnpm/store.connection-manager@1100.2.1
  - @pnpm/cli.utils@1101.0.6
  - @pnpm/config.writer@1100.0.9
  - @pnpm/deps.path@1100.0.4
  - @pnpm/installing.modules-yaml@1100.0.5
  - @pnpm/workspace.projects-sorter@1100.0.3

## 1100.0.18

### Patch Changes

- Updated dependencies [4195766]
- Updated dependencies [31538bf]
- Updated dependencies [020ac45]
- Updated dependencies [d3f8408]
- Updated dependencies [3ddde2b]
- Updated dependencies [a62f959]
- Updated dependencies [ba2c884]
- Updated dependencies [8df408c]
  - @pnpm/installing.commands@1100.3.0
  - @pnpm/store.connection-manager@1100.2.0
  - @pnpm/config.reader@1101.3.2
  - @pnpm/building.after-install@1101.0.13
  - @pnpm/cli.utils@1101.0.5
  - @pnpm/config.writer@1100.0.8

## 1100.0.17

### Patch Changes

- Updated dependencies [180aee9]
  - @pnpm/installing.commands@1100.2.2
  - @pnpm/cli.utils@1101.0.4
  - @pnpm/config.reader@1101.3.1
  - @pnpm/building.after-install@1101.0.12
  - @pnpm/store.connection-manager@1100.1.2

## 1100.0.16

### Patch Changes

- @pnpm/installing.commands@1100.2.1
- @pnpm/building.after-install@1101.0.11
- @pnpm/store.connection-manager@1100.1.1

## 1100.0.15

### Patch Changes

- Updated dependencies [b61e268]
- Updated dependencies [e1e29c1]
  - @pnpm/config.reader@1101.3.0
  - @pnpm/store.connection-manager@1100.1.0
  - @pnpm/types@1101.1.0
  - @pnpm/installing.commands@1100.2.0
  - @pnpm/building.after-install@1101.0.10
  - @pnpm/cli.utils@1101.0.3
  - @pnpm/config.writer@1100.0.7
  - @pnpm/deps.path@1100.0.3
  - @pnpm/installing.modules-yaml@1100.0.4
  - @pnpm/workspace.projects-sorter@1100.0.2

## 1100.0.14

### Patch Changes

- Updated dependencies [e9e876c]
- Updated dependencies [15e9e35]
  - @pnpm/config.reader@1101.2.2
  - @pnpm/installing.commands@1100.1.12
  - @pnpm/building.after-install@1101.0.9
  - @pnpm/store.connection-manager@1100.0.13

## 1100.0.13

### Patch Changes

- @pnpm/building.after-install@1101.0.8
- @pnpm/installing.commands@1100.1.11
- @pnpm/store.connection-manager@1100.0.12

## 1100.0.12

### Patch Changes

- Updated dependencies [12313f1]
- Updated dependencies [27425d7]
- Updated dependencies [707a879]
  - @pnpm/installing.modules-yaml@1100.0.3
  - @pnpm/building.after-install@1101.0.7
  - @pnpm/config.reader@1101.2.1
  - @pnpm/installing.commands@1100.1.10
  - @pnpm/store.connection-manager@1100.0.11
  - @pnpm/config.writer@1100.0.6

## 1100.0.11

### Patch Changes

- Updated dependencies [8fdd9a9]
- Updated dependencies [5f34a8d]
- Updated dependencies [c969392]
- Updated dependencies [817b1b4]
- Updated dependencies [c969392]
- Updated dependencies [2de318b]
  - @pnpm/config.reader@1101.2.0
  - @pnpm/building.after-install@1101.0.6
  - @pnpm/installing.commands@1100.1.9
  - @pnpm/store.connection-manager@1100.0.10
  - @pnpm/config.writer@1100.0.5

## 1100.0.10

### Patch Changes

- f6bc1db: `pnpm dlx` (and `pnpx`/`pnx`/`pnpm create`) now runs the same interactive `approve-builds` prompt as `pnpm add -g` when the package being launched depends on transitive packages with install scripts. Previously, the v11 `strictDepBuilds` default made dlx fail with `ERR_PNPM_IGNORED_BUILDS` and required users to re-run with `--allow-build=<pkg>` for every offending dependency. dlx also now removes the partially-populated cache directory when the install fails, so a subsequent run starts clean instead of reusing a broken install whose builds were silently skipped [#11444](https://github.com/pnpm/pnpm/issues/11444).
- Updated dependencies [f6bc1db]
  - @pnpm/installing.commands@1100.1.8

## 1100.0.9

### Patch Changes

- Updated dependencies [42a8f29]
  - @pnpm/config.reader@1101.1.4
  - @pnpm/building.after-install@1101.0.5
  - @pnpm/installing.commands@1100.1.7
  - @pnpm/store.connection-manager@1100.0.9

## 1100.0.8

### Patch Changes

- Updated dependencies [184ce26]
  - @pnpm/cli.common-cli-options-help@1100.0.1
  - @pnpm/store.connection-manager@1100.0.8
  - @pnpm/installing.modules-yaml@1100.0.2
  - @pnpm/installing.commands@1100.1.6
  - @pnpm/config.reader@1101.1.3
  - @pnpm/config.writer@1100.0.4
  - @pnpm/cli.command@1100.0.1
  - @pnpm/cli.utils@1101.0.2
  - @pnpm/deps.path@1100.0.2
  - @pnpm/building.after-install@1101.0.4

## 1100.0.7

### Patch Changes

- @pnpm/cli.utils@1101.0.1
- @pnpm/installing.commands@1100.1.5
- @pnpm/building.after-install@1101.0.3
- @pnpm/store.connection-manager@1100.0.7

## 1100.0.6

### Patch Changes

- Updated dependencies [0fbcf74]
  - @pnpm/config.reader@1101.1.2
  - @pnpm/building.after-install@1101.0.2
  - @pnpm/installing.commands@1100.1.4
  - @pnpm/store.connection-manager@1100.0.6
  - @pnpm/config.writer@1100.0.3

## 1100.0.5

### Patch Changes

- @pnpm/installing.commands@1100.1.3
- @pnpm/store.connection-manager@1100.0.5
- @pnpm/building.after-install@1101.0.1

## 1100.0.4

### Patch Changes

- @pnpm/building.after-install@1101.0.0
- @pnpm/installing.commands@1100.1.2
- @pnpm/store.connection-manager@1100.0.4
- @pnpm/config.reader@1101.1.1

## 1100.0.3

### Patch Changes

- 7d9aae9: Fix `ERR_PNPM_OUTDATED_LOCKFILE` when approving builds during a global install. The `approve-builds` flow called by `pnpm add -g` passed the global packages directory to the subsequent install as `workspaceDir`, which caused sibling install directories (such as those left behind by `pnpm self-update`) to be picked up as workspace projects and fail the frozen-lockfile check.
- Updated dependencies [7d25bc1]
- Updated dependencies [72c1e05]
- Updated dependencies [9e0833c]
  - @pnpm/config.reader@1101.1.0
  - @pnpm/building.after-install@1100.0.3
  - @pnpm/store.connection-manager@1100.0.3
  - @pnpm/installing.commands@1100.1.1
  - @pnpm/config.writer@1100.0.2

## 1100.0.2

### Patch Changes

- Updated dependencies [cee550a]
- Updated dependencies [4ab3d9b]
- Updated dependencies [9af708a]
- Updated dependencies [ea2a7fb]
- Updated dependencies [ff7733c]
  - @pnpm/cli.utils@1101.0.0
  - @pnpm/config.reader@1101.0.0
  - @pnpm/installing.commands@1100.1.0
  - @pnpm/building.after-install@1100.0.2
  - @pnpm/store.connection-manager@1100.0.2

## 1100.0.1

### Patch Changes

- Updated dependencies [ff28085]
  - @pnpm/types@1101.0.0
  - @pnpm/building.after-install@1100.0.1
  - @pnpm/cli.utils@1100.0.1
  - @pnpm/config.reader@1100.0.1
  - @pnpm/config.writer@1100.0.1
  - @pnpm/deps.path@1100.0.1
  - @pnpm/installing.commands@1100.0.1
  - @pnpm/installing.modules-yaml@1100.0.1
  - @pnpm/workspace.projects-sorter@1100.0.1
  - @pnpm/store.connection-manager@1100.0.1

## 1000.0.0

### Major Changes

- 2fccb03: Initial release
- 05fb1ae: `ignoreBuilds` is now a set of DepPath.
- 491a84f: This package is now pure ESM.
- 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
- cb367b9: Remove deprecated build dependency settings: `onlyBuiltDependencies`, `onlyBuiltDependenciesFile`, `neverBuiltDependencies`, and `ignoredBuiltDependencies`.

### Minor Changes

- 2e8816e: Added `--all` flag to `pnpm approve-builds` that approves all pending builds without interactive prompts [#10136](https://github.com/pnpm/pnpm/issues/10136).
- 996284f: Allow `pnpm approve-builds` to receive positional arguments for approving or denying packages without the interactive prompt. Prefix a package name with `!` to deny it. Only mentioned packages are affected; the rest are left untouched.

  During install, packages with ignored builds that are not yet listed in `allowBuilds` are automatically added with a placeholder value. This makes them visible in `pnpm-workspace.yaml` so users can manually change them to `true` or `false` without running `pnpm approve-builds`.

- b7f0f21: Use SQLite for storing package index in the content-addressable store. Instead of individual `.mpk` files under `$STORE/index/`, package metadata is now stored in a single SQLite database at `$STORE/index.db`. This reduces filesystem syscall overhead, improves space efficiency for small metadata entries, and enables concurrent access via SQLite's WAL mode. Packages missing from the new index are re-fetched on demand [#10826](https://github.com/pnpm/pnpm/issues/10826).

### Patch Changes

- 9fc552d: In GVS mode, `pnpm approve-builds` now runs a full install instead of rebuild. This ensures that GVS hash directories and symlinks are updated correctly after changing `allowBuilds`, preventing build artifact contamination of engine-agnostic directories [#11042](https://github.com/pnpm/pnpm/issues/11042).
- 4362c06: `pnpm install` should build any dependencies that were added to `onlyBuiltDependencies` and were not built yet [#10256](https://github.com/pnpm/pnpm/pull/10256).
- Updated dependencies [e1ea779]
- Updated dependencies [7730a7f]
- Updated dependencies [5f73b0f]
- Updated dependencies [996284f]
- Updated dependencies [7721d2e]
- Updated dependencies [ae8b816]
- Updated dependencies [facdd71]
- Updated dependencies [4c6c26a]
- Updated dependencies [3c72b6b]
- Updated dependencies [9f5c0e3]
- Updated dependencies [76718b3]
- Updated dependencies [a8f016c]
- Updated dependencies [cc1b8e3]
- Updated dependencies [90bd3c3]
- Updated dependencies [3cfffaa]
- Updated dependencies [1cc61e8]
- Updated dependencies [606f53e]
- Updated dependencies [c7203b9]
- Updated dependencies [bb17724]
- Updated dependencies [2fccb03]
- Updated dependencies [05fb1ae]
- Updated dependencies [da2429d]
- Updated dependencies [0b5ccc9]
- Updated dependencies [1cc61e8]
- Updated dependencies [491a84f]
- Updated dependencies [f0ae1b9]
- Updated dependencies [9fc552d]
- Updated dependencies [312226c]
- Updated dependencies [121f64a]
- Updated dependencies [7fab2a2]
- Updated dependencies [cb367b9]
- Updated dependencies [543c7e4]
- Updated dependencies [075aa99]
- Updated dependencies [fd511e4]
- Updated dependencies [ae43ac7]
- Updated dependencies [ccec8e7]
- Updated dependencies [fd511e4]
- Updated dependencies [fa5a5c6]
- Updated dependencies [4158906]
- Updated dependencies [ac944ef]
- Updated dependencies [7d2fd48]
- Updated dependencies [cc7c0d2]
- Updated dependencies [efb48dc]
- Updated dependencies [d5d4eed]
- Updated dependencies [095f659]
- Updated dependencies [96704a1]
- Updated dependencies [cb367b9]
- Updated dependencies [7b1c189]
- Updated dependencies [51b04c3]
- Updated dependencies [6f806be]
- Updated dependencies [d01b81f]
- Updated dependencies [3ed41f4]
- Updated dependencies [8ffb1a7]
- Updated dependencies [05fb1ae]
- Updated dependencies [71de2b3]
- Updated dependencies [10bc391]
- Updated dependencies [ace7903]
- Updated dependencies [38b8e35]
- Updated dependencies [1e6de25]
- Updated dependencies [831f574]
- Updated dependencies [2df8b71]
- Updated dependencies [ed1a7fe]
- Updated dependencies [15549a9]
- Updated dependencies [b51bb42]
- Updated dependencies [cc7c0d2]
- Updated dependencies [5bf7768]
- Updated dependencies [3cfffaa]
- Updated dependencies [ae43ac7]
- Updated dependencies [a5fdbf9]
- Updated dependencies [7354e6b]
- Updated dependencies [9d3f00b]
- Updated dependencies [efb48dc]
- Updated dependencies [9587dac]
- Updated dependencies [09a999a]
- Updated dependencies [559f903]
- Updated dependencies [3574905]
  - @pnpm/cli.common-cli-options-help@1001.0.0
  - @pnpm/config.reader@1005.0.0
  - @pnpm/deps.path@1002.0.0
  - @pnpm/building.after-install@1000.0.0
  - @pnpm/installing.commands@1005.0.0
  - @pnpm/config.writer@1001.0.0
  - @pnpm/types@1001.0.0
  - @pnpm/cli.utils@1002.0.0
  - @pnpm/installing.modules-yaml@1001.0.0
  - @pnpm/store.connection-manager@1003.0.0
  - @pnpm/prepare-temp-dir@1001.0.0
  - @pnpm/workspace.projects-sorter@1001.0.0
  - @pnpm/error@1001.0.0
  - @pnpm/cli.command@1001.0.0
