@powerlines/plugin-typedoc 0.10.246 → 0.10.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-BgAdqTbb.d.mts +1 -0
- package/dist/index-CEgs-Dz2.d.cts +1 -0
- package/dist/index.cjs +30 -2
- package/dist/index.d.cts +4 -3
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-BXpocfAU.d.mts +66 -0
- package/dist/plugin-BXpocfAU.d.mts.map +1 -0
- package/dist/plugin-C3MaN5jp.mjs +1 -0
- package/dist/plugin-C68ZNmIw.d.cts +66 -0
- package/dist/plugin-C68ZNmIw.d.cts.map +1 -0
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -64
- package/dist/types/plugin.d.mts +1 -64
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-CTUnla4x.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,39 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
2
|
+
//#region rolldown:runtime
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
require('./plugin-DHXHjv16.cjs');
|
|
30
|
+
require('./types-DHkg7xmX.cjs');
|
|
3
31
|
let __stryke_fs_exists = require("@stryke/fs/exists");
|
|
4
32
|
let __stryke_fs_helpers = require("@stryke/fs/helpers");
|
|
5
33
|
let __stryke_path_append = require("@stryke/path/append");
|
|
6
34
|
let __stryke_path_join = require("@stryke/path/join");
|
|
7
35
|
let defu = require("defu");
|
|
8
|
-
defu =
|
|
36
|
+
defu = __toESM(defu);
|
|
9
37
|
let typedoc = require("typedoc");
|
|
10
38
|
|
|
11
39
|
//#region src/index.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "./plugin-C68ZNmIw.cjs";
|
|
2
|
+
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
@@ -9,4 +9,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
9
9
|
*/
|
|
10
10
|
declare function plugin(options?: TypeDocPluginOptions): Plugin<TypeDocPluginContext>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig, plugin as default, plugin };
|
|
12
|
+
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig, plugin as default, plugin };
|
|
13
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAyCA;AACW,iBADK,MAAA,CACL,OAAA,CAAA,EAAA,oBAAA,CAAA,EACR,MADQ,CACD,oBADC,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "./plugin-BXpocfAU.mjs";
|
|
2
|
+
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
@@ -9,4 +9,5 @@ import { Plugin } from "powerlines/types/plugin";
|
|
|
9
9
|
*/
|
|
10
10
|
declare function plugin(options?: TypeDocPluginOptions): Plugin<TypeDocPluginContext>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig, plugin as default, plugin };
|
|
12
|
+
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig, plugin as default, plugin };
|
|
13
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAyCA;AACW,iBADK,MAAA,CACL,OAAA,CAAA,EAAA,oBAAA,CAAA,EACR,MADQ,CACD,oBADC,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import "./plugin-C3MaN5jp.mjs";
|
|
2
|
+
import "./types-CTUnla4x.mjs";
|
|
1
3
|
import { existsSync } from "@stryke/fs/exists";
|
|
2
4
|
import { createDirectory, removeDirectory } from "@stryke/fs/helpers";
|
|
3
5
|
import { appendPath } from "@stryke/path/append";
|
|
@@ -54,4 +56,5 @@ function plugin(options = {}) {
|
|
|
54
56
|
var src_default = plugin;
|
|
55
57
|
|
|
56
58
|
//#endregion
|
|
57
|
-
export { src_default as default, plugin };
|
|
59
|
+
export { src_default as default, plugin };
|
|
60
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { existsSync } from \"@stryke/fs/exists\";\nimport { createDirectory, removeDirectory } from \"@stryke/fs/helpers\";\nimport { appendPath } from \"@stryke/path/append\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n Application,\n PackageJsonReader,\n TSConfigReader,\n TypeDocReader\n} from \"typedoc\";\nimport {\n TypeDocPluginContext,\n TypeDocPluginOptions,\n TypeDocPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to assist in generating documentation with TypeDoc.\n */\nexport function plugin(\n options: TypeDocPluginOptions = {}\n): Plugin<TypeDocPluginContext> {\n return {\n name: \"typedoc\",\n async config() {\n this.debug(\n \"Providing default configuration for the Powerlines `typedoc` build plugin.\"\n );\n\n return {\n docs: {\n typedoc: defu(options, {\n outputPath: joinPaths(\n this.config.projectRoot,\n \"docs\",\n \"generated\",\n \"api-reference\"\n ),\n baseUrl: \"/docs/\",\n excludeExternals: true,\n excludeInternal: true,\n excludePrivate: true,\n excludeProtected: true,\n hideGenerator: true,\n githubPages: false,\n readme: \"none\",\n gitRevision: this.workspaceConfig.branch || \"main\",\n tsconfig: this.tsconfig.tsconfigFilePath,\n plugin: options.plugin ? [] : [\"typedoc-plugin-markdown\"]\n })\n }\n } as Partial<TypeDocPluginUserConfig>;\n },\n async configResolved() {\n this.typedoc = await Application.bootstrapWithPlugins(\n {\n ...this.config.docs.typedoc,\n exclude:\n this.config.docs.typedoc.exclude ??\n this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ??\n [],\n out: this.config.output.outputPath,\n entryPoints: this.entry.map(entry =>\n appendPath(entry.file, this.config.projectRoot)\n ),\n ...this.config.docs.typedoc.override\n },\n [new TypeDocReader(), new PackageJsonReader(), new TSConfigReader()]\n );\n },\n async docs() {\n this.debug(\n `Generating documentation for the Powerlines application with TypeDoc.`\n );\n\n if (existsSync(this.config.docs.typedoc.outputPath)) {\n await removeDirectory(this.config.docs.typedoc.outputPath);\n }\n\n await createDirectory(this.config.docs.typedoc.outputPath);\n\n const project = await this.typedoc.convert();\n if (project) {\n await this.typedoc.generateDocs(\n project,\n this.config.docs.typedoc.outputPath\n );\n }\n }\n };\n}\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;AAyCA,SAAgB,OACd,UAAgC,EAAE,EACJ;AAC9B,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,QAAK,MACH,6EACD;AAED,UAAO,EACL,MAAM,EACJ,SAAS,KAAK,SAAS;IACrB,YAAY,UACV,KAAK,OAAO,aACZ,QACA,aACA,gBACD;IACD,SAAS;IACT,kBAAkB;IAClB,iBAAiB;IACjB,gBAAgB;IAChB,kBAAkB;IAClB,eAAe;IACf,aAAa;IACb,QAAQ;IACR,aAAa,KAAK,gBAAgB,UAAU;IAC5C,UAAU,KAAK,SAAS;IACxB,QAAQ,QAAQ,SAAS,EAAE,GAAG,CAAC,0BAA0B;IAC1D,CAAC,EACH,EACF;;EAEH,MAAM,iBAAiB;AACrB,QAAK,UAAU,MAAM,YAAY,qBAC/B;IACE,GAAG,KAAK,OAAO,KAAK;IACpB,SACE,KAAK,OAAO,KAAK,QAAQ,WACzB,KAAK,SAAS,aAAa,SAAS,OAAO,QAAQ,IACnD,EAAE;IACJ,KAAK,KAAK,OAAO,OAAO;IACxB,aAAa,KAAK,MAAM,KAAI,UAC1B,WAAW,MAAM,MAAM,KAAK,OAAO,YAAY,CAChD;IACD,GAAG,KAAK,OAAO,KAAK,QAAQ;IAC7B,EACD;IAAC,IAAI,eAAe;IAAE,IAAI,mBAAmB;IAAE,IAAI,gBAAgB;IAAC,CACrE;;EAEH,MAAM,OAAO;AACX,QAAK,MACH,wEACD;AAED,OAAI,WAAW,KAAK,OAAO,KAAK,QAAQ,WAAW,CACjD,OAAM,gBAAgB,KAAK,OAAO,KAAK,QAAQ,WAAW;AAG5D,SAAM,gBAAgB,KAAK,OAAO,KAAK,QAAQ,WAAW;GAE1D,MAAM,UAAU,MAAM,KAAK,QAAQ,SAAS;AAC5C,OAAI,QACF,OAAM,KAAK,QAAQ,aACjB,SACA,KAAK,OAAO,KAAK,QAAQ,WAC1B;;EAGN;;AAGH,kBAAe"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Application, ProjectReflection, TypeDocOptions } from "typedoc";
|
|
2
|
+
import { UserConfig } from "powerlines/types/config";
|
|
3
|
+
import { PluginContext } from "powerlines/types/context";
|
|
4
|
+
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
+
|
|
6
|
+
//#region src/types/plugin.d.ts
|
|
7
|
+
interface GenerateDocsOptions {
|
|
8
|
+
frontmatter?: Record<string, any>;
|
|
9
|
+
outputPath?: string;
|
|
10
|
+
project: ProjectReflection;
|
|
11
|
+
}
|
|
12
|
+
interface TypeDocPluginOptions extends Partial<Omit<TypeDocOptions, "out">> {
|
|
13
|
+
/**
|
|
14
|
+
* The output path for the generated documentation.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue "docs/generated/api-reference"
|
|
17
|
+
*/
|
|
18
|
+
outputPath?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The base URL for the documentation site.
|
|
21
|
+
*
|
|
22
|
+
* @defaultValue "/docs/"
|
|
23
|
+
*/
|
|
24
|
+
basePath?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Options to be passed to the TypeDoc generator.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* These options will be override any other values passed to the TypeDoc generator.
|
|
30
|
+
*/
|
|
31
|
+
override?: Partial<TypeDocOptions>;
|
|
32
|
+
}
|
|
33
|
+
interface TypeDocPluginUserConfig extends UserConfig {
|
|
34
|
+
/**
|
|
35
|
+
* Options for the TypeDoc plugin.
|
|
36
|
+
*/
|
|
37
|
+
docs?: {
|
|
38
|
+
typedoc: TypeDocPluginOptions;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
interface TypeDocPluginResolvedConfig extends ResolvedConfig {
|
|
42
|
+
/**
|
|
43
|
+
* Options for the TypeDoc plugin.
|
|
44
|
+
*/
|
|
45
|
+
docs: {
|
|
46
|
+
typedoc: TypeDocOptions & {
|
|
47
|
+
outputPath: string;
|
|
48
|
+
baseUrl: string;
|
|
49
|
+
override?: Partial<TypeDocOptions>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
54
|
+
/**
|
|
55
|
+
* The initialized TypeDoc application.
|
|
56
|
+
*/
|
|
57
|
+
typedoc: Application;
|
|
58
|
+
};
|
|
59
|
+
declare type __ΩGenerateDocsOptions = any[];
|
|
60
|
+
declare type __ΩTypeDocPluginOptions = any[];
|
|
61
|
+
declare type __ΩTypeDocPluginUserConfig = any[];
|
|
62
|
+
declare type __ΩTypeDocPluginResolvedConfig = any[];
|
|
63
|
+
declare type __ΩTypeDocPluginContext = any[];
|
|
64
|
+
//#endregion
|
|
65
|
+
export { TypeDocPluginUserConfig as a, __ΩTypeDocPluginOptions as c, TypeDocPluginResolvedConfig as i, __ΩTypeDocPluginResolvedConfig as l, TypeDocPluginContext as n, __ΩGenerateDocsOptions as o, TypeDocPluginOptions as r, __ΩTypeDocPluginContext as s, GenerateDocsOptions as t, __ΩTypeDocPluginUserConfig as u };
|
|
66
|
+
//# sourceMappingURL=plugin-BXpocfAU.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BXpocfAU.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAuBiB,mBAAA;gBACD;EADC,UAAA,CAAA,EAAA,MAAA;EAMA,OAAA,EAHN,iBAG2B;;AACpC,UADe,oBAAA,SAA6B,OAC5C,CAAA,IAAA,CAAK,cAAL,EAAA,KAAA,CAAA,CAAA,CAAA;EAsBmB;;;;AAGrB;EASiB,UAAA,CAAA,EAAA,MAAA;EAKJ;;;;;EAQD,QAAA,CAAA,EAAA,MAAA;EACc;;;;;;aA1Bb,QAAQ;;UAGJ,uBAAA,SAAgC;;;;;aAKpC;;;UAII,2BAAA,SAAoC;;;;;aAKxC;;;iBAGI,QAAQ;;;;KAKb,6CACc,8BACtB,+BACA,cAAc;;;;WAIP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { UserConfig } from "powerlines/types/config";
|
|
2
|
+
import { PluginContext } from "powerlines/types/context";
|
|
3
|
+
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
+
import { Application, ProjectReflection, TypeDocOptions } from "typedoc";
|
|
5
|
+
|
|
6
|
+
//#region src/types/plugin.d.ts
|
|
7
|
+
interface GenerateDocsOptions {
|
|
8
|
+
frontmatter?: Record<string, any>;
|
|
9
|
+
outputPath?: string;
|
|
10
|
+
project: ProjectReflection;
|
|
11
|
+
}
|
|
12
|
+
interface TypeDocPluginOptions extends Partial<Omit<TypeDocOptions, "out">> {
|
|
13
|
+
/**
|
|
14
|
+
* The output path for the generated documentation.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue "docs/generated/api-reference"
|
|
17
|
+
*/
|
|
18
|
+
outputPath?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The base URL for the documentation site.
|
|
21
|
+
*
|
|
22
|
+
* @defaultValue "/docs/"
|
|
23
|
+
*/
|
|
24
|
+
basePath?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Options to be passed to the TypeDoc generator.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* These options will be override any other values passed to the TypeDoc generator.
|
|
30
|
+
*/
|
|
31
|
+
override?: Partial<TypeDocOptions>;
|
|
32
|
+
}
|
|
33
|
+
interface TypeDocPluginUserConfig extends UserConfig {
|
|
34
|
+
/**
|
|
35
|
+
* Options for the TypeDoc plugin.
|
|
36
|
+
*/
|
|
37
|
+
docs?: {
|
|
38
|
+
typedoc: TypeDocPluginOptions;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
interface TypeDocPluginResolvedConfig extends ResolvedConfig {
|
|
42
|
+
/**
|
|
43
|
+
* Options for the TypeDoc plugin.
|
|
44
|
+
*/
|
|
45
|
+
docs: {
|
|
46
|
+
typedoc: TypeDocOptions & {
|
|
47
|
+
outputPath: string;
|
|
48
|
+
baseUrl: string;
|
|
49
|
+
override?: Partial<TypeDocOptions>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
54
|
+
/**
|
|
55
|
+
* The initialized TypeDoc application.
|
|
56
|
+
*/
|
|
57
|
+
typedoc: Application;
|
|
58
|
+
};
|
|
59
|
+
declare type __ΩGenerateDocsOptions = any[];
|
|
60
|
+
declare type __ΩTypeDocPluginOptions = any[];
|
|
61
|
+
declare type __ΩTypeDocPluginUserConfig = any[];
|
|
62
|
+
declare type __ΩTypeDocPluginResolvedConfig = any[];
|
|
63
|
+
declare type __ΩTypeDocPluginContext = any[];
|
|
64
|
+
//#endregion
|
|
65
|
+
export { TypeDocPluginUserConfig as a, __ΩTypeDocPluginOptions as c, TypeDocPluginResolvedConfig as i, __ΩTypeDocPluginResolvedConfig as l, TypeDocPluginContext as n, __ΩGenerateDocsOptions as o, TypeDocPluginOptions as r, __ΩTypeDocPluginContext as s, GenerateDocsOptions as t, __ΩTypeDocPluginUserConfig as u };
|
|
66
|
+
//# sourceMappingURL=plugin-C68ZNmIw.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-C68ZNmIw.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;UAuBiB,mBAAA;gBACD;EADC,UAAA,CAAA,EAAA,MAAA;EAMA,OAAA,EAHN,iBAG2B;;AACpC,UADe,oBAAA,SAA6B,OAC5C,CAAA,IAAA,CAAK,cAAL,EAAA,KAAA,CAAA,CAAA,CAAA;EAsBmB;;;;AAGrB;EASiB,UAAA,CAAA,EAAA,MAAA;EAKJ;;;;;EAQD,QAAA,CAAA,EAAA,MAAA;EACc;;;;;;aA1Bb,QAAQ;;UAGJ,uBAAA,SAAgC;;;;;aAKpC;;;UAII,2BAAA,SAAoC;;;;;aAKxC;;;iBAGI,QAAQ;;;;KAKb,6CACc,8BACtB,+BACA,cAAc;;;;WAIP"}
|
|
File without changes
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "../plugin-C68ZNmIw.cjs";
|
|
2
|
+
import "../index-CEgs-Dz2.cjs";
|
|
2
3
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "../plugin-BXpocfAU.mjs";
|
|
2
|
+
import "../index-BgAdqTbb.mjs";
|
|
2
3
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,65 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
-
import { Application, ProjectReflection, TypeDocOptions } from "typedoc";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
interface GenerateDocsOptions {
|
|
8
|
-
frontmatter?: Record<string, any>;
|
|
9
|
-
outputPath?: string;
|
|
10
|
-
project: ProjectReflection;
|
|
11
|
-
}
|
|
12
|
-
interface TypeDocPluginOptions extends Partial<Omit<TypeDocOptions, "out">> {
|
|
13
|
-
/**
|
|
14
|
-
* The output path for the generated documentation.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue "docs/generated/api-reference"
|
|
17
|
-
*/
|
|
18
|
-
outputPath?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The base URL for the documentation site.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue "/docs/"
|
|
23
|
-
*/
|
|
24
|
-
basePath?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Options to be passed to the TypeDoc generator.
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* These options will be override any other values passed to the TypeDoc generator.
|
|
30
|
-
*/
|
|
31
|
-
override?: Partial<TypeDocOptions>;
|
|
32
|
-
}
|
|
33
|
-
interface TypeDocPluginUserConfig extends UserConfig {
|
|
34
|
-
/**
|
|
35
|
-
* Options for the TypeDoc plugin.
|
|
36
|
-
*/
|
|
37
|
-
docs?: {
|
|
38
|
-
typedoc: TypeDocPluginOptions;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
interface TypeDocPluginResolvedConfig extends ResolvedConfig {
|
|
42
|
-
/**
|
|
43
|
-
* Options for the TypeDoc plugin.
|
|
44
|
-
*/
|
|
45
|
-
docs: {
|
|
46
|
-
typedoc: TypeDocOptions & {
|
|
47
|
-
outputPath: string;
|
|
48
|
-
baseUrl: string;
|
|
49
|
-
override?: Partial<TypeDocOptions>;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
54
|
-
/**
|
|
55
|
-
* The initialized TypeDoc application.
|
|
56
|
-
*/
|
|
57
|
-
typedoc: Application;
|
|
58
|
-
};
|
|
59
|
-
declare type __ΩGenerateDocsOptions = any[];
|
|
60
|
-
declare type __ΩTypeDocPluginOptions = any[];
|
|
61
|
-
declare type __ΩTypeDocPluginUserConfig = any[];
|
|
62
|
-
declare type __ΩTypeDocPluginResolvedConfig = any[];
|
|
63
|
-
declare type __ΩTypeDocPluginContext = any[];
|
|
64
|
-
//#endregion
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "../plugin-C68ZNmIw.cjs";
|
|
65
2
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,65 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UserConfig } from "powerlines/types/config";
|
|
3
|
-
import { PluginContext } from "powerlines/types/context";
|
|
4
|
-
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
interface GenerateDocsOptions {
|
|
8
|
-
frontmatter?: Record<string, any>;
|
|
9
|
-
outputPath?: string;
|
|
10
|
-
project: ProjectReflection;
|
|
11
|
-
}
|
|
12
|
-
interface TypeDocPluginOptions extends Partial<Omit<TypeDocOptions, "out">> {
|
|
13
|
-
/**
|
|
14
|
-
* The output path for the generated documentation.
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue "docs/generated/api-reference"
|
|
17
|
-
*/
|
|
18
|
-
outputPath?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The base URL for the documentation site.
|
|
21
|
-
*
|
|
22
|
-
* @defaultValue "/docs/"
|
|
23
|
-
*/
|
|
24
|
-
basePath?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Options to be passed to the TypeDoc generator.
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* These options will be override any other values passed to the TypeDoc generator.
|
|
30
|
-
*/
|
|
31
|
-
override?: Partial<TypeDocOptions>;
|
|
32
|
-
}
|
|
33
|
-
interface TypeDocPluginUserConfig extends UserConfig {
|
|
34
|
-
/**
|
|
35
|
-
* Options for the TypeDoc plugin.
|
|
36
|
-
*/
|
|
37
|
-
docs?: {
|
|
38
|
-
typedoc: TypeDocPluginOptions;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
interface TypeDocPluginResolvedConfig extends ResolvedConfig {
|
|
42
|
-
/**
|
|
43
|
-
* Options for the TypeDoc plugin.
|
|
44
|
-
*/
|
|
45
|
-
docs: {
|
|
46
|
-
typedoc: TypeDocOptions & {
|
|
47
|
-
outputPath: string;
|
|
48
|
-
baseUrl: string;
|
|
49
|
-
override?: Partial<TypeDocOptions>;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
54
|
-
/**
|
|
55
|
-
* The initialized TypeDoc application.
|
|
56
|
-
*/
|
|
57
|
-
typedoc: Application;
|
|
58
|
-
};
|
|
59
|
-
declare type __ΩGenerateDocsOptions = any[];
|
|
60
|
-
declare type __ΩTypeDocPluginOptions = any[];
|
|
61
|
-
declare type __ΩTypeDocPluginUserConfig = any[];
|
|
62
|
-
declare type __ΩTypeDocPluginResolvedConfig = any[];
|
|
63
|
-
declare type __ΩTypeDocPluginContext = any[];
|
|
64
|
-
//#endregion
|
|
1
|
+
import { a as TypeDocPluginUserConfig, c as __ΩTypeDocPluginOptions, i as TypeDocPluginResolvedConfig, l as __ΩTypeDocPluginResolvedConfig, n as TypeDocPluginContext, o as __ΩGenerateDocsOptions, r as TypeDocPluginOptions, s as __ΩTypeDocPluginContext, t as GenerateDocsOptions, u as __ΩTypeDocPluginUserConfig } from "../plugin-BXpocfAU.mjs";
|
|
65
2
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-typedoc",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.248",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running TypeDoc on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
"@stryke/fs": "^0.33.39",
|
|
91
91
|
"@stryke/path": "^0.26.3",
|
|
92
92
|
"defu": "^6.1.4",
|
|
93
|
-
"powerlines": "^0.38.
|
|
93
|
+
"powerlines": "^0.38.7",
|
|
94
94
|
"typedoc": "0.25.12",
|
|
95
95
|
"typedoc-plugin-markdown": "4.0.0-next.20"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
98
|
+
"@powerlines/plugin-plugin": "^0.12.191",
|
|
99
99
|
"@types/node": "^24.10.9"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": { "access": "public" },
|
|
102
102
|
"main": "./dist/index.cjs",
|
|
103
103
|
"module": "./dist/index.mjs",
|
|
104
104
|
"types": "./dist/index.d.cts",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "d389997536baee28d116675d7916d9bfa5596dce"
|
|
106
106
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
|
|
29
|
-
exports.__toESM = __toESM;
|