Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Jan 26, 2022
1 parent 8c2302d commit b725c9f
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 36 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/mnasyrov/ditox/compare/v1.4.2...v2.0.0) (2022-01-26)


### chore

* Dropped supporting of Flow.js typings. ([9a94f55](https://github.com/mnasyrov/ditox/commit/9a94f558daf107ff4744462e078571e4ccc7c444))


### BREAKING CHANGES

* Dropped supporting of Flow.js typings. Use the previous versions of the library with Flow.js





## [1.4.2](https://github.com/mnasyrov/ditox/compare/v1.4.1...v1.4.2) (2021-11-18)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.2",
"version": "2.0.0",
"hoist": "**",
"forceLocal": true,
"command": {
Expand Down
16 changes: 16 additions & 0 deletions packages/ditox-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/mnasyrov/ditox/compare/v1.4.2...v2.0.0) (2022-01-26)


### chore

* Dropped supporting of Flow.js typings. ([9a94f55](https://github.com/mnasyrov/ditox/commit/9a94f558daf107ff4744462e078571e4ccc7c444))


### BREAKING CHANGES

* Dropped supporting of Flow.js typings. Use the previous versions of the library with Flow.js





## [1.4.2](https://github.com/mnasyrov/ditox/compare/v1.4.1...v1.4.2) (2021-11-18)

**Note:** Version bump only for package ditox-react
Expand Down
1 change: 1 addition & 0 deletions packages/ditox-react/docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
16 changes: 8 additions & 8 deletions packages/ditox-react/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ A callback for binding dependencies to a container

#### Defined in

[DependencyContainer.tsx:19](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/DependencyContainer.tsx#L19)
[DependencyContainer.tsx:19](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/DependencyContainer.tsx#L19)

___

Expand All @@ -96,7 +96,7 @@ Specifies an existed container or options for a new container:

#### Defined in

[DependencyContainer.tsx:26](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/DependencyContainer.tsx#L26)
[DependencyContainer.tsx:26](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/DependencyContainer.tsx#L26)

## Component

Expand Down Expand Up @@ -137,7 +137,7 @@ function App() {
#### Defined in
[DependencyModule.tsx:33](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/DependencyModule.tsx#L33)
[DependencyModule.tsx:33](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/DependencyModule.tsx#L33)
___
Expand Down Expand Up @@ -188,7 +188,7 @@ function App() {
#### Defined in
[DependencyContainer.tsx:68](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/DependencyContainer.tsx#L68)
[DependencyContainer.tsx:68](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/DependencyContainer.tsx#L68)
___
Expand Down Expand Up @@ -218,7 +218,7 @@ Returns a dependency by token, or `undefined` in case the dependency i
#### Defined in
[hooks.ts:52](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/hooks.ts#L52)
[hooks.ts:52](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/hooks.ts#L52)
___
Expand Down Expand Up @@ -248,7 +248,7 @@ Returns a dependency by token, or fails with an error. Functions
#### Defined in
[hooks.ts:41](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/hooks.ts#L41)
[hooks.ts:41](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/hooks.ts#L41)
___
Expand All @@ -274,7 +274,7 @@ Returns a dependency container. Throws an error in case the container is not pro
#### Defined in
[hooks.ts:10](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/hooks.ts#L10)
[hooks.ts:10](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/hooks.ts#L10)
▸ **useDependencyContainer**(`mode?`): `Container` \| `undefined`
Expand All @@ -294,4 +294,4 @@ Returns a dependency container, or `undefined` in case the container is not prov
#### Defined in
[hooks.ts:16](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox-react/src/hooks.ts#L16)
[hooks.ts:16](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox-react/src/hooks.ts#L16)
4 changes: 2 additions & 2 deletions packages/ditox-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ditox-react",
"version": "1.4.2",
"version": "2.0.0",
"description": "Ditox.js tooling for React.js",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -51,7 +51,7 @@
"build:rollup": "rollup -c"
},
"dependencies": {
"ditox": "1.4.2"
"ditox": "2.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
Expand Down
16 changes: 16 additions & 0 deletions packages/ditox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/mnasyrov/ditox/compare/v1.4.2...v2.0.0) (2022-01-26)


### chore

* Dropped supporting of Flow.js typings. ([9a94f55](https://github.com/mnasyrov/ditox/commit/9a94f558daf107ff4744462e078571e4ccc7c444))


### BREAKING CHANGES

* Dropped supporting of Flow.js typings. Use the previous versions of the library with Flow.js





## [1.4.2](https://github.com/mnasyrov/ditox/compare/v1.4.1...v1.4.2) (2021-11-18)


Expand Down
1 change: 1 addition & 0 deletions packages/ditox/docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
46 changes: 23 additions & 23 deletions packages/ditox/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Options for module binding.

#### Defined in

[packages/ditox/src/modules.ts:83](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L83)
[packages/ditox/src/modules.ts:83](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L83)

___

Expand All @@ -80,7 +80,7 @@ Dependency container.

#### Defined in

[packages/ditox/src/ditox.ts:95](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L95)
[packages/ditox/src/ditox.ts:95](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L95)

___

Expand All @@ -105,7 +105,7 @@ Options for factory binding.

#### Defined in

[packages/ditox/src/ditox.ts:83](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L83)
[packages/ditox/src/ditox.ts:83](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L83)

___

Expand All @@ -117,7 +117,7 @@ ___

#### Defined in

[packages/ditox/src/ditox.ts:71](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L71)
[packages/ditox/src/ditox.ts:71](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L71)

___

Expand All @@ -142,7 +142,7 @@ type LoggerModule = Module<{

#### Defined in

[packages/ditox/src/modules.ts:22](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L22)
[packages/ditox/src/modules.ts:22](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L22)

___

Expand All @@ -152,7 +152,7 @@ ___

#### Defined in

[packages/ditox/src/modules.ts:87](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L87)
[packages/ditox/src/modules.ts:87](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L87)

___

Expand Down Expand Up @@ -199,7 +199,7 @@ const LOGGER_MODULE: ModuleDeclaration<LoggerModule> = {

#### Defined in

[packages/ditox/src/modules.ts:47](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L47)
[packages/ditox/src/modules.ts:47](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L47)

___

Expand All @@ -217,7 +217,7 @@ Binding token.

#### Defined in

[packages/ditox/src/ditox.ts:25](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L25)
[packages/ditox/src/ditox.ts:25](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L25)

## Functions

Expand Down Expand Up @@ -252,7 +252,7 @@ bindModule(container, LOGGER_MODULE);

#### Defined in

[packages/ditox/src/modules.ts:105](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L105)
[packages/ditox/src/modules.ts:105](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L105)

___

Expand All @@ -275,7 +275,7 @@ Binds dependency modules to the container

#### Defined in

[packages/ditox/src/modules.ts:166](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L166)
[packages/ditox/src/modules.ts:166](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L166)

___

Expand Down Expand Up @@ -305,7 +305,7 @@ Rebinds the array by the token with added new value.

#### Defined in

[packages/ditox/src/utils.ts:14](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L14)
[packages/ditox/src/utils.ts:14](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L14)

___

Expand All @@ -329,7 +329,7 @@ Container can have an optional parent to chain token resolution. The parent is u

#### Defined in

[packages/ditox/src/ditox.ts:204](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L204)
[packages/ditox/src/ditox.ts:204](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L204)

___

Expand Down Expand Up @@ -373,7 +373,7 @@ const LOGGER_MODULE = declareModule<LoggerModule>({

#### Defined in

[packages/ditox/src/modules.ts:201](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L201)
[packages/ditox/src/modules.ts:201](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L201)

___

Expand All @@ -395,7 +395,7 @@ Declares bindings of several modules

#### Defined in

[packages/ditox/src/modules.ts:213](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/modules.ts#L213)
[packages/ditox/src/modules.ts:213](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/modules.ts#L213)

___

Expand Down Expand Up @@ -431,7 +431,7 @@ console.log(props); // {a: 1, b: 2}

#### Defined in

[packages/ditox/src/utils.ts:83](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L83)
[packages/ditox/src/utils.ts:83](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L83)

___

Expand Down Expand Up @@ -462,7 +462,7 @@ If a token is not found, then `undefined` value is used.

#### Defined in

[packages/ditox/src/utils.ts:28](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L28)
[packages/ditox/src/utils.ts:28](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L28)

___

Expand Down Expand Up @@ -511,7 +511,7 @@ Decorated factory which takes a dependency container as a single argument.

#### Defined in

[packages/ditox/src/utils.ts:56](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L56)
[packages/ditox/src/utils.ts:56](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L56)

___

Expand Down Expand Up @@ -573,7 +573,7 @@ Decorated factory which takes a dependency container as a single argument.

#### Defined in

[packages/ditox/src/utils.ts:124](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L124)
[packages/ditox/src/utils.ts:124](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L124)

___

Expand Down Expand Up @@ -603,7 +603,7 @@ This value is be used as default value in case a container does not have registe

#### Defined in

[packages/ditox/src/ditox.ts:41](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L41)
[packages/ditox/src/ditox.ts:41](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L41)

**optional**<`T`\>(`token`): `OptionalToken`<`T` \| `undefined`\>

Expand All @@ -625,7 +625,7 @@ This value is be used as default value in case a container does not have registe

#### Defined in

[packages/ditox/src/ditox.ts:45](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L45)
[packages/ditox/src/ditox.ts:45](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L45)

___

Expand Down Expand Up @@ -661,7 +661,7 @@ console.log(props); // {a: 1, b: 2}

#### Defined in

[packages/ditox/src/utils.ts:102](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L102)
[packages/ditox/src/utils.ts:102](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L102)

___

Expand Down Expand Up @@ -692,7 +692,7 @@ If a token is not found, then `ResolverError` is thrown.

#### Defined in

[packages/ditox/src/utils.ts:41](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/utils.ts#L41)
[packages/ditox/src/utils.ts:41](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/utils.ts#L41)

___

Expand Down Expand Up @@ -720,4 +720,4 @@ Creates a new binding token.

#### Defined in

[packages/ditox/src/ditox.ts:31](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L31)
[packages/ditox/src/ditox.ts:31](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L31)
2 changes: 1 addition & 1 deletion packages/ditox/docs/classes/resolvererror.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Error.constructor

#### Defined in

[packages/ditox/src/ditox.ts:61](https://github.com/mnasyrov/ditox/blob/4df34f1/packages/ditox/src/ditox.ts#L61)
[packages/ditox/src/ditox.ts:61](https://github.com/mnasyrov/ditox/blob/8c2302d/packages/ditox/src/ditox.ts#L61)

## Properties

Expand Down
2 changes: 1 addition & 1 deletion packages/ditox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ditox",
"version": "1.4.2",
"version": "2.0.0",
"description": "Powerful dependency injection container for building modular apps.",
"license": "MIT",
"author": "Mikhail Nasyrov <mikhail@mnasyrov.com> (https://github.com/mnasyrov)",
Expand Down

0 comments on commit b725c9f

Please sign in to comment.