diff --git a/package.json b/package.json index 92d712e..6265cae 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "types:check": "pnpm -r run types:check", "prepublishOnly": "pnpm clean && pnpm build", "publish-beta": "pnpm publish --tag beta", - "doc": "typedoc", + "doc": "typedoc --tsconfig tsconfig.doc.json", "lint": "eslint .", "coverage": "jest --coverage", "test": "jest", diff --git a/pipe/src/Pipe.ts b/pipe/src/Pipe.ts index 9bc0647..12baea2 100644 --- a/pipe/src/Pipe.ts +++ b/pipe/src/Pipe.ts @@ -12,7 +12,7 @@ import {Pipeline} from "./Pipeline"; import inverse from "./inverse"; import proverse from "./proverse"; -type PreliminaryTasks = +export type PreliminaryTasks = | Consecutive> | []; diff --git a/tsconfig.doc.json b/tsconfig.doc.json new file mode 100644 index 0000000..ae27f18 --- /dev/null +++ b/tsconfig.doc.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig.json", + "extends": "./tsconfig.json", + "include": [ + "invertible/src", + "pipe/src", + "utility/src", + "global.d.ts" + ], + "typedocOptions": { + "name": "Invertible Functions & Pipelines", + "includeVersion": true, + "entryPoints": [ + "invertible/src/index.ts", + "pipe/src/index.ts", + "utility/src/index.ts" + ], + "entryPointStrategy": "expand", + "out": "var/docs", + "disableSources": true, + "readme": "./README.md", + "searchInComments": true, + "navigationLinks": { + "21Gram Consulting": "https://www.21gram.consulting", + "GitHub": "https://github.com/21GramConsulting/invertible" + } + } +} \ No newline at end of file diff --git a/typedoc.json b/typedoc.json deleted file mode 100644 index 9c0a173..0000000 --- a/typedoc.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "https://typedoc.org/schema.json", - "name": "Invertible Functions & Pipelines", - "includeVersion": true, - "entryPoints": [ - "./invertible/src/index.ts", - "./pipe/src/index.ts", - "./utility/src/index.ts" - ], - "entryPointStrategy": "expand", - "exclude": [ - "**/*.test.ts", - "**/*.js", - "**/*.mjs" - ], - "out": "var/docs", - "disableSources": true, - "readme": "./README.md", - "searchInComments": true, - "navigationLinks": { - "21Gram Consulting": "https://www.21gram.consulting", - "GitHub": "https://github.com/21GramConsulting/invertible" - } -} \ No newline at end of file