From a753ee7c2144998c345045b8d56db69dca16c1fc Mon Sep 17 00:00:00 2001 From: Mike-FreeAI <145850829+Mike-FreeAI@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:30:59 +0100 Subject: [PATCH] Add one click launcher Add a new script `"launch": "sst start"` to the `scripts` section in multiple `package.json` files. * **apps/docs/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **apps/nexus/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **apps/www/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **package.json** - Add `"launch": "sst start"` to the `scripts` section. --- apps/docs/package.json | 3 ++- apps/nexus/package.json | 3 ++- apps/www/package.json | 3 ++- package.json | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index 2b08ccc..99be8de 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -26,7 +26,8 @@ "preview": "qwik build preview && vite preview --open", "serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als", "start": "vite --open --mode ssr", - "qwik": "qwik" + "qwik": "qwik", + "launch": "sst start" }, "devDependencies": { "@builder.io/qwik": "^1.8.0", diff --git a/apps/nexus/package.json b/apps/nexus/package.json index 1bd375e..91af5bd 100644 --- a/apps/nexus/package.json +++ b/apps/nexus/package.json @@ -5,7 +5,8 @@ "description": "Nestri's core", "scripts": { "dev": "wrangler dev src/index.ts", - "deploy": "wrangler deploy --minify src/index.ts" + "deploy": "wrangler deploy --minify src/index.ts", + "launch": "sst start" }, "dependencies": { "hono": "^4.5.5" diff --git a/apps/www/package.json b/apps/www/package.json index b39d364..3c697a6 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -26,7 +26,8 @@ "preview": "qwik build preview && vite preview --open", "serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als", "start": "vite --open --mode ssr", - "qwik": "qwik" + "qwik": "qwik", + "launch": "sst start" }, "devDependencies": { "@builder.io/qwik": "^1.8.0", diff --git a/package.json b/package.json index 0a112bb..5256961 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "build": "turbo build", "dev": "turbo dev", "format": "prettier --write \"**/*.{ts,tsx,md}\"", - "lint": "turbo lint" + "lint": "turbo lint", + "launch": "sst start" }, "devDependencies": { "@cloudflare/workers-types": "4.20240821.1",