From 03f154306a352df83bb498fec60a2673b3f7ad7f Mon Sep 17 00:00:00 2001 From: Philip Schildkamp Date: Tue, 22 Mar 2022 00:49:59 +0100 Subject: [PATCH] Inline `typedoc` configuration - In anticipation of https://github.com/TypeStrong/typedoc/pull/1891 --- packages/shell/src/component/jsx-runtime.ts | 7 +++++ tsconfig.json | 35 ++++++++++++++++++++- typedoc.json | 24 -------------- 3 files changed, 41 insertions(+), 25 deletions(-) delete mode 100644 typedoc.json diff --git a/packages/shell/src/component/jsx-runtime.ts b/packages/shell/src/component/jsx-runtime.ts index 6aaffbc..b3e46b8 100644 --- a/packages/shell/src/component/jsx-runtime.ts +++ b/packages/shell/src/component/jsx-runtime.ts @@ -28,6 +28,13 @@ declare global { } + /** + * @see https://github.com/google/incremental-dom/pull/467 + */ + interface Node { + readonly namespaceURI: string | null; + } + } /** diff --git a/tsconfig.json b/tsconfig.json index 821cbc5..6d5bead 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -43,5 +43,38 @@ "include": [ "./packages/**/*.ts" - ] + ], + + "typedocOptions": { + "name": "@sgrud", + "gitRevision": "main", + + "excludeExternals": true, + "treatWarningsAsErrors": true, + + "entryPoints": [ + "./packages/bin/index.ts", + "./packages/bus/index.ts", + "./packages/core/index.ts", + "./packages/data/index.ts", + "./packages/shell/index.ts", + "./packages/state/index.ts" + ], + + "sort": [ + "static-first", + "visibility", + "alphabetical" + ], + + "tsconfig": { + "noUnusedLocals": false, + "noUnusedParameters": false + }, + + "validation": { + "invalidLink": true, + "notExported": true + } + } } diff --git a/typedoc.json b/typedoc.json deleted file mode 100644 index 45e5bd8..0000000 --- a/typedoc.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@sgrud", - "treatWarningsAsErrors": true, - "excludeExternals": true, - "githubPages": false, - "gitRevision": "main", - "entryPoints": [ - "./packages/bin/index.ts", - "./packages/bus/index.ts", - "./packages/core/index.ts", - "./packages/data/index.ts", - "./packages/shell/index.ts", - "./packages/state/index.ts" - ], - "sort": [ - "static-first", - "visibility", - "alphabetical" - ], - "validation": { - "notExported": true, - "invalidLink": true - } -}