@powerlines/plugin-typedoc 0.10.55 → 0.10.56
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 +1 -7
- package/dist/index.d.cts +7 -26
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-BNfbliVw.d.cts +1700 -0
- package/dist/plugin-BNfbliVw.d.cts.map +1 -0
- package/dist/plugin-BrranLnT.d.mts +1700 -0
- package/dist/plugin-BrranLnT.d.mts.map +1 -0
- package/dist/plugin-Bvn-he2n.mjs +1 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -23
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +2 -23
- package/dist/types/plugin.d.mts +2 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types-B7VYa_Pp.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +30 -18
- package/dist/index-C-Su88lx.d.cts +0 -1611
- package/dist/index-C-Su88lx.d.ts +0 -1611
- package/dist/index.d.ts +0 -31
- package/dist/index.js +0 -7
- package/dist/types/index.d.ts +0 -23
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -23
- /package/dist/{types/plugin.js → plugin-DHXHjv16.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { T as TypeDocPluginOptions, P as Plugin, a as TypeDocPluginContext } from './index-C-Su88lx.js';
|
|
2
|
-
export { G as GenerateDocsOptions, c as TypeDocPluginResolvedConfig, b as TypeDocPluginUserConfig, _ as __ΩGenerateDocsOptions, g as __ΩTypeDocPluginContext, d as __ΩTypeDocPluginOptions, f as __ΩTypeDocPluginResolvedConfig, e as __ΩTypeDocPluginUserConfig } from './index-C-Su88lx.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
|
24
|
-
import 'typedoc';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* A Powerlines plugin to assist in generating documentation with TypeDoc.
|
|
28
|
-
*/
|
|
29
|
-
declare function plugin(options?: TypeDocPluginOptions): Plugin<TypeDocPluginContext>;
|
|
30
|
-
|
|
31
|
-
export { TypeDocPluginContext, TypeDocPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {LogLevelLabel}from'@storm-software/config-tools/types';import {existsSync}from'@stryke/fs/exists';import {removeDirectory,createDirectory}from'@stryke/fs/helpers';import {joinPaths}from'@stryke/path/join';import p from'defu';import {Application,TypeDocReader,PackageJsonReader,TSConfigReader}from'typedoc';export*from'./types';/*****************************************
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
var c=Object.defineProperty;var e=(o,t)=>c(o,"name",{value:t,configurable:true});function l(o={}){return {name:"typedoc",async config(){return this.log(LogLevelLabel.TRACE,"Providing default configuration for the Powerlines `typedoc` build plugin."),{docs:{typedoc:p(o,{outputPath:joinPaths(this.config.projectRoot,"docs","generated","api-reference"),baseUrl:"/docs/",excludeExternals:true,excludeInternal:true,excludePrivate:true,excludeProtected:true,hideGenerator:true,githubPages:false,readme:"none",gitRevision:this.workspaceConfig.branch||"main",tsconfig:this.tsconfig.tsconfigFilePath,plugin:o.plugin?[]:["typedoc-plugin-markdown"]})}}},async configResolved(){this.typedoc=await Application.bootstrapWithPlugins({...this.config.docs.typedoc,exclude:this.config.docs.typedoc.exclude??this.tsconfig.tsconfigJson.exclude?.filter(Boolean)??[],out:this.config.output.outputPath,entryPoints:this.entry.map(t=>joinPaths(this.config.projectRoot,t.file)),...this.config.docs.typedoc.override},[new TypeDocReader,new PackageJsonReader,new TSConfigReader]);},async docs(){this.log(LogLevelLabel.TRACE,"Generating documentation for the Powerlines application with TypeDoc."),existsSync(this.config.docs.typedoc.outputPath)&&await removeDirectory(this.config.docs.typedoc.outputPath),await createDirectory(this.config.docs.typedoc.outputPath);const t=await this.typedoc.convert();t&&await this.typedoc.generateDocs(t,this.config.docs.typedoc.outputPath);}}}e(l,"plugin");var A=l;export{A as default,l as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export { G as GenerateDocsOptions, a as TypeDocPluginContext, T as TypeDocPluginOptions, c as TypeDocPluginResolvedConfig, b as TypeDocPluginUserConfig, _ as __ΩGenerateDocsOptions, g as __ΩTypeDocPluginContext, d as __ΩTypeDocPluginOptions, f as __ΩTypeDocPluginResolvedConfig, e as __ΩTypeDocPluginUserConfig } from '../index-C-Su88lx.js';
|
|
2
|
-
import '@storm-software/build-tools/types';
|
|
3
|
-
import '@storm-software/config-tools/types';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
|
-
import '@stryke/types/base';
|
|
6
|
-
import '@stryke/types/configuration';
|
|
7
|
-
import '@stryke/types/file';
|
|
8
|
-
import 'vite';
|
|
9
|
-
import '@stryke/env/get-env-paths';
|
|
10
|
-
import '@stryke/http/fetch';
|
|
11
|
-
import '@stryke/types/package-json';
|
|
12
|
-
import 'jiti';
|
|
13
|
-
import 'magic-string';
|
|
14
|
-
import 'oxc-parser';
|
|
15
|
-
import 'semver';
|
|
16
|
-
import 'ts-morph';
|
|
17
|
-
import 'undici';
|
|
18
|
-
import 'unplugin';
|
|
19
|
-
import '@stryke/fs/resolve';
|
|
20
|
-
import '@stryke/types/tsconfig';
|
|
21
|
-
import 'typescript';
|
|
22
|
-
import '@stryke/types/array';
|
|
23
|
-
import 'typedoc';
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from'./plugin';
|
package/dist/types/plugin.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export { G as GenerateDocsOptions, a as TypeDocPluginContext, T as TypeDocPluginOptions, c as TypeDocPluginResolvedConfig, b as TypeDocPluginUserConfig, _ as __ΩGenerateDocsOptions, g as __ΩTypeDocPluginContext, d as __ΩTypeDocPluginOptions, f as __ΩTypeDocPluginResolvedConfig, e as __ΩTypeDocPluginUserConfig } from '../index-C-Su88lx.js';
|
|
2
|
-
import 'typedoc';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
|
File without changes
|