@powerlines/plugin-typedoc 0.10.131 → 0.10.132
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/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/index.cjs +2 -30
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +0 -2
- package/dist/powerlines/src/types/babel.d.mts +2 -0
- package/dist/powerlines/src/types/build.d.cts +145 -0
- package/dist/powerlines/src/types/build.d.mts +145 -0
- package/dist/powerlines/src/types/commands.d.cts +8 -0
- package/dist/powerlines/src/types/commands.d.mts +9 -0
- package/dist/powerlines/src/types/config.d.cts +376 -0
- package/dist/powerlines/src/types/config.d.mts +376 -0
- package/dist/powerlines/src/types/context.d.cts +403 -0
- package/dist/powerlines/src/types/context.d.mts +405 -0
- package/dist/powerlines/src/types/fs.d.cts +486 -0
- package/dist/powerlines/src/types/fs.d.mts +486 -0
- package/dist/powerlines/src/types/hooks.d.mts +2 -0
- package/dist/powerlines/src/types/plugin.d.cts +231 -0
- package/dist/powerlines/src/types/plugin.d.mts +231 -0
- package/dist/powerlines/src/types/resolved.d.cts +81 -0
- package/dist/powerlines/src/types/resolved.d.mts +81 -0
- package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
- package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +64 -1
- package/dist/types/plugin.d.mts +64 -1
- package/dist/types/plugin.mjs +0 -2
- package/package.json +4 -4
- package/dist/index-BgAdqTbb.d.mts +0 -1
- package/dist/index-CEgs-Dz2.d.cts +0 -1
- package/dist/plugin-C3MaN5jp.mjs +0 -1
- package/dist/plugin-CXv0bOCa.d.cts +0 -1816
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/plugin-eh7gcj9k.d.mts +0 -1816
- package/dist/types-CTUnla4x.mjs +0 -1
- package/dist/types-DHkg7xmX.cjs +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
2
|
+
import ts from "typescript";
|
|
3
|
+
|
|
4
|
+
//#region ../powerlines/src/types/tsconfig.d.ts
|
|
5
|
+
type ReflectionMode = "default" | "explicit" | "never";
|
|
6
|
+
type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
12
|
+
* - `minimal` - Only the essential type information is captured.
|
|
13
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
14
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
15
|
+
*/
|
|
16
|
+
type ReflectionLevel = "minimal" | "normal" | "verbose";
|
|
17
|
+
interface DeepkitOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Either true to activate reflection for all files compiled using this tsconfig,
|
|
20
|
+
* or a list of globs/file paths relative to this tsconfig.json.
|
|
21
|
+
* Globs/file paths can be prefixed with a ! to exclude them.
|
|
22
|
+
*/
|
|
23
|
+
reflection?: RawReflectionMode;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
29
|
+
* - `minimal` - Only the essential type information is captured.
|
|
30
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
31
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
32
|
+
*/
|
|
33
|
+
reflectionLevel?: ReflectionLevel;
|
|
34
|
+
}
|
|
35
|
+
type TSCompilerOptions = CompilerOptions & DeepkitOptions;
|
|
36
|
+
/**
|
|
37
|
+
* The TypeScript compiler configuration.
|
|
38
|
+
*
|
|
39
|
+
* @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
|
|
40
|
+
*/
|
|
41
|
+
interface TSConfig extends Omit<TsConfigJson, "reflection"> {
|
|
42
|
+
/**
|
|
43
|
+
* Either true to activate reflection for all files compiled using this tsconfig,
|
|
44
|
+
* or a list of globs/file paths relative to this tsconfig.json.
|
|
45
|
+
* Globs/file paths can be prefixed with a ! to exclude them.
|
|
46
|
+
*/
|
|
47
|
+
reflection?: RawReflectionMode;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
53
|
+
* - `minimal` - Only the essential type information is captured.
|
|
54
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
55
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
56
|
+
*/
|
|
57
|
+
reflectionLevel?: ReflectionLevel;
|
|
58
|
+
/**
|
|
59
|
+
* Instructs the TypeScript compiler how to compile `.ts` files.
|
|
60
|
+
*/
|
|
61
|
+
compilerOptions?: TSCompilerOptions;
|
|
62
|
+
}
|
|
63
|
+
type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
64
|
+
originalTsconfigJson: TsConfigJson;
|
|
65
|
+
tsconfigJson: TSConfig;
|
|
66
|
+
tsconfigFilePath: string;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { ParsedTypeScriptConfig, TSConfig };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
2
|
+
import ts from "typescript";
|
|
3
|
+
|
|
4
|
+
//#region ../powerlines/src/types/tsconfig.d.ts
|
|
5
|
+
type ReflectionMode = "default" | "explicit" | "never";
|
|
6
|
+
type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
12
|
+
* - `minimal` - Only the essential type information is captured.
|
|
13
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
14
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
15
|
+
*/
|
|
16
|
+
type ReflectionLevel = "minimal" | "normal" | "verbose";
|
|
17
|
+
interface DeepkitOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Either true to activate reflection for all files compiled using this tsconfig,
|
|
20
|
+
* or a list of globs/file paths relative to this tsconfig.json.
|
|
21
|
+
* Globs/file paths can be prefixed with a ! to exclude them.
|
|
22
|
+
*/
|
|
23
|
+
reflection?: RawReflectionMode;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
29
|
+
* - `minimal` - Only the essential type information is captured.
|
|
30
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
31
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
32
|
+
*/
|
|
33
|
+
reflectionLevel?: ReflectionLevel;
|
|
34
|
+
}
|
|
35
|
+
type TSCompilerOptions = CompilerOptions & DeepkitOptions;
|
|
36
|
+
/**
|
|
37
|
+
* The TypeScript compiler configuration.
|
|
38
|
+
*
|
|
39
|
+
* @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
|
|
40
|
+
*/
|
|
41
|
+
interface TSConfig extends Omit<TsConfigJson, "reflection"> {
|
|
42
|
+
/**
|
|
43
|
+
* Either true to activate reflection for all files compiled using this tsconfig,
|
|
44
|
+
* or a list of globs/file paths relative to this tsconfig.json.
|
|
45
|
+
* Globs/file paths can be prefixed with a ! to exclude them.
|
|
46
|
+
*/
|
|
47
|
+
reflection?: RawReflectionMode;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the level of reflection to be used during the transpilation process.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
|
|
53
|
+
* - `minimal` - Only the essential type information is captured.
|
|
54
|
+
* - `normal` - Additional type information is captured, including some contextual data.
|
|
55
|
+
* - `verbose` - All available type information is captured, including detailed contextual data.
|
|
56
|
+
*/
|
|
57
|
+
reflectionLevel?: ReflectionLevel;
|
|
58
|
+
/**
|
|
59
|
+
* Instructs the TypeScript compiler how to compile `.ts` files.
|
|
60
|
+
*/
|
|
61
|
+
compilerOptions?: TSCompilerOptions;
|
|
62
|
+
}
|
|
63
|
+
type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
64
|
+
originalTsconfigJson: TsConfigJson;
|
|
65
|
+
tsconfigJson: TSConfig;
|
|
66
|
+
tsconfigFilePath: string;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { ParsedTypeScriptConfig, TSConfig };
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
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 };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
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 };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,65 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserConfig } from "../powerlines/src/types/config.cjs";
|
|
2
|
+
import { ResolvedConfig } from "../powerlines/src/types/resolved.cjs";
|
|
3
|
+
import { PluginContext } from "../powerlines/src/types/context.cjs";
|
|
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
|
|
2
65
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,65 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserConfig } from "../powerlines/src/types/config.mjs";
|
|
2
|
+
import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
|
|
3
|
+
import { PluginContext } from "../powerlines/src/types/context.mjs";
|
|
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
|
|
2
65
|
export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig, __ΩGenerateDocsOptions, __ΩTypeDocPluginContext, __ΩTypeDocPluginOptions, __ΩTypeDocPluginResolvedConfig, __ΩTypeDocPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-typedoc",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.132",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running TypeDoc on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -103,16 +103,16 @@
|
|
|
103
103
|
"@storm-software/config-tools": "^1.188.75",
|
|
104
104
|
"@stryke/fs": "^0.33.27",
|
|
105
105
|
"@stryke/path": "^0.24.1",
|
|
106
|
-
"powerlines": "^0.36.
|
|
106
|
+
"powerlines": "^0.36.28",
|
|
107
107
|
"typedoc": "0.25.12",
|
|
108
108
|
"typedoc-plugin-markdown": "4.0.0-next.20"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@powerlines/nx": "^0.11.
|
|
111
|
+
"@powerlines/nx": "^0.11.54",
|
|
112
112
|
"@storm-software/tsup": "^0.2.73",
|
|
113
113
|
"@types/node": "^24.10.4",
|
|
114
114
|
"tsup": "8.4.0"
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": { "access": "public" },
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "6891ff1330798e807c4caef6134df09d9f57686d"
|
|
118
118
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/plugin-C3MaN5jp.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|