Files
pnpm/deps/path/CHANGELOG.md
Zoltan Kochan 4a36b9a110 refactor: rename internal packages to @pnpm/<domain>.<leaf> convention (#10997)
## Summary

Rename all internal packages so their npm names follow the `@pnpm/<domain>.<leaf>` convention, matching their directory structure. Also rename directories to remove redundancy and improve clarity.

### Bulk rename (94 packages)

All `@pnpm/` packages now derive their name from their directory path using dot-separated segments. Exceptions: `packages/`, `__utils__/`, and `pnpm/artifacts/` keep leaf names only.

### Directory renames (removing redundant prefixes)

- `cli/cli-meta` → `cli/meta`, `cli/cli-utils` → `cli/utils`
- `config/config` → `config/reader`, `config/config-writer` → `config/writer`
- `fetching/fetching-types` → `fetching/types`
- `lockfile/lockfile-to-pnp` → `lockfile/to-pnp`
- `store/store-connection-manager` → `store/connection-manager`
- `store/store-controller-types` → `store/controller-types`
- `store/store-path` → `store/path`

### Targeted renames (clarity improvements)

- `deps/dependency-path` → `deps/path` (`@pnpm/deps.path`)
- `deps/calc-dep-state` → `deps/graph-hasher` (`@pnpm/deps.graph-hasher`)
- `deps/inspection/dependencies-hierarchy` → `deps/inspection/tree-builder` (`@pnpm/deps.inspection.tree-builder`)
- `bins/link-bins` → `bins/linker`, `bins/remove-bins` → `bins/remover`, `bins/package-bins` → `bins/resolver`
- `installing/get-context` → `installing/context`
- `store/package-store` → `store/controller`
- `pkg-manifest/manifest-utils` → `pkg-manifest/utils`

### Manifest reader/writer renames

- `workspace/read-project-manifest` → `workspace/project-manifest-reader` (`@pnpm/workspace.project-manifest-reader`)
- `workspace/write-project-manifest` → `workspace/project-manifest-writer` (`@pnpm/workspace.project-manifest-writer`)
- `workspace/read-manifest` → `workspace/workspace-manifest-reader` (`@pnpm/workspace.workspace-manifest-reader`)
- `workspace/manifest-writer` → `workspace/workspace-manifest-writer` (`@pnpm/workspace.workspace-manifest-writer`)

### Workspace package renames

- `workspace/find-packages` → `workspace/projects-reader`
- `workspace/find-workspace-dir` → `workspace/root-finder`
- `workspace/resolve-workspace-range` → `workspace/range-resolver`
- `workspace/filter-packages-from-dir` merged into `workspace/filter-workspace-packages` → `workspace/projects-filter`

### Domain moves

- `pkg-manifest/read-project-manifest` → `workspace/project-manifest-reader`
- `pkg-manifest/write-project-manifest` → `workspace/project-manifest-writer`
- `pkg-manifest/exportable-manifest` → `releasing/exportable-manifest`

### Scope

- 1206 files changed
- Updated: package.json names/deps, TypeScript imports, tsconfig references, changeset files, renovate.json, test fixtures, import ordering
2026-03-17 21:50:40 +01:00

7.1 KiB

@pnpm/dependency-path

1001.1.3

Patch Changes

  • Updated dependencies [7c1382f]
  • Updated dependencies [dee39ec]
    • @pnpm/types@1000.9.0
    • @pnpm/crypto.hash@1000.2.1

1001.1.2

Patch Changes

  • @pnpm/crypto.hash@1000.2.1

1001.1.1

Patch Changes

  • Updated dependencies [e792927]
    • @pnpm/types@1000.8.0
    • @pnpm/crypto.hash@1000.2.0

1001.1.0

Minor Changes

  • d1edf73: Add support for installing deno runtime.

Patch Changes

  • @pnpm/crypto.hash@1000.2.0

1001.0.2

Patch Changes

  • Updated dependencies [1a07b8f]
    • @pnpm/types@1000.7.0
    • @pnpm/crypto.hash@1000.2.0

1001.0.1

Patch Changes

  • Updated dependencies [cf630a8]
    • @pnpm/crypto.hash@1000.2.0

1001.0.0

Major Changes

  • 540986f: Peers suffix renamed to peerDepGraphHash.

1000.0.9

Patch Changes

  • Updated dependencies [5ec7255]
    • @pnpm/types@1000.6.0
    • @pnpm/crypto.hash@1000.1.1

1000.0.8

Patch Changes

  • Updated dependencies [5b73df1]
    • @pnpm/types@1000.5.0
    • @pnpm/crypto.hash@1000.1.1

1000.0.7

Patch Changes

  • Updated dependencies [750ae7d]
    • @pnpm/types@1000.4.0
    • @pnpm/crypto.hash@1000.1.1

1000.0.6

Patch Changes

  • Updated dependencies [5f7be64]
  • Updated dependencies [5f7be64]
    • @pnpm/types@1000.3.0
    • @pnpm/crypto.hash@1000.1.1

1000.0.5

Patch Changes

  • @pnpm/crypto.hash@1000.1.1

1000.0.4

Patch Changes

  • Updated dependencies [daf47e9]
  • Updated dependencies [a5e4965]
    • @pnpm/crypto.hash@1000.1.0
    • @pnpm/types@1000.2.1

1000.0.3

Patch Changes

  • Updated dependencies [8fcc221]
    • @pnpm/types@1000.2.0
    • @pnpm/crypto.hash@1000.0.0

1000.0.2

Patch Changes

  • Updated dependencies [b562deb]
    • @pnpm/types@1000.1.1
    • @pnpm/crypto.hash@1000.0.0

1000.0.1

Patch Changes

  • Updated dependencies [9591a18]
    • @pnpm/types@1000.1.0
    • @pnpm/crypto.hash@1000.0.0

6.0.0

Major Changes

  • dcd2917: Use sha256 for hashing long paths inside node_modules/.pnpm.
  • d55b259: Escape the # character in directory names within the virtual store (node_modules/.pnpm) #8557.

Patch Changes

  • Updated dependencies [dcd2917]
    • @pnpm/crypto.hash@1.0.0

5.1.7

Patch Changes

  • @pnpm/crypto.base32-hash@3.0.1

5.1.6

Patch Changes

  • Updated dependencies [d500d9f]
    • @pnpm/types@12.2.0
    • @pnpm/crypto.base32-hash@3.0.0

5.1.5

Patch Changes

  • Updated dependencies [7ee59a1]
    • @pnpm/types@12.1.0
    • @pnpm/crypto.base32-hash@3.0.0

5.1.4

Patch Changes

  • Updated dependencies [cb006df]
    • @pnpm/types@12.0.0
    • @pnpm/crypto.base32-hash@3.0.0

5.1.3

Patch Changes

  • Updated dependencies [0ef168b]
    • @pnpm/types@11.1.0
    • @pnpm/crypto.base32-hash@3.0.0

5.1.2

Patch Changes

  • Updated dependencies [dd00eeb]
  • Updated dependencies
    • @pnpm/types@11.0.0
    • @pnpm/crypto.base32-hash@3.0.0

5.1.1

Patch Changes

  • Updated dependencies [13e55b2]
    • @pnpm/types@10.1.1
    • @pnpm/crypto.base32-hash@3.0.0

5.1.0

Minor Changes

  • 47341e5: Semi-breaking. Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the peers-suffix-max-length setting #8177.

Patch Changes

  • @pnpm/crypto.base32-hash@3.0.0

5.0.0

Major Changes

  • Breaking changes to the API.

Patch Changes

  • Updated dependencies [45f4262]
    • @pnpm/types@10.1.0
    • @pnpm/crypto.base32-hash@3.0.0

4.0.0

Major Changes

  • 9719a42: New setting called virtual-store-dir-max-length added to modify the maximum allowed length of the directories inside node_modules/.pnpm. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355.

Patch Changes

  • @pnpm/crypto.base32-hash@3.0.0

3.0.0

Major Changes

  • cdd8365: Package ID does not contain the registry domain.
  • 89b396b: createPeersFolderSuffix renamed to createPeersDirSuffix.
  • 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
  • d381a60: Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 #7470.

Minor Changes

  • 98a1266: createPeersDirSuffix may accept dep path.

Patch Changes

  • Updated dependencies [7733f3a]
  • Updated dependencies [43cdd87]
  • Updated dependencies [730929e]
    • @pnpm/types@10.0.0
    • @pnpm/crypto.base32-hash@3.0.0

2.1.7

Patch Changes

  • Updated dependencies [4d34684f1]
    • @pnpm/types@9.4.2
    • @pnpm/crypto.base32-hash@2.0.0

2.1.6

Patch Changes

  • Updated dependencies
    • @pnpm/types@9.4.1
    • @pnpm/crypto.base32-hash@2.0.0

2.1.5

Patch Changes

  • Updated dependencies [43ce9e4a6]
    • @pnpm/types@9.4.0
    • @pnpm/crypto.base32-hash@2.0.0

2.1.4

Patch Changes

  • Updated dependencies [d774a3196]
    • @pnpm/types@9.3.0
    • @pnpm/crypto.base32-hash@2.0.0

2.1.3

Patch Changes

  • Updated dependencies [aa2ae8fe2]
    • @pnpm/types@9.2.0
    • @pnpm/crypto.base32-hash@2.0.0

2.1.2

Patch Changes

  • Updated dependencies [a9e0b7cbf]
    • @pnpm/types@9.1.0
    • @pnpm/crypto.base32-hash@2.0.0

2.1.1

Patch Changes

2.1.0

Minor Changes

Patch Changes

  • 5087636b6: Repeat installation should work on a project that has a dependency with () chars in the scope name #6348.

2.0.0

Major Changes

  • ca8f51e60: Change the way depPathToFilename is making paths shorter.
  • eceaa8b8b: Node.js 14 support dropped.
  • 0e26acb0f: Rename createPeersFolderSuffixNewFormat to createPeersFolderSuffix.

Patch Changes

  • Updated dependencies [eceaa8b8b]
    • @pnpm/crypto.base32-hash@2.0.0
    • @pnpm/types@9.0.0

1.1.3

Patch Changes

  • d89d7a078: parse() should not fail on dependency path pointing to a local dependency.

1.1.2

Patch Changes

  • 9247f6781: Directories inside the virtual store should not contain the ( or ) chars. This is to fix issues with storybook and the new v6 pnpm-lock.yaml lockfile format #5976.

1.1.1

Patch Changes

  • 0f6e95872: The new lockfile format should not be broken on repeat install.

1.1.0

Minor Changes

  • 3ebce5db7: Updated the functions to support dependency paths used in the 6th version of the lockfile. Exported a new function: createPeersFolderSuffixNewFormat.

Patch Changes

  • @pnpm/crypto.base32-hash@1.0.1

1.0.1

Patch Changes

1.0.0

Major Changes

  • 313702d76: Project renamed from dependency-path to @pnpm/dependency-path.