From 826e3ecf343b9bd792770bcec5b54a8cca72479c Mon Sep 17 00:00:00 2001 From: Ben Irvin Date: Fri, 12 Aug 2022 14:12:32 +0200 Subject: [PATCH] fix supported node versions --- .../generators/app/lib/resources/json/common/package.json.js | 2 +- .../generators/lib/templates/ts/plugin-package.json.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/generators/app/lib/resources/json/common/package.json.js b/packages/generators/app/lib/resources/json/common/package.json.js index 7760415ddb..b32f04a2b2 100644 --- a/packages/generators/app/lib/resources/json/common/package.json.js +++ b/packages/generators/app/lib/resources/json/common/package.json.js @@ -44,7 +44,7 @@ module.exports = opts => { ...packageJsonStrapi, }, engines: { - node: '>=12.x.x <=16.x.x', + node: '>=14.19.1 <=16.x.x', npm: '>=6.0.0', }, license: 'MIT', diff --git a/packages/generators/generators/lib/templates/ts/plugin-package.json.hbs b/packages/generators/generators/lib/templates/ts/plugin-package.json.hbs index 8303bcada1..cea3874273 100644 --- a/packages/generators/generators/lib/templates/ts/plugin-package.json.hbs +++ b/packages/generators/generators/lib/templates/ts/plugin-package.json.hbs @@ -21,7 +21,7 @@ } ], "engines": { - "node": ">=12.x.x <=16.x.x", + "node": ">=14.19.1 <=16.x.x", "npm": ">=6.0.0" }, "scripts": {