kayvee 3.16.0 → 3.18.0
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/.eslintrc.js +124 -0
- package/.github/workflows/notify-ci-status.yml +20 -0
- package/.nvmrc +1 -1
- package/.prettierrc.json +1 -0
- package/Makefile +20 -4
- package/build/lib/kayvee.js +13 -17
- package/build/lib/logger/logger.js +84 -76
- package/build/lib/middleware.js +62 -89
- package/build/lib/router/index.js +61 -63
- package/build/package.json +16 -8
- package/build/test/context_logger.js +36 -44
- package/build/test/kayvee.js +16 -16
- package/build/test/logger_test.js +113 -102
- package/build/test/middleware.js +90 -235
- package/build/test/router.js +238 -94
- package/lib/kayvee.ts +19 -7
- package/lib/logger/logger.ts +101 -47
- package/lib/middleware.ts +31 -31
- package/lib/router/index.ts +18 -13
- package/package.json +16 -8
- package/test/context_logger.ts +7 -7
- package/test/kayvee.ts +16 -7
- package/test/logger_test.ts +24 -27
- package/test/middleware.ts +88 -222
- package/test/router.ts +247 -176
- package/tsconfig.json +1 -1
- package/.eslintrc.yml +0 -47
- package/tsd.json +0 -15
- package/tslint.json +0 -134
- package/typings/globals/es6-shim/index.d.ts +0 -666
- package/typings/globals/es6-shim/typings.json +0 -8
- package/typings/index.d.ts +0 -1
- package/typings/mocha/mocha.d.ts +0 -236
- package/typings/node/node.d.ts +0 -2340
- package/typings/tsd.d.ts +0 -2
- package/typings.json +0 -5
package/tslint.json
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"align": [
|
|
4
|
-
true,
|
|
5
|
-
"parameters",
|
|
6
|
-
"statements"
|
|
7
|
-
],
|
|
8
|
-
"ban": false,
|
|
9
|
-
"class-name": true,
|
|
10
|
-
"comment-format": [
|
|
11
|
-
true,
|
|
12
|
-
"check-space"
|
|
13
|
-
],
|
|
14
|
-
"curly": true,
|
|
15
|
-
"eofline": true,
|
|
16
|
-
"forin": false,
|
|
17
|
-
"indent": [
|
|
18
|
-
true,
|
|
19
|
-
"spaces"
|
|
20
|
-
],
|
|
21
|
-
"interface-name": true,
|
|
22
|
-
"jsdoc-format": true,
|
|
23
|
-
"label-position": true,
|
|
24
|
-
"label-undefined": true,
|
|
25
|
-
"max-line-length": [
|
|
26
|
-
true,
|
|
27
|
-
160
|
|
28
|
-
],
|
|
29
|
-
"member-access": false,
|
|
30
|
-
"member-ordering": [
|
|
31
|
-
true,
|
|
32
|
-
"public-before-private",
|
|
33
|
-
"static-before-instance",
|
|
34
|
-
"variables-before-functions"
|
|
35
|
-
],
|
|
36
|
-
"no-any": false,
|
|
37
|
-
"no-arg": true,
|
|
38
|
-
"no-bitwise": true,
|
|
39
|
-
"no-conditional-assignment": true,
|
|
40
|
-
"no-consecutive-blank-lines": false,
|
|
41
|
-
"no-console": [
|
|
42
|
-
true,
|
|
43
|
-
"debug",
|
|
44
|
-
"info",
|
|
45
|
-
"time",
|
|
46
|
-
"timeEnd",
|
|
47
|
-
"trace"
|
|
48
|
-
],
|
|
49
|
-
"no-construct": true,
|
|
50
|
-
"no-constructor-vars": true,
|
|
51
|
-
"no-debugger": true,
|
|
52
|
-
"no-duplicate-key": true,
|
|
53
|
-
"no-duplicate-variable": true,
|
|
54
|
-
"no-empty": true,
|
|
55
|
-
"no-eval": true,
|
|
56
|
-
"no-inferrable-types": false,
|
|
57
|
-
"no-internal-module": true,
|
|
58
|
-
"no-null-keyword": false,
|
|
59
|
-
"no-require-imports": false,
|
|
60
|
-
"no-shadowed-variable": true,
|
|
61
|
-
"no-string-literal": true,
|
|
62
|
-
"no-switch-case-fall-through": true,
|
|
63
|
-
"no-trailing-whitespace": true,
|
|
64
|
-
"no-unreachable": true,
|
|
65
|
-
"no-unused-expression": true,
|
|
66
|
-
"no-unused-variable": true,
|
|
67
|
-
"no-use-before-declare": true,
|
|
68
|
-
"no-var-keyword": false,
|
|
69
|
-
"no-var-requires": false,
|
|
70
|
-
"object-literal-sort-keys": false,
|
|
71
|
-
"one-line": [
|
|
72
|
-
true,
|
|
73
|
-
"check-open-brace",
|
|
74
|
-
"check-catch",
|
|
75
|
-
"check-else",
|
|
76
|
-
"check-finally",
|
|
77
|
-
"check-whitespace"
|
|
78
|
-
],
|
|
79
|
-
"quotemark": [
|
|
80
|
-
true,
|
|
81
|
-
"double",
|
|
82
|
-
"avoid-escape"
|
|
83
|
-
],
|
|
84
|
-
"radix": true,
|
|
85
|
-
"semicolon": [true, "always"],
|
|
86
|
-
"switch-default": true,
|
|
87
|
-
"trailing-comma": [
|
|
88
|
-
true,
|
|
89
|
-
{
|
|
90
|
-
"multiline": "always",
|
|
91
|
-
"singleline": "never"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"triple-equals": [
|
|
95
|
-
true,
|
|
96
|
-
"allow-null-check"
|
|
97
|
-
],
|
|
98
|
-
"typedef-whitespace": [
|
|
99
|
-
true,
|
|
100
|
-
{
|
|
101
|
-
"call-signature": "nospace",
|
|
102
|
-
"index-signature": "nospace",
|
|
103
|
-
"parameter": "nospace",
|
|
104
|
-
"property-declaration": "nospace",
|
|
105
|
-
"variable-declaration": "nospace"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"call-signature": "space",
|
|
109
|
-
"index-signature": "space",
|
|
110
|
-
"parameter": "space",
|
|
111
|
-
"property-declaration": "space",
|
|
112
|
-
"variable-declaration": "space"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"use-strict": [
|
|
116
|
-
false,
|
|
117
|
-
"check-module",
|
|
118
|
-
"check-function"
|
|
119
|
-
],
|
|
120
|
-
"variable-name": [
|
|
121
|
-
true,
|
|
122
|
-
"allow-leading-underscore",
|
|
123
|
-
"ban-keywords"
|
|
124
|
-
],
|
|
125
|
-
"whitespace": [
|
|
126
|
-
true,
|
|
127
|
-
"check-branch",
|
|
128
|
-
"check-decl",
|
|
129
|
-
"check-operator",
|
|
130
|
-
"check-separator",
|
|
131
|
-
"check-type"
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
}
|