Add information about selected nodejs version
vergilius opened this issue · comments
Mike Paw commented
We should explain the process around nodejs version selection:
- what versions do we accept?
- how to select nodejs version (via
engines
inpackage.json
)? what will happen ifengines
version is not supported? - what is the default version when
engines
is not specified? (we use last LTS which is 16 right now) - what package managers do we accept?
Mike Paw commented
it seems we allow only even version numbers (stable): https://github.com/wpengine/headless/blob/master/builder/internal/nodebuilder.go#L107
also in consequence, if someone selects version 13 they will receive version 16