fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-29 04:48:34 +02:00
parent 1e022d6c68
commit 4dca98e81d
6 changed files with 4173 additions and 611 deletions

4741
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,14 +15,12 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsbundle": "^2.0.4",
"@gitzone/tstest": "^1.0.71",
"@gitzone/tsbundle": "^2.0.6",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/smartenv": "^5.0.2",
"@pushrocks/smartexpress": "^4.0.5",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.36",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.2"
},
"dependencies": {
"@apiglobal/typedrequest-interfaces": "^1.0.15",
@ -30,7 +28,7 @@
"@pushrocks/lik": "^6.0.0",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/webrequest": "^3.0.7"
"@pushrocks/webrequest": "^3.0.9"
},
"files": [
"ts/**/*",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedrequest',
version: '2.0.7',
version: '2.0.8',
description: 'make typed requests towards apis'
}

View File

@ -32,7 +32,7 @@ export class TypedHandler<T extends plugins.typedRequestInterfaces.ITypedRequest
if (e instanceof TypedResponseError) {
typedResponseError = e;
} else {
throw e;
console.log(e);
}
});

10
tsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext",
"esModuleInterop": true
}
}

View File

@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}