mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-04 02:02:39 -05:00
* feat: use clipanion over commander * chore: update * chore: add missing options * chore: fix arguments * chore: format code * chore: update * chore: fix missing node conf * chore: add version * Update setup.ts * chore: fix config flag * chore: add changeset
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
import semver from 'semver';
|
|
|
|
export const MIN_NODE_VERSION = '12';
|
|
|
|
export function isVersionValid(version) {
|
|
return semver.satisfies(version, `>=${MIN_NODE_VERSION}`);
|
|
}
|