From b234f0dd88aae04b9dfff30cae5cfe935a9d93cb Mon Sep 17 00:00:00 2001 From: Olivier Philippon Date: Tue, 10 May 2022 09:32:53 +0100 Subject: [PATCH] [runtime] Upgrade Node.js to version 16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 👌 https://github.com/aws/aws-lambda-base-images/issues/14#issuecomment-1120864028 --- .nvmrc | 2 +- README.md | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.nvmrc b/.nvmrc index 8351c19..b6a7d89 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +16 diff --git a/README.md b/README.md index 44dd0d5..1116ac8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package-lock.json b/package-lock.json index e6f9b21..ea0c344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "typescript": "^4.6.3" }, "engines": { - "node": "14.x" + "node": "16.x" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 4d5ea19..f18bdbf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "name": "Textualize.io", "engines": { - "node": "14.x" + "node": "16.x" }, "scripts": { "dev": "next dev",