mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-24 04:31:31 +03:00
chore: upgrade to TypeScript 5+
This commit is contained in:
parent
eb026cb74a
commit
f6077d58f1
14
package.json
14
package.json
@ -105,13 +105,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nlpjs/utils": "4.24.1",
|
"@nlpjs/utils": "4.24.1",
|
||||||
"@swc/core": "1.3.14",
|
"@swc/core": "1.3.14",
|
||||||
"@tsconfig/node16-strictest": "1.0.3",
|
"@tsconfig/node16-strictest": "1.0.4",
|
||||||
"@types/cli-spinner": "0.2.1",
|
"@types/cli-spinner": "0.2.1",
|
||||||
"@types/fluent-ffmpeg": "2.1.20",
|
"@types/fluent-ffmpeg": "2.1.20",
|
||||||
"@types/node": "18.7.13",
|
"@types/node": "18.7.13",
|
||||||
"@types/node-wav": "0.0.0",
|
"@types/node-wav": "0.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "5.36.1",
|
"@typescript-eslint/eslint-plugin": "5.55.0",
|
||||||
"@typescript-eslint/parser": "5.36.1",
|
"@typescript-eslint/parser": "5.55.0",
|
||||||
"cli-spinner": "0.2.10",
|
"cli-spinner": "0.2.10",
|
||||||
"eslint": "8.22.0",
|
"eslint": "8.22.0",
|
||||||
"eslint-config-prettier": "8.5.0",
|
"eslint-config-prettier": "8.5.0",
|
||||||
@ -128,13 +128,13 @@
|
|||||||
"lint-staged": "13.0.3",
|
"lint-staged": "13.0.3",
|
||||||
"nodemon": "2.0.19",
|
"nodemon": "2.0.19",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"resolve-tspaths": "0.7.4",
|
"resolve-tspaths": "0.8.8",
|
||||||
"semver": "7.3.5",
|
"semver": "7.3.5",
|
||||||
"shx": "0.3.3",
|
"shx": "0.3.3",
|
||||||
"ts-node": "10.9.1",
|
"ts-node": "10.9.1",
|
||||||
"tsc-watch": "5.0.3",
|
"tsc-watch": "6.0.0",
|
||||||
"tsconfig-paths": "4.1.0",
|
"tsconfig-paths": "4.1.2",
|
||||||
"typescript": "4.9.3",
|
"typescript": "5.0.2",
|
||||||
"vite": "3.0.9"
|
"vite": "3.0.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,6 @@ import { version } from '@@/package.json'
|
|||||||
import { HAS_LOGGER, IS_TESTING_ENV, TCP_SERVER_BIN_PATH } from '@/constants'
|
import { HAS_LOGGER, IS_TESTING_ENV, TCP_SERVER_BIN_PATH } from '@/constants'
|
||||||
import { TCP_CLIENT, BRAIN, SOCKET_SERVER, MODEL_LOADER, NER } from '@/core'
|
import { TCP_CLIENT, BRAIN, SOCKET_SERVER, MODEL_LOADER, NER } from '@/core'
|
||||||
import { LogHelper } from '@/helpers/log-helper'
|
import { LogHelper } from '@/helpers/log-helper'
|
||||||
import { StringHelper } from '@/helpers/string-helper'
|
|
||||||
import { LangHelper } from '@/helpers/lang-helper'
|
import { LangHelper } from '@/helpers/lang-helper'
|
||||||
import Conversation from '@/core/conversation'
|
import Conversation from '@/core/conversation'
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"@@/*": ["./*"],
|
"@@/*": ["./*"],
|
||||||
"@/*": ["./server/src/*"]
|
"@/*": ["./server/src/*"]
|
||||||
},
|
},
|
||||||
|
"ignoreDeprecations": "5.0",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true
|
||||||
|
Loading…
Reference in New Issue
Block a user