feat(types): create peertube-types package

Create dedicated Typescript "types" configuration file for each "projects".
Create a types folder which includes every useful ts definition:
- client
- server
- shared
Add tooling to create a proper package, extract dependencies, etc...
Add CI Github task.

refactor(types): publish types package in release script
This commit is contained in:
lutangar
2021-11-09 13:49:08 +01:00
committed by Chocobozzz
parent 06aad80165
commit 8b03e2ce1a
18 changed files with 544 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../types/shared",
"stripInternal": true,
"removeComments": false,
"emitDeclarationOnly": true
}
}