Skip to content

Commit

Permalink
Bump up minimum required Node to 10.16
Browse files Browse the repository at this point in the history
Updated README docs & package.json `engine` versions to bump up the
minimum required Node version from `10.10` to `10.16` (or `10.16.0+`)

Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0`
( #7729 ) which requires Node 10.16.0+
(See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 )

` yarn create strapi-app my-project --quickstart` on 10.10 fails with error
```
error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0"
error Found incompatible module.
```

Signed-off-by: Peter Etelej <peter@etelej.com>
  • Loading branch information
peteretelej committed Sep 20, 2020
1 parent 49ce464 commit 57262ef
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The core team will review your pull request and will either merge it, request ch

## Contribution Prerequisites

- You have [Node](https://nodejs.org/en/) at v10.10.0+ only and [Yarn](https://yarnpkg.com/en/) at v1.2.0+.
- You have [Node](https://nodejs.org/en/) at v10.16.0+ only and [Yarn](https://yarnpkg.com/en/) at v1.2.0+.
- Node v14/v13 **are not supported yet**
- You are familiar with Git.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Complete installation requirements can be found in the documentation under <a hr

Please note at this time Node v14 **is not** supported

- NodeJS >= 10.10 <13
- NodeJS >= 10.16 <13
- NPM >= 6.x

**Database:**
Expand Down
2 changes: 1 addition & 1 deletion examples/getstarted/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"uuid": "getstarted"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-strapi-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"gitHead": "231263a3535658bab1e9492c6aaaed8692d62a53"
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
}
],
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-connector-bookshelf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-connector-mongoose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-policy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-generate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-helper-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dist"
],
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-hook-ejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-hook-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-middleware-views/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-content-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"url": "git://github.com/strapi/strapi.git"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-content-type-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"url": "git://github.com/strapi/strapi.git"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
}
],
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"url": "git://github.com/strapi/strapi.git"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
],
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
],
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-users-permissions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"url": "git://github.com/strapi/strapi.git"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-email-amazon-ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-email-mailgun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-email-sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-email-sendmail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-upload-aws-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-upload-cloudinary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-upload-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-provider-upload-rackspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"streamifier": "^0.1.1"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"gitHead": "231263a3535658bab1e9492c6aaaed8692d62a53"
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"url": "https://github.com/strapi/strapi/issues"
},
"engines": {
"node": ">=10.10.0 <13",
"node": ">=10.16.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
Expand Down

0 comments on commit 57262ef

Please sign in to comment.