fix(create-medusa-app): remove warnings on installation (#9405)

This commit is contained in:
Shahed Nasser
2024-10-02 13:27:13 +03:00
committed by GitHub
parent 02629625ec
commit cb5c228a36
4 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
export function getNodeVersion(): number {
const [major] = process.versions.node.split('.').map(Number)
return major
}
export const MIN_SUPPORTED_NODE_VERSION = 20