Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectVersion ¶
DetectVersion detects the Node.js version for the given directory. It checks, in order:
- .lerd.yaml node_version field (explicit lerd override)
- .nvmrc
- .node-version
- package.json engines.node
- global config default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.