From 8b03e2ce1a2098261de2f729f660b1ae2a320b65 Mon Sep 17 00:00:00 2001 From: lutangar Date: Tue, 9 Nov 2021 13:49:08 +0100 Subject: 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 --- server/tsconfig.types.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 server/tsconfig.types.json (limited to 'server') 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 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../types/server", + "stripInternal": true, + "removeComments": false, + "emitDeclarationOnly": true + }, + "references": [ + { "path": "../shared/tsconfig.types.json" } + ], + "exclude": [ + "tools/", + "tests/" + ] +} -- cgit v1.2.3