Skip to content

Commit

Permalink
improvement(plugin-serverless plugin-assets runtime-handler serverles…
Browse files Browse the repository at this point in the history
…s-api serverless-twilio-runtime

change node.js to 18 minimum in required and in docs where necessary

BREAKING CHANGE: minimum Node.js now 18
  • Loading branch information
makserik committed Mar 19, 2024
1 parent 51f5068 commit ebe432c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ If you are planning to contribute something that does not have an open issue yet

## Requirements

Make sure you have Node.js 14 or newer installed. Due to compatibility with Twilio
Functions this project has to support at least Node.js 14.0.0.
Make sure you have Node.js 18 or newer installed. Due to compatibility with Twilio
Functions this project has to support at least Node.js 18.0.0.

We are using the npm CLI to manage our project. You'll need at least `npm` version 8 or newer.

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"rimraf": "^3.0.2"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"files": [
"/oclif.manifest.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"oclif": "^3"
},
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"files": [
"/oclif.manifest.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/express-useragent": "^0.2.21",
"@types/jest": "^26.0.24",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^14.0.19",
"@types/node": "^18.0.0",
"@types/supertest": "^2.0.8",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"dependencies": {
"@types/mime-types": "^2.1.0",
"@types/node": "^14.17.19",
"@types/node": "^18.0.0",
"@types/recursive-readdir": "^2.2.0",
"debug": "^4.1.1",
"fast-redact": "^1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless-twilio-runtime/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Serverless Framework plugin to deploy to the Twilio Runtime.

### Pre-requisites

- Node.js v12.x (this is the runtime version supported by Twilio Functions)
- Node.js v18.x (this is the runtime version supported by Twilio Functions)
- Serverless CLI v1.50.0+. You can run npm i -g serverless if you don't already have it.
- A Twilio account. If you don't have one you can [sign up quickly](https://www.twilio.com/try-twilio).

Expand Down
2 changes: 1 addition & 1 deletion packages/twilio-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@types/lodash.kebabcase": "^4.1.6",
"@types/lodash.startcase": "^4.4.6",
"@types/mock-fs": "^4.10.0",
"@types/node": "^14.0.19",
"@types/node": "^18.0.0",
"@types/prompts": "^2.0.1",
"@types/supertest": "^2.0.8",
"@types/title": "^1.0.5",
Expand Down

0 comments on commit ebe432c

Please sign in to comment.