@rspress/plugin-typedoc 2.0.0-beta.31 → 2.0.0-beta.33

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.
Files changed (2) hide show
  1. package/dist/es/index.js +1 -2
  2. package/package.json +5 -5
package/dist/es/index.js CHANGED
@@ -2,7 +2,6 @@ import path from "path";
2
2
  import { Application, TSConfigReader } from "typedoc";
3
3
  import { load } from "typedoc-plugin-markdown";
4
4
  import promises from "fs/promises";
5
- const API_DIR = 'api';
6
5
  async function patchLinks(outputDir) {
7
6
  const normalizeLinksInFile = async (filePath)=>{
8
7
  const content = await promises.readFile(filePath, 'utf-8');
@@ -51,7 +50,7 @@ async function patchGeneratedApiDocs(absoluteApiDir) {
51
50
  }
52
51
  function pluginTypeDoc(options) {
53
52
  let docRoot;
54
- const { entryPoints = [], outDir = API_DIR } = options;
53
+ const { entryPoints = [], outDir = "api" } = options;
55
54
  return {
56
55
  name: '@rspress/plugin-typedoc',
57
56
  async config (config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-typedoc",
3
- "version": "2.0.0-beta.31",
3
+ "version": "2.0.0-beta.33",
4
4
  "description": "A plugin for rspress to integrate typedoc",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -32,10 +32,10 @@
32
32
  "typedoc-plugin-markdown": "3.17.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@microsoft/api-extractor": "^7.52.11",
36
- "@rslib/core": "0.12.4",
35
+ "@microsoft/api-extractor": "^7.52.13",
36
+ "@rslib/core": "0.13.2",
37
37
  "@types/node": "^22.8.1",
38
- "@types/react": "^19.1.12",
38
+ "@types/react": "^19.1.13",
39
39
  "@types/react-dom": "^19.1.9",
40
40
  "react": "^19.1.1",
41
41
  "rsbuild-plugin-publint": "^0.3.3",
@@ -43,7 +43,7 @@
43
43
  "@rspress/config": "1.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@rspress/core": "^2.0.0-beta.31"
46
+ "@rspress/core": "^2.0.0-beta.33"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=18.0.0"