@diamir/nestjs-process 11.0.0 → 11.0.2
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 +13 -8
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
<a href="https://webundsoehne.com" target="blank">
|
|
3
|
-
<img src="https://webundsoehne.com/wp-content/uploads/webundsoehne-logo.png" width="320" alt="Web und Söhne - Logo" />
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
Web & Söhne is Austria's leading expert in programming and implementing complex and large web projects.
|
|
1
|
+
# nestjs-process
|
|
7
2
|
|
|
8
|
-
|
|
3
|
+
## Description
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
Bunch of general process utils used to set default header and environment variables.
|
|
6
|
+
|
|
7
|
+
---
|
|
11
8
|
|
|
12
9
|
<!-- TOC -->
|
|
13
10
|
* [nestjs-process](#nestjs-process)
|
|
11
|
+
* [Description](#description)
|
|
14
12
|
* [SetApiInfoHeaderMiddleware](#setapiinfoheadermiddleware)
|
|
15
13
|
* [setEnvironmentVariables](#setenvironmentvariables)
|
|
16
14
|
* [requireNodeEnv](#requirenodeenv)
|
|
17
15
|
* [registerExitListeners](#registerexitlisteners)
|
|
16
|
+
* [Links](#links)
|
|
18
17
|
<!-- TOC -->
|
|
19
18
|
|
|
19
|
+
---
|
|
20
|
+
|
|
20
21
|
## SetApiInfoHeaderMiddleware
|
|
21
22
|
|
|
22
23
|
NestJs middleware to set
|
|
@@ -41,3 +42,7 @@ Throw error if `process.env.NODE_ENV` is not set
|
|
|
41
42
|
## registerExitListeners
|
|
42
43
|
|
|
43
44
|
Register `SIGTERM` and `SIGINT` listener
|
|
45
|
+
|
|
46
|
+
# Links
|
|
47
|
+
- [Diamir](https://diamir.io/)
|
|
48
|
+
- [nestjs](https://nestjs.com/)
|
package/package.json
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diamir/nestjs-process",
|
|
3
|
-
"version": "11.0.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "11.0.2",
|
|
4
|
+
"description": "Nestjs process, environment and header utils",
|
|
5
5
|
"author": "Backend <backend@diamir.io>",
|
|
6
6
|
"repository": "https://github.com/tailoredmedia/backend-nx-skeleton",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"keywords": [
|
|
11
|
+
"keywords": [
|
|
12
|
+
"diamir",
|
|
13
|
+
"nestjs",
|
|
14
|
+
"process",
|
|
15
|
+
"environment",
|
|
16
|
+
"header"
|
|
17
|
+
],
|
|
12
18
|
"main": "./src/index.js",
|
|
13
19
|
"dependencies": {},
|
|
14
20
|
"peerDependencies": {
|