Skip to content

Commit

Permalink
[runtime] Upgrade Node.js to version 16
Browse files Browse the repository at this point in the history
Node.js 16.x just landed on Vercel! 🎈
https://vercel.com/changelog/node-js-16-lts-is-now-available

...only a few hours after the runtime actually landed on AWS itself: 👌
aws/aws-lambda-base-images#14 (comment)
  • Loading branch information
Olivier Philippon committed May 10, 2022
1 parent a429725 commit b234f0d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ We welcome PRs to add projects to the Rich / Textual galleries. Can't promise we

## Start dev server for maintaining purpose

You will need Node.js (version 14, as newer versions are not supported by our hosting platform at the moment) to run the site locally.
You will need Node.js (version 16 to run the site locally.
Using [nvm](https://github.com/nvm-sh/nvm#intro) is the recommended way to install such a version. Once it is installed, you can run the following commands:

- `nvm install 14 && nvm use 14` - installs Node.js v14
- `nvm install 16 && nvm use 16` - installs Node.js v14
- `npm i` - installs the Node.js dependencies
- `npm run dev` - starts the local development server

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "Textualize.io",
"engines": {
"node": "14.x"
"node": "16.x"
},
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit b234f0d

Please sign in to comment.