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 /client | |
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 'client')
-rw-r--r-- | client/src/index.ts | 1 | ||||
-rw-r--r-- | client/tsconfig.types.json | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/client/src/index.ts b/client/src/index.ts deleted file mode 100644 index c9f6f047d..000000000 --- a/client/src/index.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export * from './types' | ||
diff --git a/client/tsconfig.types.json b/client/tsconfig.types.json index 35a5e92cc..1f5c86161 100644 --- a/client/tsconfig.types.json +++ b/client/tsconfig.types.json | |||
@@ -4,15 +4,15 @@ | |||
4 | "stripInternal": true, | 4 | "stripInternal": true, |
5 | "removeComments": false, | 5 | "removeComments": false, |
6 | "declaration": true, | 6 | "declaration": true, |
7 | "outDir": "../types/client/", | 7 | "outDir": "../types/dist/client/", |
8 | "emitDeclarationOnly": true, | 8 | "emitDeclarationOnly": true, |
9 | "composite": true, | 9 | "composite": true, |
10 | "rootDir": "src/", | 10 | "rootDir": "src/", |
11 | "tsBuildInfoFile": "../types/client.tsbuildinfo" | 11 | "tsBuildInfoFile": "../types/dist/tsconfig.client.tsbuildinfo" |
12 | }, | 12 | }, |
13 | "references": [ | 13 | "references": [ |
14 | { "path": "../shared/tsconfig.types.json" } | 14 | { "path": "../shared/tsconfig.types.json" } |
15 | ], | 15 | ], |
16 | "files": ["src/index.ts"], | 16 | "files": ["src/types/index.ts"], |
17 | "include": ["src/index.ts", "src/types/**/*"] | 17 | "include": ["src/**/*", "src/types/**/*"] |
18 | } | 18 | } |