@mintlify/cli 4.0.1392 → 4.0.1394

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1392",
3
+ "version": "4.0.1394",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -45,11 +45,11 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "7.9.0",
48
- "@mintlify/common": "1.0.1081",
49
- "@mintlify/link-rot": "3.0.1279",
48
+ "@mintlify/common": "1.0.1082",
49
+ "@mintlify/link-rot": "3.0.1280",
50
50
  "@mintlify/models": "0.0.347",
51
- "@mintlify/prebuild": "1.0.1232",
52
- "@mintlify/previewing": "4.0.1303",
51
+ "@mintlify/prebuild": "1.0.1233",
52
+ "@mintlify/previewing": "4.0.1304",
53
53
  "@mintlify/validation": "0.1.823",
54
54
  "adm-zip": "0.6.0",
55
55
  "chalk": "5.2.0",
@@ -82,7 +82,7 @@
82
82
  "keytar": "7.9.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@mintlify/editor": "0.0.292",
85
+ "@mintlify/editor": "0.0.293",
86
86
  "@mintlify/ts-config": "2.0.2",
87
87
  "@tsconfig/recommended": "1.0.2",
88
88
  "@types/detect-port": "1.3.2",
@@ -101,5 +101,5 @@
101
101
  "vitest": "2.1.9",
102
102
  "vitest-mock-process": "1.0.4"
103
103
  },
104
- "gitHead": "933a143678915e81c38feda86bc734297e76f468"
104
+ "gitHead": "0bfc7c6102abb5cea339bb41565a1396f7b4053d"
105
105
  }
package/src/helpers.tsx CHANGED
@@ -48,10 +48,10 @@ export const checkNodeVersion = async () => {
48
48
  const majorVersion = parseInt(versionArr[0]!, 10);
49
49
  const minorVersion = parseInt(versionArr[1]!, 10);
50
50
 
51
- if (majorVersion >= 25) {
51
+ if (majorVersion === 25) {
52
52
  addLog(
53
53
  <ErrorLog
54
- message={`mintlify is not supported on node versions 25+ (current version ${nodeVersionString}). Please downgrade to an LTS node version.`}
54
+ message={`mintlify is not supported on node 25 (current version ${nodeVersionString}). Please switch to an LTS node version.`}
55
55
  />
56
56
  );
57
57
  await terminate(1);