aboutsummaryrefslogtreecommitdiffhomepage
path: root/tsconfig.base.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.base.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.base.json')
-rw-r--r--tsconfig.base.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tsconfig.base.json b/tsconfig.base.json
index ef86b9797..349c4de6c 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -12,6 +12,7 @@
12 "esModuleInterop": true, 12 "esModuleInterop": true,
13 "forceConsistentCasingInFileNames": true, 13 "forceConsistentCasingInFileNames": true,
14 "lib": [ 14 "lib": [
15 "dom",
15 "es2015", 16 "es2015",
16 "es2016", 17 "es2016",
17 "es2017", 18 "es2017",
@@ -20,6 +21,7 @@
20 ], 21 ],
21 "typeRoots": [ 22 "typeRoots": [
22 "node_modules/@types", 23 "node_modules/@types",
24 "client/node_modules/@types"
23 ], 25 ],
24 "baseUrl": "./", 26 "baseUrl": "./",
25 "outDir": "./dist/", 27 "outDir": "./dist/",