Compare commits

...

4 Commits

Author SHA1 Message Date
27cdbeb37b Release version 0.0.13
Bumped version from 0.0.12 to 0.0.13 in package.json to reflect recent updates and improvements. No other changes to code or dependencies.
2024-08-16 18:48:26 +02:00
567d1c5bd2 Refactor import paths for 'Identifier' type
Unified the import paths of the 'Identifier' type across multiple files to ensure consistency. The 'Identifier' type is now imported from '../types/Identifier' instead of 'src/types/Identifier'. This change reduces ambiguity and aligns the import pattern throughout the codebase.
2024-08-16 18:48:26 +02:00
942e1079f6 Merge branch 'main' of https://github.com/PxaMMaxP/TSinjex 2024-08-16 18:43:24 +02:00
a8fd55befd Bump package version to 0.0.12
Updated the package version from 0.0.11 to 0.0.12 to reflect recent changes and improvements in the codebase. This helps ensure version clarity and proper dependency management.
2024-08-16 18:41:45 +02:00
8 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "ts-injex", "name": "ts-injex",
"version": "0.0.12", "version": "0.0.13",
"description": "Simple boilerplate code free dependency injection system for TypeScript.", "description": "Simple boilerplate code free dependency injection system for TypeScript.",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",

View File

@@ -1,4 +1,3 @@
import { Identifier } from 'src/types/Identifier';
import type { Inject } from '../decorators/Inject'; import type { Inject } from '../decorators/Inject';
import type { Register } from '../decorators/Register'; import type { Register } from '../decorators/Register';
import type { RegisterInstance } from '../decorators/RegisterInstance'; import type { RegisterInstance } from '../decorators/RegisterInstance';
@@ -8,6 +7,7 @@ import { ImplementsStatic } from '../helper/ImplementsStatic';
import { DependencyResolutionError } from '../interfaces/Exceptions'; import { DependencyResolutionError } from '../interfaces/Exceptions';
import { IDependency } from '../interfaces/IDependency'; import { IDependency } from '../interfaces/IDependency';
import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex'; import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* # TSinjex * # TSinjex

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
import { InitDelegate } from '../types/InitDelegate'; import { InitDelegate } from '../types/InitDelegate';
/** /**

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* A decorator to register a class in the **TSinjex** DI (Dependency Injection) container. * A decorator to register a class in the **TSinjex** DI (Dependency Injection) container.

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
import { InitDelegate } from '../types/InitDelegate'; import { InitDelegate } from '../types/InitDelegate';
/** /**

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* Register a dependency. * Register a dependency.

View File

@@ -1,6 +1,6 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { DependencyResolutionError } from '../interfaces/Exceptions'; import { DependencyResolutionError } from '../interfaces/Exceptions';
import { Identifier } from '../types/Identifier';
/** /**
* Resolve a dependency. * Resolve a dependency.

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { DependencyResolutionError } from './Exceptions'; import { DependencyResolutionError } from './Exceptions';
import { Identifier } from '../types/Identifier';
/** /**
* Static TSInjex Interface * Static TSInjex Interface