@ikonintegration/ikapi 5.0.15 → 5.1.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/.github/workflows/npmpublish.yml +3 -3
- package/.github/workflows/prs.yml +1 -1
- package/README.md +1 -2
- package/dist/package-lock.json +3629 -3011
- package/dist/package.json +48 -48
- package/dist/src/Cache/Redis.js +18 -9
- package/dist/src/Cache/Redis.js.map +1 -1
- package/dist/src/Mailer/Mailer.d.ts +8 -0
- package/dist/src/Mailer/Mailer.js +28 -7
- package/dist/src/Mailer/Mailer.js.map +1 -1
- package/eslint.config.cjs +97 -0
- package/package.json +48 -48
- package/src/Cache/Redis.ts +18 -9
- package/src/Config/Configuration.ts +1 -1
- package/src/Mailer/Mailer.ts +37 -7
- package/tsconfig.json +12 -7
- package/tsconfig.smoke.json +2 -6
- package/.eslintrc.cjs +0 -82
package/tsconfig.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"exclude": [
|
|
2
|
+
"exclude": [
|
|
3
|
+
"**/*.test.*",
|
|
4
|
+
"**/__mocks__/*",
|
|
5
|
+
"**/__tests__/*",
|
|
6
|
+
"**/tests/*",
|
|
7
|
+
"./dist/**/*",
|
|
8
|
+
"./smoke-tests/**/*",
|
|
9
|
+
"./jest*",
|
|
10
|
+
"./node_modules"
|
|
11
|
+
],
|
|
3
12
|
"include": ["./**/*", "./package.json", "./package-lock.json"],
|
|
4
13
|
"compilerOptions": {
|
|
5
|
-
"lib": [
|
|
6
|
-
"es5",
|
|
7
|
-
"es6",
|
|
8
|
-
"dom"
|
|
9
|
-
],
|
|
14
|
+
"lib": ["es5", "es6", "dom"],
|
|
10
15
|
"module": "esnext",
|
|
11
16
|
"target": "es6",
|
|
12
17
|
"moduleResolution": "node",
|
|
@@ -23,4 +28,4 @@
|
|
|
23
28
|
"strictNullChecks": true,
|
|
24
29
|
"noErrorTruncation": true
|
|
25
30
|
}
|
|
26
|
-
}
|
|
31
|
+
}
|
package/tsconfig.smoke.json
CHANGED
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
"exclude": ["./dist/**/*", "./smoke-tests/**/*", "./node_modules", "./**/Logger.test.*"],
|
|
3
3
|
"include": ["./**/*", "./package.json", "./package-lock.json"],
|
|
4
4
|
"compilerOptions": {
|
|
5
|
-
"lib": [
|
|
6
|
-
"es5",
|
|
7
|
-
"es6",
|
|
8
|
-
"dom"
|
|
9
|
-
],
|
|
5
|
+
"lib": ["es5", "es6", "dom"],
|
|
10
6
|
"module": "esnext",
|
|
11
7
|
"target": "es6",
|
|
12
8
|
"moduleResolution": "node",
|
|
@@ -23,4 +19,4 @@
|
|
|
23
19
|
"strictNullChecks": true,
|
|
24
20
|
"noErrorTruncation": true
|
|
25
21
|
}
|
|
26
|
-
}
|
|
22
|
+
}
|
package/.eslintrc.cjs
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/* eslint-env node */
|
|
2
|
-
module.exports = {
|
|
3
|
-
extends: [
|
|
4
|
-
'eslint:recommended',
|
|
5
|
-
'plugin:@typescript-eslint/recommended',
|
|
6
|
-
'plugin:prettier/recommended',
|
|
7
|
-
'plugin:import/recommended',
|
|
8
|
-
'plugin:import/typescript',
|
|
9
|
-
'plugin:require-extensions/recommended',
|
|
10
|
-
'prettier',
|
|
11
|
-
],
|
|
12
|
-
parser: '@typescript-eslint/parser',
|
|
13
|
-
plugins: ['@typescript-eslint', 'prettier', 'require-extensions'],
|
|
14
|
-
root: true,
|
|
15
|
-
rules: {
|
|
16
|
-
'import/extensions': ['error', 'always'],
|
|
17
|
-
'prettier/prettier': [
|
|
18
|
-
'error',
|
|
19
|
-
{
|
|
20
|
-
tabWidth: 2,
|
|
21
|
-
useTabs: false,
|
|
22
|
-
bracketSameLine: false,
|
|
23
|
-
semi: false,
|
|
24
|
-
arrowParens: 'avoid',
|
|
25
|
-
jsxSingleQuote: true,
|
|
26
|
-
printWidth: 100,
|
|
27
|
-
singleQuote: true,
|
|
28
|
-
quoteProps: 'as-needed',
|
|
29
|
-
htmlWhitespaceSensitivity: 'css',
|
|
30
|
-
proseWrap: 'preserve',
|
|
31
|
-
bracketSpacing: true,
|
|
32
|
-
embeddedLanguageFormatting: 'auto',
|
|
33
|
-
endOfLine: 'lf',
|
|
34
|
-
trailingComma: 'es5',
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
'@typescript-eslint/ban-ts-comment': 0,
|
|
38
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
39
|
-
'@typescript-eslint/explicit-member-accessibility': [
|
|
40
|
-
'error',
|
|
41
|
-
{
|
|
42
|
-
accessibility: 'explicit',
|
|
43
|
-
overrides: {
|
|
44
|
-
accessors: 'explicit',
|
|
45
|
-
constructors: 'no-public',
|
|
46
|
-
methods: 'explicit',
|
|
47
|
-
properties: 'explicit',
|
|
48
|
-
parameterProperties: 'explicit',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
'lines-between-class-members': [
|
|
53
|
-
'error',
|
|
54
|
-
{
|
|
55
|
-
enforce: [{ blankLine: 'always', prev: 'method', next: 'method' }],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
// turn on errors for missing imports
|
|
59
|
-
'import/no-unresolved': ['error', { ignore: ['\\.js$'] }],
|
|
60
|
-
// 'import/no-named-as-default-member': 'off',
|
|
61
|
-
'import/order': [
|
|
62
|
-
'error',
|
|
63
|
-
{
|
|
64
|
-
groups: [
|
|
65
|
-
'builtin', // Built-in imports (come from NodeJS native) go first
|
|
66
|
-
'external', // <- External imports
|
|
67
|
-
'internal', // <- Absolute imports
|
|
68
|
-
['sibling', 'parent'], // <- Relative imports, the sibling and parent types they can be mingled together
|
|
69
|
-
'index', // <- index imports
|
|
70
|
-
'unknown', // <- unknown
|
|
71
|
-
],
|
|
72
|
-
'newlines-between': 'always',
|
|
73
|
-
alphabetize: {
|
|
74
|
-
/* sort in ascending order. Options: ["ignore", "asc", "desc"] */
|
|
75
|
-
order: 'asc',
|
|
76
|
-
/* ignore case. Options: [true, false] */
|
|
77
|
-
caseInsensitive: true,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
}
|