Closed Neonox31 closed 5 years ago
@Neonox31 Thanks! Could you explain why node would be installed as a dependency in pkg json?
@jorgebucaran Adding node as dependency allows to be sure using the correct supported version defined by the project. It is smarter than using engines
package.json property in my point of view.
@Neonox31 TIL. Thanks. Do you have any links that support or talk about it? I'm not familiar with this practice.
@jorgebucaran Sure, here is a link : https://nitayneeman.com/posts/standardizing-node.js-version-in-an-npm-package/
Excellent. I'll have a look over the weekend and try to merge this very soon. Thanks again! 👋
@Neonox31 The new version of this package will not include automatic version switching, so we don't need this anymore. The good news is I'll reuse some of this to document how to add it yourself.
See #75.
Useful when node is installed as a dependency in the
package.json
.