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 удалений

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

@@ -10,7 +10,8 @@
"files": [
"lib"
],
"main": "./lib/index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "github:mattermost/mattermost-webapp",

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

@@ -12,12 +12,14 @@
"jsx": "react",
"outDir": "./lib",
"rootDir": "./src",
"composite": true,
"paths": {
"@mattermost/types/*": ["../types/lib/*"]
}
"composite": true
},
"exclude": ["**/node_modules", "**/lib", "**/*.test.js", "**/*.test.ts"],
"include": [
"./src/**/*"
],
"exclude": [
"**/*.test.*"
],
"references": [
{"path": "../types"}
]