Răsfoiți Sursa

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

Ives van Hoorne 2 ani în urmă
părinte
comite
50450a7dab
3 a modificat fișierele cu 15 adăugiri și 3 ștergeri
  1. 5 0
      .codesandbox/Dockerfile
  2. 9 2
      .codesandbox/tasks.json
  3. 1 1
      .nvmrc

+ 5 - 0
.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

+ 9 - 2
.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
+      }
     }
   }
 }

+ 1 - 1
.nvmrc

@@ -1 +1 @@
-14
+18