* chore(release): 11.28.9, pacquet 12.16.0, pnpr 0.1.0-alpha.17, get-pnpm 0.0.10 * docs(release): curate the 11.28.9, 12.16.0, and pnpr alpha.17 release notes - Add a lead line to each page and group the patch entries by what the reader was doing, with security fixes first. - Merge the duplicate strictSsl/localAddress entries and the repeat-install setting entries into one list per page. - pnpr: split the removals into commands, flag aliases, and camelCase config keys, and say that pnpr no longer serves PUT /-/pnpm/v1/publish, so batch publishing needs pnpm 11.28.9 or 12.16.0. - Drop the "Updated dependencies: get-pnpm" line from the pnpm v12 page and list the get-pnpm credential fix first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@pnpm/installing.modules-yaml
Reads/writes `node_modules/.modules.yaml`
Installation
pnpm add @pnpm/installing.modules-yaml
Usage
import {write, read} from '@pnpm/installing.modules-yaml'
await write('node_modules', {
hoistedAliases: {},
layoutVersion: 1,
packageManager: 'pnpm@1.0.0',
pendingBuilds: [],
shamefullyFlatten: false,
skipped: [],
storeDir: '/home/user/.pnpm-store',
})
const modulesYaml = await read(`node_modules`)
API
read(pathToDir): Promise<ModulesObject>
Reads .modules.yaml from the specified directory.
write(pathToDir, ModulesObject): Promise<void>
Writes a .modules.yaml file to the specified directory.
License
MIT