-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pre-handlers): some issues of
review
feedbacks
Co-authored-by: Ali Mihandoost <[email protected]>
- Loading branch information
1 parent
5f95120
commit 72ad94b
Showing
4 changed files
with
10 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@alwatr/pre-handlers", | ||
"version": "1.0.0", | ||
"version": "1.0.0-0", | ||
"description": "Functions that will run before processing every defined route.", | ||
"author": "S. Ali Mihandoost <[email protected]>", | ||
"keywords": [ | ||
|
@@ -60,14 +60,14 @@ | |
"clean": "rm -rfv dist *.tsbuildinfo" | ||
}, | ||
"dependencies": { | ||
"@alwatr/nanolib": "^1.3.0", | ||
"@alwatr/nanotron-api-server": "workspace:^" | ||
"@alwatr/nanolib": "^1.3.0" | ||
}, | ||
"devDependencies": { | ||
"@alwatr/nano-build": "^2.0.2", | ||
"@alwatr/prettier-config": "^1.0.6", | ||
"@alwatr/tsconfig-base": "^1.3.2", | ||
"@alwatr/type-helper": "^2.0.2", | ||
"@alwatr/nanotron-api-server": "workspace:^", | ||
"@types/node": "^22.7.5", | ||
"jest": "^29.7.0", | ||
"typescript": "^5.6.3" | ||
|
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,3 +1,5 @@ | ||
import {createLogger} from '@alwatr/nanolib'; | ||
import {createLogger, packageTracer} from '@alwatr/nanolib'; | ||
|
||
__dev_mode__: packageTracer.add(__package_name__, __package_version__); | ||
|
||
export const logger = /* #__PURE__ */ createLogger(__package_name__); |
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,5 +1,3 @@ | ||
import {packageTracer} from '@alwatr/nanolib'; | ||
|
||
export * from './parse-body-as-json.js'; | ||
|
||
__dev_mode__: packageTracer.add(__package_name__, __package_version__); | ||
|
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