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
@@ -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"}
|
||||
]
|
||||
|
||||
Ссылка в новой задаче
Block a user