├── LICENSE ├── README.md ├── package.json ├── src ├── componentResolver.ts ├── constructor.ts ├── index.ts ├── lifecycles │ ├── index.ts │ ├── lifecycle.ts │ ├── scopeLifecycle.ts │ ├── singletonLifecycle.ts │ └── transientLifecycle.ts ├── moduleRegistration.ts ├── registrations │ ├── componentAlreadyImplemented.ts │ ├── componentBuilder.ts │ ├── componentCompleted.ts │ ├── componentWithConstructor.ts │ ├── componentWithName.ts │ ├── componentWithoutDependencies.ts │ ├── index.ts │ └── registrationFactory.ts ├── serviceCollection.ts └── serviceProvider.ts ├── tests ├── data │ └── fake-type.ts ├── registration-dependencies.test.ts └── registration-lifecycle.test.ts └── tsconfig.json /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/package.json -------------------------------------------------------------------------------- /src/componentResolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/componentResolver.ts -------------------------------------------------------------------------------- /src/constructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/constructor.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lifecycles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/lifecycles/index.ts -------------------------------------------------------------------------------- /src/lifecycles/lifecycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/lifecycles/lifecycle.ts -------------------------------------------------------------------------------- /src/lifecycles/scopeLifecycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/lifecycles/scopeLifecycle.ts -------------------------------------------------------------------------------- /src/lifecycles/singletonLifecycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/lifecycles/singletonLifecycle.ts -------------------------------------------------------------------------------- /src/lifecycles/transientLifecycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/lifecycles/transientLifecycle.ts -------------------------------------------------------------------------------- /src/moduleRegistration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/moduleRegistration.ts -------------------------------------------------------------------------------- /src/registrations/componentAlreadyImplemented.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentAlreadyImplemented.ts -------------------------------------------------------------------------------- /src/registrations/componentBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentBuilder.ts -------------------------------------------------------------------------------- /src/registrations/componentCompleted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentCompleted.ts -------------------------------------------------------------------------------- /src/registrations/componentWithConstructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentWithConstructor.ts -------------------------------------------------------------------------------- /src/registrations/componentWithName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentWithName.ts -------------------------------------------------------------------------------- /src/registrations/componentWithoutDependencies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/componentWithoutDependencies.ts -------------------------------------------------------------------------------- /src/registrations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/index.ts -------------------------------------------------------------------------------- /src/registrations/registrationFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/registrations/registrationFactory.ts -------------------------------------------------------------------------------- /src/serviceCollection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/serviceCollection.ts -------------------------------------------------------------------------------- /src/serviceProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/src/serviceProvider.ts -------------------------------------------------------------------------------- /tests/data/fake-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/tests/data/fake-type.ts -------------------------------------------------------------------------------- /tests/registration-dependencies.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/tests/registration-dependencies.test.ts -------------------------------------------------------------------------------- /tests/registration-lifecycle.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/tests/registration-lifecycle.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remihenache/injected-ts/HEAD/tsconfig.json --------------------------------------------------------------------------------