Contributing support for reading nodejs version from package.json #7205
Unanswered
dotnetCarpenter
asked this question in
Q&A
Replies: 1 comment
-
|
I have created #7211 to flesh out my implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I want to contribute support for reading nodejs version from package.json, since that is what we use to tell Heroku which nodejs version to use on our production server.
Example:
package.json
My question is, are there any known pitfalls to have support for this? Perhaps, the decision to only support a .npmrc file, is rooted in that the above support is problematic?
I have found a couple of related issues in the bug tracker:
nvm)Arraybefore though)pnpmdoes already read package.json - was there a deliberate decision to not support using a nodejs version declared in package.json?)If there no known issues about using/installing semver nodejs version from package.json, similar to use-node-version, I will create an issue and try to find the appropriate place for such an implementation.
PS. For point 2,
concat-stream1.6.2 actually uses anArray...Beta Was this translation helpful? Give feedback.
All reactions