Files
pnpm/pnpm11/store/path/README.md
Zain QureshiandClaude Opus 5.5 7162c6f5ec docs: fix stale usage examples in six package READMEs (#16959)
* docs: fix stale usage examples in six package READMEs

The usage examples imported default exports these packages no longer
have. They now import the named exports, call the current function
names, and pass the options the current signatures accept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: import path in the lifecycle example, drop @pnpm/logger from the changeset

@pnpm/logger is in versioning.ignore, so a changeset entry for it fails
pnpm change check. The lifecycle example used path without importing it
and require in an ES module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: single backslashes in the store path output, plain changeset wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:19:38 +02:00

493 B

@pnpm/store.path

Resolves the pnpm store path

npm version

Installation

<pnpm|yarn|npm> add @pnpm/store.path

Usage

import { getStorePath } from '@pnpm/store.path'

await getStorePath({ pkgRoot: 'F:\\project', storePath: 'pnpm-store', pnpmHomeDir: 'C:\\pnpm-home' })
//> F:\project\pnpm-store\v11

License

MIT