Claude gelernt wie man baut

This commit is contained in:
2026-04-10 11:34:45 +02:00
parent fd8976fedc
commit 16d095ca77
+9 -5
View File
@@ -26,12 +26,16 @@ npm run lint # ESLint on TypeScript/JavaScript sources
npm run anylize # Build with webpack-bundle-analyzer npm run anylize # Build with webpack-bundle-analyzer
``` ```
After building, copy the output to the repo root: ## Versioning & Release
```bash
cp "client/dist/3CX TAPI.prod.user.js" 3CX_TAPI.user.js
```
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 ## Server Commands