mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
Update to TypeScript 3.5.x
This commit is contained in:
parent
9427aedf44
commit
1d86a2a773
|
@ -54,7 +54,7 @@
|
|||
"sails-disk": "^1.0.1",
|
||||
"ts-jest": "^23.10.1",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "~3.3.0"
|
||||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"body-parser": "^1.18.3",
|
||||
|
|
|
@ -61,8 +61,12 @@ export async function init(): Promise<IDatabaseCollections> {
|
|||
|
||||
await createConnection(connectionOptions);
|
||||
|
||||
// TODO: Fix that properly
|
||||
// @ts-ignore
|
||||
collections.Credentials = getRepository(entities.CredentialsEntity);
|
||||
// @ts-ignore
|
||||
collections.Execution = getRepository(entities.ExecutionEntity);
|
||||
// @ts-ignore
|
||||
collections.Workflow = getRepository(entities.WorkflowEntity);
|
||||
|
||||
return collections;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"source-map-support": "^0.5.9",
|
||||
"ts-jest": "^23.10.1",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "~3.3.0"
|
||||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-js": "^3.1.9-1",
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"@vue/cli-plugin-babel": "^3.8.0",
|
||||
"@vue/cli-plugin-e2e-cypress": "^3.8.0",
|
||||
"@vue/cli-plugin-eslint": "^3.8.0",
|
||||
"@vue/cli-plugin-typescript": "~3.2.0",
|
||||
"@vue/cli-plugin-typescript": "~3.8.1",
|
||||
"@vue/cli-plugin-unit-jest": "^3.8.0",
|
||||
"@vue/cli-service": "^3.8.0",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
|
@ -62,7 +62,7 @@
|
|||
"string-template-parser": "^1.2.6",
|
||||
"ts-jest": "^23.10.1",
|
||||
"tslint": "^5.17.0",
|
||||
"typescript": "~3.3.0",
|
||||
"typescript": "~3.5.2",
|
||||
"vue": "^2.6.9",
|
||||
"vue-cli-plugin-webpack-bundle-analyzer": "^1.3.0",
|
||||
"vue-json-pretty": "^1.4.1",
|
||||
|
|
|
@ -62,15 +62,13 @@ export default mixins(nodeBase).extend({
|
|||
NodeIcon,
|
||||
},
|
||||
computed: {
|
||||
workflowResultDataNode (): ITaskData[] | null {
|
||||
return this.$store.getters.getWorkflowResultDataByNodeName(this.data.name);
|
||||
},
|
||||
workflowDataItems () {
|
||||
if (this.workflowResultDataNode === null) {
|
||||
const workflowResultDataNode = this.$store.getters.getWorkflowResultDataByNodeName(this.data.name);
|
||||
if (workflowResultDataNode === null) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return this.workflowResultDataNode.length;
|
||||
return workflowResultDataNode.length;
|
||||
},
|
||||
isExecuting (): boolean {
|
||||
return this.$store.getters.executingNode === this.data.name;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"n8n-core": "^0.1.0",
|
||||
"n8n-workflow": "^0.1.0",
|
||||
"replace-in-file": "^4.1.0",
|
||||
"typescript": "~3.3.0",
|
||||
"typescript": "~3.5.2",
|
||||
"vorpal": "^1.12.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
"n8n-workflow": "^0.1.0",
|
||||
"ts-jest": "^23.10.1",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "~3.3.0"
|
||||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"basic-auth": "^2.0.1",
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"jest": "^23.6.0",
|
||||
"ts-jest": "^23.10.1",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "~3.3.0"
|
||||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"lodash.get": "^4.4.2",
|
||||
|
|
Loading…
Reference in a new issue