diff options
author | lutangar <johan.dufour@gmail.com> | 2021-11-09 13:49:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | b8fa3e8c734a46918118afe7976f248cc883f675 (patch) | |
tree | 0ebf8fd10b1c690602da14d4dd626cd04a9ff748 /shared | |
parent | 8b03e2ce1a2098261de2f729f660b1ae2a320b65 (diff) | |
download | PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.tar.gz PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.tar.zst PeerTube-b8fa3e8c734a46918118afe7976f248cc883f675.zip |
refactor(types): create dedicated folder for types package src
fix guide examples and add types package readme
refactor(tsconfig): move back base tsconfig to base directory
Diffstat (limited to 'shared')
-rw-r--r-- | shared/tsconfig.json | 3 | ||||
-rw-r--r-- | shared/tsconfig.types.json | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/tsconfig.json b/shared/tsconfig.json index 95892077b..88107e27f 100644 --- a/shared/tsconfig.json +++ b/shared/tsconfig.json | |||
@@ -1,6 +1,7 @@ | |||
1 | { | 1 | { |
2 | "extends": "../tsconfig.base.json", | 2 | "extends": "../tsconfig.base.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "outDir": "../dist/shared" | 4 | "outDir": "../dist/shared", |
5 | |||
5 | } | 6 | } |
6 | } | 7 | } |
diff --git a/shared/tsconfig.types.json b/shared/tsconfig.types.json index 18c470059..b01d12e53 100644 --- a/shared/tsconfig.types.json +++ b/shared/tsconfig.types.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "extends": "./tsconfig.json", | 2 | "extends": "./tsconfig.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "outDir": "../types/shared", | 4 | "outDir": "../types/dist/shared", |
5 | "stripInternal": true, | 5 | "stripInternal": true, |
6 | "removeComments": false, | 6 | "removeComments": false, |
7 | "emitDeclarationOnly": true | 7 | "emitDeclarationOnly": true |