feat(cli): update lowest version support for nodejs (#786)

This commit is contained in:
pengzhanbo 2025-12-12 20:39:28 +08:00 committed by GitHub
parent 6383347813
commit 65da8469ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ export async function createPackageJson(
pkg.author = userInfo.username + (userInfo.email ? ` <${userInfo.email}>` : '')
}
pkg.license = 'MIT'
pkg.engines = { node: '^20.6.0 || >=22.0.0' }
pkg.engines = { node: '^20.19.0 || >=22.0.0' }
}
if (injectNpmScripts) {