micronodelib 1.0.10 → 1.0.12
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 +4 -3
- package/dist/index.d.ts +1 -1
- package/dist/logging/logger.d.ts +3 -2
- package/package.json +4 -1
package/README.md
CHANGED
@@ -63,6 +63,7 @@ This package has been published at: https://www.npmjs.com/package/micronodelib
|
|
63
63
|
If you want to push new change to this, follow the following steps:
|
64
64
|
|
65
65
|
1. Make change your code
|
66
|
-
2.
|
67
|
-
3.
|
68
|
-
4.
|
66
|
+
2. Run `npm run build` to build package
|
67
|
+
3. Update version in [package.json](./package.json)
|
68
|
+
4. Push new update to `main` remote branch.
|
69
|
+
5. Run `npm publish` to publish your changes.
|
package/dist/index.d.ts
CHANGED
package/dist/logging/logger.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
export
|
1
|
+
export interface LoggerInterface {
|
2
2
|
log: (level: string, message: any, ...args: any[]) => void;
|
3
3
|
error: (message: any, ...args: any[]) => void;
|
4
4
|
warn: (message: any, ...args: any[]) => void;
|
5
5
|
info: (message: any, ...args: any[]) => void;
|
6
6
|
debug: (message: any, ...args: any[]) => void;
|
7
|
-
}
|
7
|
+
}
|
8
|
+
export declare const Logger: LoggerInterface;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "micronodelib",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.12",
|
4
4
|
"description": "Common core for NodeJs project",
|
5
5
|
"author": "Thang Bui",
|
6
6
|
"license": "MIT",
|
@@ -9,6 +9,9 @@
|
|
9
9
|
"files": [
|
10
10
|
"/dist"
|
11
11
|
],
|
12
|
+
"scripts": {
|
13
|
+
"build": "tsc"
|
14
|
+
},
|
12
15
|
"dependencies": {
|
13
16
|
"express-http-context": "^1.2.4",
|
14
17
|
"express-winston": "^4.2.0",
|