From 50450a7dabc794a04e553bf461ab03d19bd1298e Mon Sep 17 00:00:00 2001 From: Ives van Hoorne Date: Mon, 31 Jul 2023 23:47:41 +0200 Subject: [PATCH] chore: update required node version to 18 (#6837) --- .codesandbox/Dockerfile | 5 +++++ .codesandbox/tasks.json | 11 +++++++++-- .nvmrc | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .codesandbox/Dockerfile diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile new file mode 100644 index 000000000..fd5b38d1e --- /dev/null +++ b/.codesandbox/Dockerfile @@ -0,0 +1,5 @@ +FROM node:18-bullseye + +# Vite wants to open the browser using `open`, so we +# need to install those utils. +RUN apt update -y && apt install -y xdg-utils diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json index 360636c4c..51c6e4e16 100644 --- a/.codesandbox/tasks.json +++ b/.codesandbox/tasks.json @@ -27,7 +27,10 @@ "start": { "name": "Start Excalidraw", "command": "yarn start", - "runAtStart": true + "runAtStart": true, + "preview": { + "port": 3000 + } }, "test": { "name": "Run Tests", @@ -37,7 +40,11 @@ "install-deps": { "name": "Install Dependencies", "command": "yarn install", - "restartOn": { "files": ["yarn.lock"] } + "restartOn": { + "files": ["yarn.lock"], + "branch": false, + "resume": false + } } } } diff --git a/.nvmrc b/.nvmrc index 8351c1939..3c032078a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +18