Description:
devEngines field is now supported by npm and corepack.
If user set node-version-file: package.json in yaml, setup-node action should consult both engines and devEngines fields, while currently only engines works.
Justification:
In monorepo, the root package.json usually have no engines field. Moreover, the engines is for users who install the npm package, while the devEngines field is for who developers who develop the npm package. Obviously, devEngines is more suitable for setup-node.
Are you willing to submit a PR?
Yes
Description:
devEnginesfield is now supported by npm and corepack.If user set
node-version-file: package.jsonin yaml,setup-nodeaction should consult bothenginesanddevEnginesfields, while currently onlyenginesworks.Justification:
In monorepo, the root package.json usually have no
enginesfield. Moreover, theenginesis for users who install the npm package, while thedevEnginesfield is for who developers who develop the npm package. Obviously,devEnginesis more suitable forsetup-node.Are you willing to submit a PR?
Yes