mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-29 00:47:13 -04:00
Change /v1/install to stream an NDJSON response:
- D\t{digest}\t{size}\t{executable}\n — file digests emitted as packages
resolve (via wrapped storeController.requestPackage)
- L\t{json}\n — final lockfile + stats
- I\t{key}\t{base64}\n — pre-packed msgpack index entries
The client parses the stream incrementally: as digest lines arrive, it
batches them and dispatches workers to /v1/files. File downloads now
overlap with server-side resolution instead of happening strictly after.
Also bump importPackage pLimit from 4 to 6.