Implements dependency injection with Brandi

Introduces Brandi DI container for managing application dependencies.

This change replaces the existing factory pattern with a proper
dependency injection mechanism, improving code modularity,
testability, and maintainability. It configures all managers and core
services within the container, ensuring proper dependency resolution.
This commit is contained in:
Janus C. H. Knudsen 2025-10-14 22:53:28 +02:00
parent 020d5c3efc
commit f7c67e6253
5 changed files with 170 additions and 24 deletions

View file

@ -21,6 +21,7 @@
},
"dependencies": {
"@rollup/rollup-win32-x64-msvc": "^4.52.2",
"brandi": "^5.0.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"fuse.js": "^7.1.0"