-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump inversify from 6.2.2 to 7.0.1
Bumps [inversify](https://github.com/inversify/InversifyJS) from 6.2.2 to 7.0.1. - [Release notes](https://github.com/inversify/InversifyJS/releases) - [Changelog](https://github.com/inversify/InversifyJS/blob/master/CHANGELOG.md) - [Commits](inversify/InversifyJS@v6.2.2...v7.0.1) --- updated-dependencies: - dependency-name: inversify dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
- Loading branch information
1 parent
6f68233
commit 8abf73d
Showing
27 changed files
with
156 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { injectFromBase } from "inversify"; | ||
import { AbstractActionWithAdapters } from "../AbstractActionWithAdapters"; | ||
import { RouterAdapter } from "./adapters/RouterAdapter"; | ||
import { AdapterKey } from "./container"; | ||
|
||
@injectFromBase() | ||
export default class AddRouter extends AbstractActionWithAdapters<RouterAdapter> { | ||
protected name = "Router"; | ||
protected adapterKey = AdapterKey; | ||
protected adapterIdentifier = AdapterKey; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/actions/add-router/adapters/NextJs.ts → ...ons/add-router/adapters/next-js/NextJs.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/actions/add-router/adapters/RouterDom.ts → ...d-router/adapters/router-dom/RouterDom.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { injectFromBase } from "inversify"; | ||
import { AbstractActionWithAdapters } from "../AbstractActionWithAdapters"; | ||
import { UIFrameworkAdapter } from "./adapters/UIFrameworkAdapter"; | ||
import { AdapterKey } from "./container"; | ||
|
||
@injectFromBase() | ||
export default class AddUIFramework extends AbstractActionWithAdapters<UIFrameworkAdapter> { | ||
protected name = "UI Framework"; | ||
protected adapterKey = AdapterKey; | ||
protected adapterIdentifier = AdapterKey; | ||
} |
6 changes: 4 additions & 2 deletions
6
.../add-ui-framework/adapters/UIBootstrap.ts → ...work/adapters/ui-bootstrap/UIBootstrap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...s/add-ui-framework/adapters/UIMaterial.ts → ...mework/adapters/ui-material/UIMaterial.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { AbstractActionWithAdapters } from "../AbstractActionWithAdapters"; | ||
import { AdapterKey } from "./container"; | ||
import { AdapterIdentifier } from "./container"; | ||
import { VersioningAdapter } from "./VersioningAdapter"; | ||
|
||
export default class AddVersioning extends AbstractActionWithAdapters<VersioningAdapter> { | ||
protected name = "Versioning"; | ||
protected adapterKey = AdapterKey; | ||
protected adapterIdentifier = AdapterIdentifier; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Container } from "inversify"; | ||
import AddHosting from "./add-hosting/AddHosting"; | ||
import { bindHostingAdapters } from "./add-hosting/container"; | ||
import AddRouter from "./add-router/AddRouter"; | ||
import { bindRouterAdapters } from "./add-router/container"; | ||
import AddUIFramework from "./add-ui-framework/AddUIFramework"; | ||
import { bindUIFrameworkAdapters } from "./add-ui-framework/container"; | ||
import AddVersioning from "./add-versioning/AddVersioning"; | ||
import { bindVersioningAdapters } from "./add-versioning/container"; | ||
import { bindCreateAppAdapters } from "./create-app/container"; | ||
import CreateApp from "./create-app/CreateApp"; | ||
import CreateComponent from "./create-component/CreateComponent"; | ||
import CreateCrudComponent from "./create-component/CreateCrudComponent"; | ||
import GenerateReadme from "./generate-readme/GenerateReadme"; | ||
|
||
export const ActionIdentifier = Symbol("Action"); | ||
|
||
export function bindActions(container: Container): void { | ||
// Available root actions | ||
container.bind<CreateApp>(ActionIdentifier).to(CreateApp); | ||
container.bind<CreateApp>(CreateApp).toSelf(); | ||
container.bind<CreateComponent>(ActionIdentifier).to(CreateComponent); | ||
container.bind<CreateComponent>(CreateComponent).toSelf(); | ||
container.bind<CreateCrudComponent>(ActionIdentifier).to(CreateCrudComponent); | ||
container.bind<CreateCrudComponent>(CreateCrudComponent).toSelf(); | ||
container.bind<GenerateReadme>(ActionIdentifier).to(GenerateReadme); | ||
container.bind<GenerateReadme>(GenerateReadme).toSelf(); | ||
|
||
// Sub actions | ||
container.bind<AddUIFramework>(AddUIFramework).toSelf(); | ||
container.bind<AddRouter>(AddRouter).toSelf(); | ||
container.bind<AddVersioning>(AddVersioning).toSelf(); | ||
container.bind<AddHosting>(AddHosting).toSelf(); | ||
|
||
// Bind adapters | ||
bindCreateAppAdapters(container); | ||
bindHostingAdapters(container); | ||
bindRouterAdapters(container); | ||
bindUIFrameworkAdapters(container); | ||
bindVersioningAdapters(container); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { AbstractCommitableActionWithAdapters } from "../AbstractCommitableActionWithAdapters"; | ||
import { CreateAppAdapter } from "./adapters/CreateAppAdapter"; | ||
import { AdapterKey } from "./container"; | ||
import { AdapterIdentifier } from "./container"; | ||
|
||
export default class CreateApp extends AbstractCommitableActionWithAdapters<CreateAppAdapter> { | ||
protected name = "Create a new application"; | ||
protected adapterKey = AdapterKey; | ||
protected adapterIdentifier = AdapterIdentifier; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.