Skip to content

Commit

Permalink
feat(container): expose modules
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Dec 22, 2024
1 parent 92f06f6 commit b974b17
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-beans-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/container": minor
---

Added `Container`.
5 changes: 5 additions & 0 deletions .changeset/itchy-coins-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/container": minor
---

Added `InversifyContainerError`.
5 changes: 5 additions & 0 deletions .changeset/rare-ghosts-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/container": minor
---

Added `ContainerModule`.
5 changes: 5 additions & 0 deletions .changeset/witty-worms-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/container": minor
---

Added `BindToFluentSyntax`.
2 changes: 1 addition & 1 deletion packages/container/libraries/container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
"test:unit:js": "pnpm run test:js --selectProjects Unit"
},
"sideEffects": false,
"version": "1.4.0"
"version": "1.0.0"
}
38 changes: 37 additions & 1 deletion packages/container/libraries/container/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,37 @@
export {};
import 'reflect-metadata';

import {
BindInFluentSyntax,
BindInWhenOnFluentSyntax,
BindOnFluentSyntax,
BindToFluentSyntax,
BindWhenFluentSyntax,
BindWhenOnFluentSyntax,
} from './binding/models/BindingFluentSyntax';
import {
ContainerModule,
ContainerModuleLoadOptions,
} from './container/models/ContainerModule';
import { IsBoundOptions } from './container/models/isBoundOptions';
import { Container, ContainerOptions } from './container/services/Container';
import { InversifyContainerError } from './error/models/InversifyContainerError';
import { InversifyContainerErrorKind } from './error/models/InversifyContainerErrorKind';

export type {
BindInFluentSyntax,
BindInWhenOnFluentSyntax,
BindOnFluentSyntax,
BindToFluentSyntax,
BindWhenFluentSyntax,
BindWhenOnFluentSyntax,
ContainerModuleLoadOptions,
ContainerOptions,
IsBoundOptions,
};

export {
Container,
ContainerModule,
InversifyContainerError,
InversifyContainerErrorKind,
};

0 comments on commit b974b17

Please sign in to comment.