@powerlines/plugin-typedoc 0.10.297 → 0.10.299

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.cjs CHANGED
@@ -17,8 +17,8 @@ function plugin(options = {}) {
17
17
  name: "typedoc",
18
18
  async config() {
19
19
  this.debug("Providing default configuration for the Powerlines `typedoc` build plugin.");
20
- return { docs: { typedoc: (0, defu.default)(options, {
21
- outputPath: (0, __stryke_path_join.joinPaths)(this.config.projectRoot, "docs", "generated", "api-reference"),
20
+ return { typedoc: (0, defu.default)(options, {
21
+ outputPath: (0, __stryke_path_join.joinPaths)(this.config.root, "docs", "generated", "api-reference"),
22
22
  baseUrl: "/docs/",
23
23
  excludeExternals: true,
24
24
  excludeInternal: true,
@@ -30,15 +30,15 @@ function plugin(options = {}) {
30
30
  gitRevision: this.workspaceConfig.branch || "main",
31
31
  tsconfig: this.tsconfig.tsconfigFilePath,
32
32
  plugin: options.plugin ? [] : ["typedoc-plugin-markdown"]
33
- }) } };
33
+ }) };
34
34
  },
35
35
  async configResolved() {
36
36
  this.typedoc = await typedoc.Application.bootstrapWithPlugins({
37
- ...this.config.docs.typedoc,
38
- exclude: this.config.docs.typedoc.exclude ?? this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ?? [],
39
- out: this.config.output.outputPath,
40
- entryPoints: this.entry.map((entry) => (0, __stryke_path_append.appendPath)(entry.file, this.config.projectRoot)),
41
- ...this.config.docs.typedoc.override
37
+ ...this.config.typedoc,
38
+ exclude: this.config.typedoc.exclude ?? this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ?? [],
39
+ out: this.config.typedoc.outputPath,
40
+ entryPoints: this.entry.map((entry) => (0, __stryke_path_append.appendPath)(entry.file, this.config.root)),
41
+ ...this.config.typedoc.override
42
42
  }, [
43
43
  new typedoc.TypeDocReader(),
44
44
  new typedoc.PackageJsonReader(),
@@ -47,10 +47,10 @@ function plugin(options = {}) {
47
47
  },
48
48
  async docs() {
49
49
  this.debug(`Generating documentation for the Powerlines application with TypeDoc.`);
50
- if ((0, __stryke_fs_exists.existsSync)(this.config.docs.typedoc.outputPath)) await (0, __stryke_fs_helpers.removeDirectory)(this.config.docs.typedoc.outputPath);
51
- await (0, __stryke_fs_helpers.createDirectory)(this.config.docs.typedoc.outputPath);
50
+ if ((0, __stryke_fs_exists.existsSync)(this.config.typedoc.outputPath)) await (0, __stryke_fs_helpers.removeDirectory)(this.config.typedoc.outputPath);
51
+ await (0, __stryke_fs_helpers.createDirectory)(this.config.typedoc.outputPath);
52
52
  const project = await this.typedoc.convert();
53
- if (project) await this.typedoc.generateDocs(project, this.config.docs.typedoc.outputPath);
53
+ if (project) await this.typedoc.generateDocs(project, this.config.typedoc.outputPath);
54
54
  }
55
55
  };
56
56
  }
package/dist/index.d.cts CHANGED
@@ -1,9 +1,13 @@
1
1
  import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./types/plugin.cjs";
2
2
  import "./types/index.cjs";
3
- import { Plugin } from "powerlines/types/plugin";
3
+ import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
6
-
6
+ declare module "powerlines" {
7
+ interface UserConfig {
8
+ typedoc?: TypeDocPluginOptions;
9
+ }
10
+ }
7
11
  /**
8
12
  * A Powerlines plugin to assist in generating documentation with TypeDoc.
9
13
  */
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;IAoCwB,OAAA,CAAA,EAIV,oBAJU;EAAA;;;;AAWxB;AACW,iBADK,MAAA,CACL,OAAA,CAAA,EAAA,oBAAA,CAAA,EACR,MADQ,CACD,oBADC,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,9 +1,13 @@
1
1
  import { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig } from "./types/plugin.mjs";
2
2
  import "./types/index.mjs";
3
- import { Plugin } from "powerlines/types/plugin";
3
+ import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
6
-
6
+ declare module "powerlines" {
7
+ interface UserConfig {
8
+ typedoc?: TypeDocPluginOptions;
9
+ }
10
+ }
7
11
  /**
8
12
  * A Powerlines plugin to assist in generating documentation with TypeDoc.
9
13
  */
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;IAoCwB,OAAA,CAAA,EAIV,oBAJU;EAAA;;;;AAWxB;AACW,iBADK,MAAA,CACL,OAAA,CAAA,EAAA,oBAAA,CAAA,EACR,MADQ,CACD,oBADC,CAAA"}
package/dist/index.mjs CHANGED
@@ -14,8 +14,8 @@ function plugin(options = {}) {
14
14
  name: "typedoc",
15
15
  async config() {
16
16
  this.debug("Providing default configuration for the Powerlines `typedoc` build plugin.");
17
- return { docs: { typedoc: defu(options, {
18
- outputPath: joinPaths(this.config.projectRoot, "docs", "generated", "api-reference"),
17
+ return { typedoc: defu(options, {
18
+ outputPath: joinPaths(this.config.root, "docs", "generated", "api-reference"),
19
19
  baseUrl: "/docs/",
20
20
  excludeExternals: true,
21
21
  excludeInternal: true,
@@ -27,15 +27,15 @@ function plugin(options = {}) {
27
27
  gitRevision: this.workspaceConfig.branch || "main",
28
28
  tsconfig: this.tsconfig.tsconfigFilePath,
29
29
  plugin: options.plugin ? [] : ["typedoc-plugin-markdown"]
30
- }) } };
30
+ }) };
31
31
  },
32
32
  async configResolved() {
33
33
  this.typedoc = await Application.bootstrapWithPlugins({
34
- ...this.config.docs.typedoc,
35
- exclude: this.config.docs.typedoc.exclude ?? this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ?? [],
36
- out: this.config.output.outputPath,
37
- entryPoints: this.entry.map((entry) => appendPath(entry.file, this.config.projectRoot)),
38
- ...this.config.docs.typedoc.override
34
+ ...this.config.typedoc,
35
+ exclude: this.config.typedoc.exclude ?? this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ?? [],
36
+ out: this.config.typedoc.outputPath,
37
+ entryPoints: this.entry.map((entry) => appendPath(entry.file, this.config.root)),
38
+ ...this.config.typedoc.override
39
39
  }, [
40
40
  new TypeDocReader(),
41
41
  new PackageJsonReader(),
@@ -44,10 +44,10 @@ function plugin(options = {}) {
44
44
  },
45
45
  async docs() {
46
46
  this.debug(`Generating documentation for the Powerlines application with TypeDoc.`);
47
- if (existsSync(this.config.docs.typedoc.outputPath)) await removeDirectory(this.config.docs.typedoc.outputPath);
48
- await createDirectory(this.config.docs.typedoc.outputPath);
47
+ if (existsSync(this.config.typedoc.outputPath)) await removeDirectory(this.config.typedoc.outputPath);
48
+ await createDirectory(this.config.typedoc.outputPath);
49
49
  const project = await this.typedoc.convert();
50
- if (project) await this.typedoc.generateDocs(project, this.config.docs.typedoc.outputPath);
50
+ if (project) await this.typedoc.generateDocs(project, this.config.typedoc.outputPath);
51
51
  }
52
52
  };
53
53
  }
@@ -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\";\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\ndeclare module \"powerlines\" {\n export interface UserConfig {\n typedoc?: TypeDocPluginOptions;\n }\n}\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 typedoc: defu(options, {\n outputPath: joinPaths(\n this.config.root,\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 } as Partial<TypeDocPluginUserConfig>;\n },\n async configResolved() {\n this.typedoc = await Application.bootstrapWithPlugins(\n {\n ...this.config.typedoc,\n exclude:\n this.config.typedoc.exclude ??\n this.tsconfig.tsconfigJson.exclude?.filter(Boolean) ??\n [],\n out: this.config.typedoc.outputPath,\n entryPoints: this.entry.map(entry =>\n appendPath(entry.file, this.config.root)\n ),\n ...this.config.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.typedoc.outputPath)) {\n await removeDirectory(this.config.typedoc.outputPath);\n }\n\n await createDirectory(this.config.typedoc.outputPath);\n\n const project = await this.typedoc.convert();\n if (project) {\n await this.typedoc.generateDocs(\n project,\n this.config.typedoc.outputPath\n );\n }\n }\n };\n}\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;AA+CA,SAAgB,OACd,UAAgC,EAAE,EACJ;AAC9B,QAAO;EACL,MAAM;EACN,MAAM,SAAS;AACb,QAAK,MACH,6EACD;AAED,UAAO,EACL,SAAS,KAAK,SAAS;IACrB,YAAY,UACV,KAAK,OAAO,MACZ,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;;EAEH,MAAM,iBAAiB;AACrB,QAAK,UAAU,MAAM,YAAY,qBAC/B;IACE,GAAG,KAAK,OAAO;IACf,SACE,KAAK,OAAO,QAAQ,WACpB,KAAK,SAAS,aAAa,SAAS,OAAO,QAAQ,IACnD,EAAE;IACJ,KAAK,KAAK,OAAO,QAAQ;IACzB,aAAa,KAAK,MAAM,KAAI,UAC1B,WAAW,MAAM,MAAM,KAAK,OAAO,KAAK,CACzC;IACD,GAAG,KAAK,OAAO,QAAQ;IACxB,EACD;IAAC,IAAI,eAAe;IAAE,IAAI,mBAAmB;IAAE,IAAI,gBAAgB;IAAC,CACrE;;EAEH,MAAM,OAAO;AACX,QAAK,MACH,wEACD;AAED,OAAI,WAAW,KAAK,OAAO,QAAQ,WAAW,CAC5C,OAAM,gBAAgB,KAAK,OAAO,QAAQ,WAAW;AAGvD,SAAM,gBAAgB,KAAK,OAAO,QAAQ,WAAW;GAErD,MAAM,UAAU,MAAM,KAAK,QAAQ,SAAS;AAC5C,OAAI,QACF,OAAM,KAAK,QAAQ,aACjB,SACA,KAAK,OAAO,QAAQ,WACrB;;EAGN;;AAGH,kBAAe"}
@@ -1,6 +1,4 @@
1
- import { UserConfig } from "powerlines/types/config";
2
- import { PluginContext } from "powerlines/types/context";
3
- import { ResolvedConfig } from "powerlines/types/resolved";
1
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
4
2
  import { Application, ProjectReflection, TypeDocOptions } from "typedoc";
5
3
 
6
4
  //#region src/types/plugin.d.ts
@@ -34,20 +32,16 @@ interface TypeDocPluginUserConfig extends UserConfig {
34
32
  /**
35
33
  * Options for the TypeDoc plugin.
36
34
  */
37
- docs?: {
38
- typedoc: TypeDocPluginOptions;
39
- };
35
+ typedoc: TypeDocPluginOptions;
40
36
  }
41
37
  interface TypeDocPluginResolvedConfig extends ResolvedConfig {
42
38
  /**
43
39
  * Options for the TypeDoc plugin.
44
40
  */
45
- docs: {
46
- typedoc: TypeDocOptions & {
47
- outputPath: string;
48
- baseUrl: string;
49
- override?: Partial<TypeDocOptions>;
50
- };
41
+ typedoc: TypeDocOptions & {
42
+ outputPath: string;
43
+ baseUrl: string;
44
+ override?: Partial<TypeDocOptions>;
51
45
  };
52
46
  }
53
47
  type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
@@ -1 +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
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UAqBiB,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;EAOiB,UAAA,CAAA,EAAA,MAAA;EAIN;;;;;EAOC,QAAA,CAAA,EAAA,MAAA;EACc;;;;;;aAtBb,QAAQ;;UAGJ,uBAAA,SAAgC;;;;WAItC;;UAGM,2BAAA,SAAoC;;;;WAI1C;;;eAGI,QAAQ;;;KAIX,6CACc,8BACtB,+BACA,cAAc;;;;WAIP"}
@@ -1,7 +1,5 @@
1
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";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
5
3
 
6
4
  //#region src/types/plugin.d.ts
7
5
  interface GenerateDocsOptions {
@@ -34,20 +32,16 @@ interface TypeDocPluginUserConfig extends UserConfig {
34
32
  /**
35
33
  * Options for the TypeDoc plugin.
36
34
  */
37
- docs?: {
38
- typedoc: TypeDocPluginOptions;
39
- };
35
+ typedoc: TypeDocPluginOptions;
40
36
  }
41
37
  interface TypeDocPluginResolvedConfig extends ResolvedConfig {
42
38
  /**
43
39
  * Options for the TypeDoc plugin.
44
40
  */
45
- docs: {
46
- typedoc: TypeDocOptions & {
47
- outputPath: string;
48
- baseUrl: string;
49
- override?: Partial<TypeDocOptions>;
50
- };
41
+ typedoc: TypeDocOptions & {
42
+ outputPath: string;
43
+ baseUrl: string;
44
+ override?: Partial<TypeDocOptions>;
51
45
  };
52
46
  }
53
47
  type TypeDocPluginContext<TResolvedConfig extends TypeDocPluginResolvedConfig = TypeDocPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
@@ -1 +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
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;UAqBiB,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;EAOiB,UAAA,CAAA,EAAA,MAAA;EAIN;;;;;EAOC,QAAA,CAAA,EAAA,MAAA;EACc;;;;;;aAtBb,QAAQ;;UAGJ,uBAAA,SAAgC;;;;WAItC;;UAGM,2BAAA,SAAoC;;;;WAI1C;;;eAGI,QAAQ;;;KAIX,6CACc,8BACtB,+BACA,cAAc;;;;WAIP"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-typedoc",
3
- "version": "0.10.297",
3
+ "version": "0.10.299",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running TypeDoc on the codebase.",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "default": "./dist/index.mjs"
54
54
  }
55
55
  },
56
- "./package.json": "./package.json",
56
+ "./*": "./*",
57
57
  "./types": {
58
58
  "require": {
59
59
  "types": "./dist/types/index.d.cts",
@@ -86,21 +86,21 @@
86
86
  "files": ["dist/**/*"],
87
87
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
88
88
  "dependencies": {
89
- "@storm-software/config-tools": "^1.189.9",
89
+ "@storm-software/config-tools": "^1.189.10",
90
90
  "@stryke/fs": "^0.33.43",
91
91
  "@stryke/path": "^0.26.6",
92
92
  "defu": "^6.1.4",
93
- "powerlines": "^0.38.56",
93
+ "powerlines": "^0.39.0",
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.240",
99
- "@types/node": "^25.3.0"
98
+ "@powerlines/plugin-plugin": "^0.12.242",
99
+ "@types/node": "^25.3.2"
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": "256020b11a6afd9decac143ca57eaba68d102906"
105
+ "gitHead": "0dcb16f054b8a69915b074578e6d4dfa3ecc1529"
106
106
  }