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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2eb5dac9b7
Коммит
1edbde8aa3
@@ -18,25 +18,18 @@
|
||||
"sourceMap": true,
|
||||
"allowJs": true,
|
||||
"resolveJsonModule": true,
|
||||
"incremental": false,
|
||||
"baseUrl": ".",
|
||||
"outDir": "dist",
|
||||
"noEmit": true,
|
||||
"typeRoots": [ "./src/types", "./node_modules/@types"],
|
||||
"paths": {
|
||||
"@mattermost/types/*": ["../platform/packages/types/src/*"],
|
||||
"@mattermost/client": ["../platform/client/src"],
|
||||
"@mattermost/components": ["../platform/components/src"],
|
||||
// "mattermost-redux/*": ["../channels/src/packages/mattermost-redux/src/*"],
|
||||
// "reselect": ["../channels/src/packages/reselect/src"]
|
||||
}
|
||||
"composite": true
|
||||
},
|
||||
"include": [
|
||||
"**/*"
|
||||
"./i18n/*.json",
|
||||
"./src/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
".git",
|
||||
"!node_modules/@types",
|
||||
"dist",
|
||||
"references": [
|
||||
{"path": "../platform/client"},
|
||||
{"path": "../platform/types"}
|
||||
]
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user