aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorlutangar <johan.dufour@gmail.com>2021-11-09 13:49:08 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:08:43 +0100
commit8b03e2ce1a2098261de2f729f660b1ae2a320b65 (patch)
treeca4770cf86c9c54814dbb62bfc95ef38661646b2 /server
parent06aad80165d09a8863ab8103149a8ff518b10641 (diff)
downloadPeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.gz
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.zst
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.zip
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
Diffstat (limited to 'server')
-rw-r--r--server/tsconfig.types.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/tsconfig.types.json b/server/tsconfig.types.json
new file mode 100644
index 000000000..26697bd45
--- /dev/null
+++ b/server/tsconfig.types.json
@@ -0,0 +1,16 @@
1{
2 "extends": "./tsconfig.json",
3 "compilerOptions": {
4 "outDir": "../types/server",
5 "stripInternal": true,
6 "removeComments": false,
7 "emitDeclarationOnly": true
8 },
9 "references": [
10 { "path": "../shared/tsconfig.types.json" }
11 ],
12 "exclude": [
13 "tools/",
14 "tests/"
15 ]
16}