From 1db16a130d0b2fad5d38cd2b1086fc390e2fd3ed Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 4 May 2024 11:07:29 -0700 Subject: [PATCH] [playground] Bugfix: change default dev port to 3000 (#6018 vite upgrade regression) --- package.json | 2 +- packages/lexical-playground/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ced791107af..cbac8a6ce86 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "start": "cross-env NODE_ENV=development concurrently \"npm:collab\" \"npm run dev --prefix packages/lexical-playground\"", "start:website": "npm run start --prefix packages/lexical-website -- --port 3001", "start:playground": "npm run start-test-server", - "dev": "npm run dev --prefix packages/lexical-playground", + "dev": "npm run dev --prefix packages/lexical-playground --", "start-test-server": "npm run preview --prefix packages/lexical-playground -- --port 4000", "build": "node scripts/build.js", "build-prod": "npm run clean && npm run build -- --prod", diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 78a523dfe7d..6bd008781d1 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "scripts": { - "dev": "vite --host", + "dev": "vite --host --port 3000", "build-dev": "vite build", "build-prod": "vite build --config vite.prod.config.ts", "build-vercel": "(cd ../../ && node ./scripts/build.js) && npm run build-dev",