This repository was archived by the owner on Sep 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Specifying node versions #29
Copy link
Copy link
Closed
Labels
Description
Specifying an acceptable version of Node to use across a bunch of different apps running a bunch of different platfroms (Heroku, glitch, nodenv, nvm, etc) has been a pretty big hassle.
Behavior I want: all Probot apps should default to using the latest LTS release. They can override it if they need to.
Here's all the places we currently specify a node version:
- probot/template specifies a version in
enginesthat every generated app inherits $ probotCLI checksenginesspecified in probot'spackage.json
There's also challenges with:
- Glitch uses
engines, but doesn't understand semver: Node dependency version fix. template#44 - Each app generated from probot/template now has to keep
enginesup to date as it evolves. Updating Probot (e.g. with Greenkeeper) doesn't updateengines - I don't think any of the development tools (nodenv, nvm, etc) respect
engines
Is there a better strategy or method for specifying node versions? Is there a way that apps can delegate to Probot for the version?
abhijeetps