Skip to content

Commit

Permalink
docs: Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed Jan 7, 2025
1 parent ff3ad20 commit f1c27ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ const app = await NestFactory.create(AppModule, {

### Context Candidates

- https://github.com/Papooch/nestjs-cls
- https://github.com/nestjs-steroids/async-context
- https://github.com/yort-feng/http-context-nodejs
- https://github.com/abonifacio/nestjs-request-context
- https://github.com/medibloc/nestjs-request-context
- https://gist.github.com/bengry/924a9b93c25d8a98bffdfc0a847f0dbe

## License

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/unlight/nestolog#readme",
"scripts": {
"testapp": "ts-node src/test-app",
"testapp": "ts-node-dev app/main.ts",
"test": "npm run eslint && npm run tscheck && npm run test:cov",
"test:r": "vitest run src",
"test:cov": "vitest run src --coverage",
Expand Down Expand Up @@ -105,6 +105,7 @@
"rxjs": "^7.8.1",
"semantic-release": "^24.2.1",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.1",
Expand Down
4 changes: 3 additions & 1 deletion src/nestolog.module-definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import { NestologOptions } from './nestolog-options';
export const { ConfigurableModuleClass, MODULE_OPTIONS_TOKEN } =
new ConfigurableModuleBuilder<Partial<NestologOptions>>({
optionsInjectionToken: 'NESTOLOG_OPTIONS',
}).build();
})
.setClassMethodName('forRoot')
.build();
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ts-node": {
"swc": true,
"swc": false,
"transpileOnly": true,
"compilerOptions": {
"target": "ES2022",
Expand All @@ -27,5 +27,5 @@
"skipLibCheck": true,
"lib": ["esnext"]
},
"include": ["src"]
"include": ["src", "app"]
}

0 comments on commit f1c27ca

Please sign in to comment.