@anarchitects/identity-nest
NestJS facade and layer entry points for the Anarchitecture identity domain.
Developer + AI Agent Start Here
- Start with
IdentityModule.forRoot()orIdentityModule.forRootFromConfig()from the root entry point. - Keep runtime behavior minimal until identity-specific application and persistence work lands.
- Import advanced composition surfaces through public secondary entry points only.
Features
- Root facade module with
forRootandforRootFromConfig - Explicit
application,presentation,infrastructure, andconfigentry points - Placeholder layering that preserves the repo's Nest package shape without adding API behavior
Installation
npm install @anarchitects/identity-nest
# or
yarn add @anarchitects/identity-nest
# or
pnpm add @anarchitects/identity-nest
Exports
| Import path | Description |
|---|---|
@anarchitects/identity-nest |
Root facade module and convenience re-exports |
@anarchitects/identity-nest/application |
Application-layer placeholder module |
@anarchitects/identity-nest/presentation |
Presentation-layer placeholder module |
@anarchitects/identity-nest/infrastructure |
Infrastructure-layer placeholder module |
@anarchitects/identity-nest/config |
Typed config namespace and module option helpers |
Usage
import { Module } from '@nestjs/common';
import { IdentityModule } from '@anarchitects/identity-nest';
@Module({
imports: [IdentityModule.forRoot()],
})
export class AppModule {}
Scripts
yarn nx run identity-nest:buildyarn nx run identity-nest:test
Development notes
- This package intentionally contains no controllers, endpoints, or persistence adapters in issue
#310. - Future identity runtime behavior should extend the published layer entry points instead of introducing deep imports.
Contributing
Keep presentation -> application <- infrastructure boundaries intact and add new behavior through the published entry points.
License
Licensed under the Apache License, Version 2.0.