Run type check for all web app packages in CI (#22578)

* Fix incorrect usage of types pacakge

* Make platform packages properly expose their type definitions

* Have Boards, Channels, and Playbooks get types from platform packages properly

* Run type check for all web app packages in CI

* Fix incorrect job name
Этот коммит содержится в:
Harrison Healey
2023-03-23 10:10:52 -04:00
коммит произвёл GitHub
родитель 2eb5dac9b7
Коммит 1edbde8aa3
25 изменённых файлов: 58 добавлений и 80 удалений

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

@@ -22,10 +22,8 @@
"jsx": "react",
"baseUrl": "./src",
"useUnknownInCatchVariables": false,
"composite": true,
"paths": {
"@mattermost/client": ["../../platform/client/src"],
"@mattermost/components": ["../../platform/components/src"],
"@mattermost/types/*": ["../../platform/types/src/*"],
"mattermost-redux/*": ["packages/mattermost-redux/src/*"],
"reselect": ["packages/reselect/src"],
"@mui/styled-engine": ["./node_modules/@mui/styled-engine-sc"],
@@ -35,17 +33,12 @@
}
},
"include": [
"./src/**/*"
],
"exclude": [
"dist",
"e2e/cypress",
"e2e/playwright",
"!node_modules/@types",
"coverage"
"./src/**/*",
"./src/**/*.json"
],
"references": [
{"path": "../platform/client"},
{"path": "../platform/components"},
{"path": "../platform/types"}
]
}