* 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>
@pnpm/logger
Logger for pnpm
Installation
pnpm add @pnpm/logger
Usage
@pnpm/logger is mostly just a wrapper over bole.
Logging is done the same way as in bole. To listed for logs, use streamParser or create
a new parser with createStreamParser().
import { logger, streamParser } from '@pnpm/logger'
logger.debug({ foo: 'bar' })
streamParser.on('data', msg => {
// ...
})
License
MIT