* 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>
493 B
493 B
@pnpm/store.path
Resolves the pnpm store path
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