Disable license check when offline (#198)

* Disable license check when offline. Fix issue with PNPM > 9 detection.
This commit is contained in:
Giancarlo Buomprisco
2025-03-01 16:28:25 +07:00
committed by GitHub
parent a5d3338950
commit 20f7fd2c22
2 changed files with 34 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ function checkPnpmVersion() {
}
// warn if the minor version is less than 12
if (minor < 12) {
if (major < 9 && minor < 12) {
console.warn(
`\x1b[33m%s\x1b[0m`,
`You are running pnpm ${currentPnpmVersion}. Makerkit recommends using pnpm 9.12.0 or higher.`,