Upgrade web app and pacakges to TypeScript 5.3.3 (#26354)

Этот коммит содержится в:
Harrison Healey
2024-03-04 16:07:39 -05:00
коммит произвёл GitHub
родитель d5446cd25e
Коммит 5740b43922
11 изменённых файлов: 325 добавлений и 420 удалений

Просмотреть файл

@@ -20,9 +20,13 @@
"dependencies": {
"form-data": "^4.0.0"
},
"devDependencies": {
"jest": "27.1.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"@mattermost/types": "*",
"typescript": "^4.3"
"@mattermost/types": "9.3.0",
"typescript": "^4.3.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
@@ -35,8 +39,5 @@
"test": "jest",
"test-ci": "jest --ci --forceExit --detectOpenHandles --maxWorkers=100%",
"clean": "rm -rf lib node_modules tsconfig.tsbuildinfo"
},
"devDependencies": {
"jest": "27.1.0"
}
}

Просмотреть файл

@@ -18,7 +18,7 @@
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.1",
"@rollup/plugin-typescript": "11.1.6",
"@testing-library/jest-dom": "5.16.4",
"@types/lodash": "^4.14.178",
"@types/react": "^17.0.71",
@@ -31,8 +31,7 @@
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-ts": "^2.0.5",
"typescript": "^4.3.4"
"typescript": "^5.0.0"
},
"peerDependencies": {
"@babel/runtime-corejs3": "^7.17.8",
@@ -45,7 +44,7 @@
"react": "^17.0.2",
"react-bootstrap": "github:mattermost/react-bootstrap#d821e2b1db1059bd36112d7587fd1b0912b27626",
"react-dom": "^17.0.2",
"react-intl": "^6.3.2",
"react-intl": "*",
"shallow-equals": "^1.0.0",
"styled-components": "^5.3.5",
"tippy.js": "^6.3.7"

Просмотреть файл

@@ -25,8 +25,11 @@
"url": "github:mattermost/mattermost-server",
"directory": "webapp/platform/types"
},
"devDependencies": {
"typescript": "^5.0.0"
},
"peerDependencies": {
"typescript": "^4.3"
"typescript": "^4.3.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"typescript": {