@powerlines/plugin-typedoc 0.10.260 → 0.10.262

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.
@@ -0,0 +1,29 @@
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;
package/dist/index.cjs CHANGED
@@ -1,39 +1,11 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
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');
2
+ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
31
3
  let __stryke_fs_exists = require("@stryke/fs/exists");
32
4
  let __stryke_fs_helpers = require("@stryke/fs/helpers");
33
5
  let __stryke_path_append = require("@stryke/path/append");
34
6
  let __stryke_path_join = require("@stryke/path/join");
35
7
  let defu = require("defu");
36
- defu = __toESM(defu);
8
+ defu = require_rolldown_runtime.__toESM(defu);
37
9
  let typedoc = require("typedoc");
38
10
 
39
11
  //#region src/index.ts
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
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";
1
+ import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./types/plugin.cjs";
2
+ import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
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";
1
+ import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./types/plugin.mjs";
2
+ import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines/types/plugin";
4
4
 
5
5
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import "./plugin-C3MaN5jp.mjs";
2
- import "./types-CTUnla4x.mjs";
3
1
  import { existsSync } from "@stryke/fs/exists";
4
2
  import { createDirectory, removeDirectory } from "@stryke/fs/helpers";
5
3
  import { appendPath } from "@stryke/path/append";
@@ -1 +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"}
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"}
@@ -1,2 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
2
- require('../types-DHkg7xmX.cjs');
@@ -1,3 +1,2 @@
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";
1
+ import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./plugin.cjs";
3
2
  export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
@@ -1,3 +1,2 @@
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";
1
+ import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./plugin.mjs";
3
2
  export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
@@ -1,4 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
- import "../types-CTUnla4x.mjs";
3
-
4
1
  export { };
@@ -1 +0,0 @@
1
- require('../plugin-DHXHjv16.cjs');
@@ -1,2 +1,66 @@
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
- export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
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 { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
66
+ //# sourceMappingURL=plugin.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.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"}
@@ -1,2 +1,66 @@
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
- export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
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 { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
66
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.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"}
@@ -1,3 +1 @@
1
- import "../plugin-C3MaN5jp.mjs";
2
-
3
1
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-typedoc",
3
- "version": "0.10.260",
3
+ "version": "0.10.262",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running TypeDoc on the codebase.",
6
6
  "repository": {
@@ -87,20 +87,20 @@
87
87
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
88
88
  "dependencies": {
89
89
  "@storm-software/config-tools": "^1.189.0",
90
- "@stryke/fs": "^0.33.39",
91
- "@stryke/path": "^0.26.3",
90
+ "@stryke/fs": "^0.33.40",
91
+ "@stryke/path": "^0.26.4",
92
92
  "defu": "^6.1.4",
93
- "powerlines": "^0.38.19",
93
+ "powerlines": "^0.38.21",
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.203",
98
+ "@powerlines/plugin-plugin": "^0.12.205",
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": "ed4d8044dcb6e1de7843b3908424bb0a7e636620"
105
+ "gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
106
106
  }
@@ -1 +0,0 @@
1
- export { };
@@ -1 +0,0 @@
1
- export { };
@@ -1,66 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- export { };
@@ -1,66 +0,0 @@
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
@@ -1 +0,0 @@
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
@@ -1 +0,0 @@
1
- export { };
File without changes