Skip to content

Commit 219c486

Browse files
committed
fix: update @gedai/core to @gedai/nestjs-core
1 parent 1a8089f commit 219c486

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Description
22

3-
Opionated common configuration for NestJS services. This package depends on @gedai/core and @nestjs/config. Be sure to install and setup those for everything to work as expected.
3+
Opionated common configuration for NestJS services. This package depends on @gedai/nestjs-core and @nestjs/config. Be sure to install and setup those for everything to work as expected.
44

55
## Configuration:
66

@@ -22,7 +22,7 @@ INSPECT_HTTP_TRAFFIC="{all,none,inbound,outbound}"
2222
### Step 1: Installation
2323

2424
```bash
25-
$ npm install @gedai/core @gedai/common @nestjs/config
25+
$ npm install @gedai/nestjs-core @gedai/common @nestjs/config
2626
```
2727

2828
### Step 2: The Setup
@@ -31,7 +31,7 @@ Import the required modules
3131

3232
```typescript
3333
// app.module.ts
34-
import { ContextModule } from '@gedai/core';
34+
import { ContextModule } from '@gedai/nestjs-core';
3535
import { Module } from '@nestjs/common';
3636
import { ConfigModule } from '@nestjs/config';
3737
import { randomUUID } from 'crypto';
@@ -55,7 +55,7 @@ Apply global wide configuration in main.ts
5555

5656
```typescript
5757
// app.module.ts
58-
import { configureContextWrappers } from '@gedai/core';
58+
import { configureContextWrappers } from '@gedai/nestjs-core';
5959
import { configureLogger } from '@gedai/common';
6060
import { NestFactory } from '@nestjs/core';
6161
import { AppModule } from './app.module';
@@ -77,7 +77,7 @@ You can now use the Nest's default logger with preconfigured setup.
7777

7878
```typescript
7979
// app.service.ts
80-
import { ContextService } from '@gedai/core';
80+
import { ContextService } from '@gedai/nestjs-core';
8181
import { Injectable } from '@nestjs/common';
8282

8383
@Injectable()

src/logger/logger.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Context, ContextService } from '@gedai/core';
1+
import { Context, ContextService } from '@gedai/nestjs-core';
22
import { INestApplication, Logger } from '@nestjs/common';
33
import { ConfigService } from '@nestjs/config';
44
import {

0 commit comments

Comments
 (0)