UNPKG

gen-jhipster

Version:

VHipster - Spring Boot + Angular/React/Vue in one handy generator

12 lines (11 loc) 699 B
import type { Logger } from '../../../lib/utils/logger.ts'; /** * @private * Check if Node is installed, up to date, and in LTS version. * Will emit a warning if the current node version is too old compared to the required one or if it is not in LTS. * @param {any} logger - the logging adapter * @param {string} requiredNodeVersion - the version needed to run the generator (defaulted to the one mentioned in package.json) * @param {string} currentNodeVersion - the version of Node installed on the machine (defaulted to the one running the generator) */ declare const checkNode: (logger: Logger, requiredNodeVersion?: string, currentNodeVersion?: string) => void; export default checkNode;