You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
It would be nice if there was a way to automatically install the correct nodejs version by extracting the version from a projects package.json file. I'm thinking about something like this:
nodejs::project { '/path/to/some/project': }
which would expand to:
nodejs::local { '/path/to/some/project':
version => $version_from_package_json
}
That way I could keep the source of truth in the project repo, because there are other tools which read the version from the package.json file (e.g. when deploying to heroku).
The text was updated successfully, but these errors were encountered:
It would be nice if there was a way to automatically install the correct nodejs version by extracting the version from a projects package.json file. I'm thinking about something like this:
which would expand to:
That way I could keep the source of truth in the project repo, because there are other tools which read the version from the package.json file (e.g. when deploying to heroku).
The text was updated successfully, but these errors were encountered: