Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Specifying node versions #29

@bkeepers

Description

@bkeepers

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:

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 engines up to date as it evolves. Updating Probot (e.g. with Greenkeeper) doesn't update engines
  • 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?

cc @gr2m @zeke @koddsson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions