pnpm 10.14
· 一分钟阅读
Added support for JavaScript runtime installation
Declare Node.js, Deno, or Bun in devEngines.runtime
(inside package.json
) and let pnpm download and pin it automatically.
用法示例:
{
"devEngines": {
"runtime": {
"name": "node",
"version": "^24.4.0",
"onFail": "download" // we only support the "download" value for now
}
}
}