aboutsummaryrefslogtreecommitdiffhomepage
path: root/tsconfig.types.json
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 /tsconfig.types.json
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 'tsconfig.types.json')
-rw-r--r--tsconfig.types.json11
1 files changed, 4 insertions, 7 deletions
diff --git a/tsconfig.types.json b/tsconfig.types.json
index c9447d86d..b6898e294 100644
--- a/tsconfig.types.json
+++ b/tsconfig.types.json
@@ -1,19 +1,16 @@
1{ 1{
2 "extends": "./tsconfig.base.json", 2 "extends": "./tsconfig.base.json",
3 "compilerOptions": { 3 "compilerOptions": {
4 "incremental": true,
5 "sourceMap": true,
6 "stripInternal": true, 4 "stripInternal": true,
7 "removeComments": false, 5 "removeComments": false,
8 "declaration": true, 6 "emitDeclarationOnly": true,
9 "declarationMap": true, 7 "outDir": "./types/"
10 "emitDeclarationOnly": true
11 }, 8 },
12 "references": [ 9 "references": [
13 { "path": "./shared/tsconfig.types.json" }, 10 { "path": "./shared/tsconfig.types.json" },
14 { "path": "./server/tsconfig.types.json" }, 11 { "path": "./server/tsconfig.types.json" },
15 { "path": "./scripts/tsconfig.types.json" } 12 { "path": "./client/tsconfig.types.json" }
16 ], 13 ],
17 "files": [] 14 "files": ["./index.ts"],
18} 15}
19 16