@rspress/plugin-typedoc 2.0.20 → 2.0.22
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.js +2 -2
- package/package.json +5 -6
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import node_path from "node:path";
|
|
2
2
|
import { cwd } from "node:process";
|
|
3
3
|
import { Application } from "typedoc";
|
|
4
|
-
import { load } from "typedoc-plugin-markdown";
|
|
4
|
+
import { load as external_typedoc_plugin_markdown_load } from "typedoc-plugin-markdown";
|
|
5
5
|
import promises from "node:fs/promises";
|
|
6
6
|
async function generateMetaJson(absoluteApiDir) {
|
|
7
7
|
const metaJsonPath = node_path.join(absoluteApiDir, '_meta.json');
|
|
@@ -47,7 +47,7 @@ function pluginTypeDoc(options) {
|
|
|
47
47
|
'Interface'
|
|
48
48
|
],
|
|
49
49
|
plugin: [
|
|
50
|
-
|
|
50
|
+
external_typedoc_plugin_markdown_load
|
|
51
51
|
],
|
|
52
52
|
entryFileName: 'index',
|
|
53
53
|
hidePageHeader: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/plugin-typedoc",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.22",
|
|
4
4
|
"description": "A plugin for rspress to integrate typedoc",
|
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
|
6
6
|
"repository": {
|
|
@@ -22,14 +22,13 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"typedoc": "0.28.20",
|
|
25
|
-
"typedoc-plugin-markdown": "4.
|
|
25
|
+
"typedoc-plugin-markdown": "4.13.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@microsoft/api-extractor": "^7.59.0",
|
|
29
|
-
"@rslib/core": "1.0.0-rc.0",
|
|
30
29
|
"@types/node": "^22.8.1",
|
|
31
30
|
"@types/react": "^19.2.18",
|
|
32
|
-
"@types/react-dom": "^19.2.
|
|
31
|
+
"@types/react-dom": "^19.2.7",
|
|
33
32
|
"react": "^19.2.8",
|
|
34
33
|
"rsbuild-plugin-publint": "^1.0.0",
|
|
35
34
|
"typescript": "^6.0.3",
|
|
@@ -46,8 +45,8 @@
|
|
|
46
45
|
"registry": "https://registry.npmjs.org/"
|
|
47
46
|
},
|
|
48
47
|
"scripts": {
|
|
49
|
-
"build": "
|
|
50
|
-
"dev": "
|
|
48
|
+
"build": "rs lib",
|
|
49
|
+
"dev": "rs lib -w",
|
|
51
50
|
"reset": "rimraf ./**/node_modules"
|
|
52
51
|
}
|
|
53
52
|
}
|