awilixify 3.1.3 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/lib/extension-api/index.d.ts +7 -0
- package/dist/lib/extension-api/index.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -28
- package/dist/lib/codegen/cli.d.ts +0 -2
- package/dist/lib/codegen/cli.js +0 -57
- package/dist/lib/codegen/config.d.ts +0 -8
- package/dist/lib/codegen/config.js +0 -3
- package/dist/lib/codegen/generate-asyncapi-client.d.ts +0 -55
- package/dist/lib/codegen/generate-asyncapi-client.js +0 -359
- package/dist/lib/codegen/generate-orval-api-client.d.ts +0 -36
- package/dist/lib/codegen/generate-orval-api-client.js +0 -211
- package/dist/lib/codegen/index.d.ts +0 -3
- package/dist/lib/codegen/index.js +0 -3
- package/dist/lib/react/errors.d.ts +0 -12
- package/dist/lib/react/errors.js +0 -24
- package/dist/lib/react/index.d.ts +0 -4
- package/dist/lib/react/index.js +0 -4
- package/dist/lib/react/react-component-processor.d.ts +0 -10
- package/dist/lib/react/react-component-processor.js +0 -62
- package/dist/lib/react/react-di-context.d.ts +0 -16
- package/dist/lib/react/react-di-context.js +0 -52
- package/dist/lib/react/react-module-factories.d.ts +0 -6
- package/dist/lib/react/react-module-factories.js +0 -34
- package/dist/lib/react/react-module.types.d.ts +0 -169
- package/dist/lib/react/react-module.types.js +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="./logo.png" alt="awilixify logo" width="220" />
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
|
-
Transport-agnostic, type-safe, modular DI and CQRS framework on top of [Awilix](https://github.com/jeffijoe/awilix)
|
|
5
|
+
Transport-agnostic, type-safe, modular DI and CQRS framework on top of [Awilix](https://github.com/jeffijoe/awilix).
|
|
6
6
|
|
|
7
7
|
[](https://github.com/awilixify/awilixify/actions)
|
|
8
8
|
[](https://codecov.io/gh/awilixify/awilixify)
|
|
@@ -19,7 +19,7 @@ Transport-agnostic, type-safe, modular DI and CQRS framework on top of [Awilix](
|
|
|
19
19
|
|
|
20
20
|
- **Type-Safe Module System** - Complete type safety for each provider in module
|
|
21
21
|
- **Transport Agnostic** - Works with Express, Fastify, Queues, Rabbit or any other tranport
|
|
22
|
-
- **Fullstack Module Model** - Reuse the same DI module mechanism in Node.js and React applications
|
|
22
|
+
- **Fullstack Module Model** - Reuse the same DI module mechanism in Node.js and React applications through `@awilixify/react`
|
|
23
23
|
- **Powerful CQRS** - Type-safe query/command handlers with middleware pipeline, per-module mediators, and contract-based execution
|
|
24
24
|
- **Type-Level Middleware Composition** - Compose and inherit middleware with end-to-end type safety
|
|
25
25
|
- **No Experimental Decorators Required** - Uses native ES decorators (TC39 Stage 3) for routing without `reflect-metadata`
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./lib/decorators/decorator-state.js";
|
|
2
|
-
export type { DecoratorToken } from "./lib/decorators/decorator-state.types.js";
|
|
2
|
+
export type { DecoratorState, DecoratorToken, } from "./lib/decorators/decorator-state.types.js";
|
|
3
3
|
export type { ModuleScope } from "./lib/di/contexts/container-context-base.js";
|
|
4
4
|
export * from "./lib/di/contexts/di-context.js";
|
|
5
5
|
export * from "./lib/di/contexts/di-context-async.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { EmptyObject } from "../di/common.types.js";
|
|
2
|
+
export { ContainerContextBase, type ContainerContextOptions, type ModuleScope, type RegisteredModuleScope, } from "../di/contexts/container-context-base.js";
|
|
3
|
+
export type { ModuleImport } from "../di/modules/module.types.js";
|
|
4
|
+
export type { GlobalDependencies, NormalizeGlobalDependencies, } from "../di/modules/module-def.types.js";
|
|
5
|
+
export type { InternalModuleLike as RuntimeModuleLike } from "../di/modules/runtime-module.types.js";
|
|
6
|
+
export type { DefProviderMap, Provider, } from "../di/providers/provider.types.js";
|
|
7
|
+
export { ProviderResolver } from "../di/providers/provider-resolver.js";
|