Files
evidencija-rezija/email-server-worker/tsconfig.json
Knee Cola 25c2f09eef feat: add email-server-worker with clean template architecture
Add new email-server-worker project implementing a self-scheduling background worker pattern with HTTP monitoring. Removed all business-specific code from copied source, creating a clean, reusable template.

Key features:
- Self-scheduling worker loop with configurable interval
- Graceful shutdown support (Docker-compatible)
- Prometheus metrics collection
- Health check endpoints (/healthcheck, /metrics, /ping)
- Example worker template for easy customization
- Comprehensive architecture documentation in CLAUDE.md

The worker is now ready for email server implementation with no external dependencies on Evolution/MSSQL/ElasticSearch.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 09:03:58 +01:00

36 lines
1.7 KiB
JSON

{
"compilerOptions": {
"target": "es2020", // https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"module": "commonjs",
"esModuleInterop": true, // solves the problem regarding the default importa vs importa *
"strict": true,
"sourceMap": true, // please do create source maps
"skipLibCheck": true, // don't verify typescript of 3rd party modules
"rootDir": "src", // root directory under which source files are located - it's subtree will be mirrored in "outDir"
"outDir": "build", // where the build files should be stored
// "baseUrl" ---- se NE SMIJE koristiti
// POJAŠNJENJE: ako zadamo "baseUrl" Intellisense će početi kod autocompletion-a (Ctrl+Space)
// umjesto relativnih insertirati apsolutni path do modula,
// a takav path nije dobar za build niti debugging
// "baseUrl": "./", // set a base directory to resolve non-absolute module names - This must be specified if "paths" is used
"paths": {
},
"plugins": [
{
// Slijedeće je namijenjeno BUILD projekta
// POJAŠNJENJE: build tadi `ttypescript`
// koji ne zna interpretirati što je podešeno pod "path"
// > to za njega rješava "typescript-transform-paths"
"transform": "typescript-transform-paths"
}
]
},
"include": ["src/**/*"], // location of files which need to be compiled
// Slijedeće je namijenjeno DEBUGGING servera u VS Code-u
// POJAŠNJENJE: kod debugginga modul se pokreće pomoću `ts-node`,
// koji ne zna sam interpretirati što je podešeno pod "paths"
// > to za njega rješava "tsconfig-paths/register"
"ts-node": {
"require": ["tsconfig-paths/register"]
},
}