Separate question -- after adding this:
"engines": {
"runtime": {
"name": "node",
"version": "24.11.1",
"onFail": "download"
}
},
pnpm wants to add "node": "runtime:24.11.1" to dependencies whenever pnpm add is used to add anything. Is this expected? Should node be added to dependencies when declaring the above?
If so, shouldn't this be covered in docs?
This behavior is not observed when using devEngines (node is not added to devDependencies when using pnpm add). Is this maybe a bug?
Originally posted by @markedwards in #10172 (comment)
Separate question -- after adding this:
pnpm wants to add
"node": "runtime:24.11.1"to dependencies wheneverpnpm addis used to add anything. Is this expected? Shouldnodebe added to dependencies when declaring the above?If so, shouldn't this be covered in docs?
This behavior is not observed when using
devEngines(nodeis not added to devDependencies when usingpnpm add). Is this maybe a bug?Originally posted by @markedwards in #10172 (comment)