chore: запуск auth-сервиса локально одной командой

npm run dev читает server/.env через --env-file (нативно в Node 20+),
чтобы не передавать GRAPH_* руками при каждом старте. Без запущенного
сервиса на 3100 vite-прокси отдаёт 500, что легко принять за баг формы.

.env добавлен в .gitignore, в репозиторий положен только .env.example.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-24 12:52:07 +05:00
parent 091e4e41b9
commit 07a44e3b0e
3 changed files with 16 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsc && node --env-file=.env dist/index.js",
"typecheck": "tsc --noEmit"
},
"dependencies": {