From 16d095ca77609aa2dc99efc186d3e69fa0f73b53 Mon Sep 17 00:00:00 2001
From: Patrik Oberschmid
Date: Fri, 10 Apr 2026 11:34:45 +0200
Subject: [PATCH] Claude gelernt wie man baut
---
CLAUDE.md | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/CLAUDE.md b/CLAUDE.md
index f551917..23185e6 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -26,12 +26,16 @@ npm run lint # ESLint on TypeScript/JavaScript sources
npm run anylize # Build with webpack-bundle-analyzer
```
-After building, copy the output to the repo root:
-```bash
-cp "client/dist/3CX TAPI.prod.user.js" 3CX_TAPI.user.js
-```
+## Versioning & Release
-The root `3CX_TAPI.user.js` is the committed distribution artifact installed via Tampermonkey.
+**Never edit these files manually — they are auto-generated:**
+- `client/package-lock.json` (generated by `npm install`)
+- `3CX_TAPI.user.js` (generated by build)
+
+To release a new version:
+1. Bump `version` in `client/package.json` (1st digit = major, 2nd = feature, 3rd = bugfix/minor)
+2. Build: `npm run build` (from `client/`)
+3. Copy: `cp "dist/3CX TAPI.prod.user.js" ../3CX_TAPI.user.js`
## Server Commands