mirror of
https://github.com/strapi/strapi.git
synced 2025-08-22 07:38:41 +00:00
warn instead of blocking node 14
This commit is contained in:
parent
14add5a00e
commit
1a99a47e23
@ -38,7 +38,7 @@
|
||||
"uuid": "getstarted"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE"
|
||||
|
@ -22,7 +22,7 @@
|
||||
"uuid": "getstarted"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
@ -26,7 +26,7 @@
|
||||
"uuid": "getstarted"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE"
|
||||
|
@ -119,7 +119,7 @@
|
||||
"yargs": "17.6.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"packageManager": "yarn@3.5.0"
|
||||
|
@ -53,7 +53,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -58,7 +58,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -156,7 +156,7 @@
|
||||
"@strapi/strapi": "^4.3.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"nx": {
|
||||
|
@ -30,7 +30,7 @@
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -66,7 +66,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -72,7 +72,7 @@
|
||||
"typescript": "5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@
|
||||
"umzug": "3.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -89,7 +89,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"nx": {
|
||||
|
@ -32,7 +32,7 @@
|
||||
"sift": "16.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -140,7 +140,7 @@
|
||||
"typescript": "5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -72,7 +72,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -46,7 +46,7 @@
|
||||
"yup": "0.32.9"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ module.exports = function checkBeforeInstall() {
|
||||
}
|
||||
|
||||
// warn if not using a LTS version
|
||||
else if (semver.satisfies(currentNodeVersion, '17.x.x || 19.x.x')) {
|
||||
else if (semver.satisfies(currentNodeVersion, '14.x.x' || '15.x.x' || '17.x.x || 19.x.x')) {
|
||||
console.warn(yellow(`You are running ${bold(`Node.js ${currentNodeVersion}`)}`));
|
||||
console.warn(
|
||||
`Strapi only supports ${bold(
|
||||
|
@ -51,7 +51,7 @@
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
}
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
@ -40,7 +40,7 @@
|
||||
}
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -42,7 +42,7 @@
|
||||
"pluralize": "8.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +56,7 @@
|
||||
}
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@
|
||||
"styled-components": "5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -59,7 +59,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -56,7 +56,7 @@
|
||||
"styled-components": "5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -45,7 +45,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -70,7 +70,7 @@
|
||||
"styled-components": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"strapi": {
|
||||
|
@ -48,7 +48,7 @@
|
||||
"@strapi/strapi": "^4.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -64,7 +64,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -54,7 +54,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -51,7 +51,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@
|
||||
"tsconfig": "4.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@
|
||||
"typescript": "5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <=20.x.x",
|
||||
"node": ">=14.9.1 <=20.x.x",
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user