From 2cc3911813e79cb2194373702abe3cc5e6e918ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Fri, 8 May 2026 15:19:39 +0900 Subject: [PATCH] Add root workspace package --- package.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..4e37694 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "raspi-telegram-live-chat", + "version": "0.1.0", + "private": true, + "description": "Self-hosted live chat with Raspberry Pi backend, Telegram operators, FastPanel-safe frontend deployment, and embeddable widget.", + "workspaces": [ + "backend", + "admin-panel", + "widget", + "deploy/deploy-agent" + ], + "scripts": { + "dev:backend": "npm --workspace backend run dev", + "dev:admin": "npm --workspace admin-panel run dev", + "build:admin": "npm --workspace admin-panel run build", + "build:widget": "npm --workspace widget run build", + "build": "npm run build:admin && npm run build:widget", + "deploy:frontend": "npm --workspace deploy/deploy-agent run deploy" + }, + "engines": { + "node": ">=20.0.0" + } +}