refactor(di): modularize and improve dependency injection for deno

- Consolidate import paths into scoped modules for better structure.
- Refactor decorators (`Inject`, `Register`) for improved type safety.
- Add `clear` method to the DI container for easier test cleanup.
- Introduce lazy initialization for registered instances.
- Add comprehensive unit tests for decorators and DI container.
- Standardize error handling and naming conventions for exceptions.

Signed-off-by: Max P. <Mail@MPassarello.de>
This commit is contained in:
2025-05-02 19:55:16 +02:00
parent 9e1b7a8d7b
commit 46c9a8b990
17 changed files with 489 additions and 425 deletions

1
src/helper/mod.ts Normal file
View File

@@ -0,0 +1 @@
export { ImplementsStatic } from "./ImplementsStatic.ts";