Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

chore: update required node version to 18 (#6837)

Ives van Hoorne50450a7dabc7
diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile
new file mode 100644
index 0000000000..fd5b38d1e8
--- /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 360636c4c0..51c6e4e16f 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 8351c19397..3c032078a4 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-14
+18