@tsed/terminus 6.102.7 → 6.102.8
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/lib/cjs/index.js +6 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/interfaces.js +3 -0
- package/lib/cjs/interfaces/interfaces.js.map +1 -0
- package/lib/cjs/package.json +3 -0
- package/lib/esm/index.js +8 -4
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/interfaces.js +2 -0
- package/lib/esm/interfaces/interfaces.js.map +1 -0
- package/lib/esm/package.json +3 -0
- package/lib/types/index.d.ts +6 -2
- package/lib/types/interfaces/{index.d.ts → interfaces.d.ts} +0 -1
- package/package.json +12 -10
- package/readme.md +0 -2
- package/lib/cjs/interfaces/index.js +0 -5
- package/lib/cjs/interfaces/index.js.map +0 -1
- package/lib/esm/interfaces/index.js +0 -2
- package/lib/esm/interfaces/index.js.map +0 -1
package/lib/cjs/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file Automatically generated by barrelsby.
|
|
4
|
+
*/
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const tslib_1 = require("tslib");
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./TerminusModule"), exports);
|
|
4
8
|
(0, tslib_1.__exportStar)(require("./decorators/health"), exports);
|
|
5
9
|
(0, tslib_1.__exportStar)(require("./decorators/shutdown"), exports);
|
|
6
|
-
(0, tslib_1.__exportStar)(require("./interfaces"), exports);
|
|
7
|
-
(0, tslib_1.__exportStar)(require("./
|
|
10
|
+
(0, tslib_1.__exportStar)(require("./interfaces/TerminusSettings"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("./interfaces/interfaces"), exports);
|
|
8
12
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gEAAiC;AACjC,mEAAoC;AACpC,qEAAsC;AACtC,6EAA8C;AAC9C,uEAAwC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./decorators/shutdown\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {TerminusSettings} from \"./TerminusSettings\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n terminus: TerminusSettings;\n }\n }\n}\n"]}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export * from "./TerminusModule";
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./TerminusModule.js";
|
|
5
|
+
export * from "./decorators/health.js";
|
|
6
|
+
export * from "./decorators/shutdown.js";
|
|
7
|
+
export * from "./interfaces/TerminusSettings.js";
|
|
8
|
+
export * from "./interfaces/interfaces.js";
|
|
5
9
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./TerminusModule\";\nexport * from \"./decorators/health\";\nexport * from \"./decorators/shutdown\";\nexport * from \"./interfaces/TerminusSettings\";\nexport * from \"./interfaces/interfaces\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {TerminusSettings} from \"./TerminusSettings\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n terminus: TerminusSettings;\n }\n }\n}\n"]}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./TerminusModule";
|
|
1
5
|
export * from "./decorators/health";
|
|
2
6
|
export * from "./decorators/shutdown";
|
|
3
|
-
export * from "./interfaces";
|
|
4
|
-
export * from "./
|
|
7
|
+
export * from "./interfaces/TerminusSettings";
|
|
8
|
+
export * from "./interfaces/interfaces";
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/terminus",
|
|
3
|
-
"version": "6.102.
|
|
3
|
+
"version": "6.102.8",
|
|
4
4
|
"description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.",
|
|
5
5
|
"author": "Romain Lenzotti",
|
|
6
6
|
"private": false,
|
|
7
7
|
"source": "./src/index.ts",
|
|
8
8
|
"main": "./lib/cjs/index.js",
|
|
9
|
+
"module": "./lib/esm/index.js",
|
|
9
10
|
"typings": "./lib/types/index.d.ts",
|
|
10
11
|
"exports": {
|
|
11
12
|
"types": "./lib/types/index.d.ts",
|
|
@@ -14,9 +15,10 @@
|
|
|
14
15
|
"default": "./lib/esm/index.js"
|
|
15
16
|
},
|
|
16
17
|
"scripts": {
|
|
17
|
-
"build": "yarn run build:esm && yarn run build:cjs",
|
|
18
|
+
"build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
|
|
18
19
|
"build:cjs": "tsc --build tsconfig.compile.json",
|
|
19
20
|
"build:esm": "tsc --build tsconfig.compile.esm.json",
|
|
21
|
+
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
|
|
20
22
|
"start": "ts-node -r tsconfig-paths/register test/app/index.ts"
|
|
21
23
|
},
|
|
22
24
|
"dependencies": {
|
|
@@ -24,16 +26,16 @@
|
|
|
24
26
|
"tslib": "2.2.0"
|
|
25
27
|
},
|
|
26
28
|
"devDependencies": {
|
|
27
|
-
"@tsed/core": "6.102.
|
|
28
|
-
"@tsed/di": "6.102.
|
|
29
|
-
"@tsed/openspec": "6.102.
|
|
30
|
-
"@tsed/schema": "6.102.
|
|
29
|
+
"@tsed/core": "6.102.8",
|
|
30
|
+
"@tsed/di": "6.102.8",
|
|
31
|
+
"@tsed/openspec": "6.102.8",
|
|
32
|
+
"@tsed/schema": "6.102.8"
|
|
31
33
|
},
|
|
32
34
|
"peerDependencies": {
|
|
33
|
-
"@tsed/core": "^6.102.
|
|
34
|
-
"@tsed/di": "^6.102.
|
|
35
|
-
"@tsed/openspec": "^6.102.
|
|
36
|
-
"@tsed/schema": "^6.102.
|
|
35
|
+
"@tsed/core": "^6.102.8",
|
|
36
|
+
"@tsed/di": "^6.102.8",
|
|
37
|
+
"@tsed/openspec": "^6.102.8",
|
|
38
|
+
"@tsed/schema": "^6.102.8"
|
|
37
39
|
},
|
|
38
40
|
"repository": "https://github.com/tsedio/tsed",
|
|
39
41
|
"bugs": {
|
package/readme.md
CHANGED
|
@@ -43,10 +43,8 @@ Then import `@tsed/terminus` and add the following configuration in your `Server
|
|
|
43
43
|
import {Configuration} from "@tsed/common";
|
|
44
44
|
import "@tsed/terminus"; // import terminus Ts.ED module
|
|
45
45
|
import {resolve} from "path";
|
|
46
|
-
const rootDir = resolve(__dirname);
|
|
47
46
|
|
|
48
47
|
@Configuration({
|
|
49
|
-
rootDir,
|
|
50
48
|
terminus: {
|
|
51
49
|
// ... see Terminus configuration options on https://github.com/godaddy/terminus
|
|
52
50
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":";;;AAUA,kEAAmC","sourcesContent":["import {TerminusSettings} from \"./TerminusSettings\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n terminus: TerminusSettings;\n }\n }\n}\n\nexport * from \"./TerminusSettings\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAUA,cAAc,oBAAoB,CAAC","sourcesContent":["import {TerminusSettings} from \"./TerminusSettings\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n terminus: TerminusSettings;\n }\n }\n}\n\nexport * from \"./TerminusSettings\";\n"]}
|