From 4719d25f8f3ce9ccb8111acf0e01b2ce52007876 Mon Sep 17 00:00:00 2001 From: ordinarthur <@arthurbarre.js@gmail.com> Date: Mon, 20 Apr 2026 13:33:33 +0200 Subject: [PATCH] chore(server): load .env in dev via tsx --env-file Phase 3 adds Stripe env vars (keys + price IDs) we want hydrated locally without leaking them into the shell profile. Co-Authored-By: Claude Opus 4.7 --- server/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/package.json b/server/package.json index d3db239..6e73f51 100644 --- a/server/package.json +++ b/server/package.json @@ -5,7 +5,7 @@ "type": "module", "main": "./dist/index.js", "scripts": { - "dev": "tsx watch src/index.ts", + "dev": "tsx watch --env-file=.env src/index.ts", "build": "tsc", "start": "node dist/index.js", "typecheck": "tsc --noEmit",