@modern-js/module-tools-docs 2.25.2 → 2.26.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @modern-js/module-tools-docs
2
2
 
3
+ ## 2.26.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/doc-tools@2.26.0
8
+ - @modern-js/doc-plugin-auto-sidebar@2.26.0
9
+
3
10
  ## 2.25.2
4
11
 
5
12
  ### Patch Changes
@@ -36,7 +36,7 @@ export default {
36
36
  };
37
37
  ```
38
38
 
39
- After the above configuration is done, if `@common/Foo.tsx` is referenced in the code, it will map to the `<root>/src/common/Foo.tsx` path.
39
+ After the above configuration is done, if `@common/Foo.tsx` is referenced in the code, it will map to the `<project>/src/common/Foo.tsx` path.
40
40
 
41
41
  When the value of `alias` is defined as a function, you can accept the pre-defined alias object and modify it.
42
42
 
@@ -36,7 +36,7 @@ export default defineConfig({
36
36
  });
37
37
  ```
38
38
 
39
- 以上配置完成后,如果在代码中引用 `@common/Foo.tsx`, 则会映射到 `<root>/src/common/Foo.tsx` 路径上。
39
+ 以上配置完成后,如果在代码中引用 `@common/Foo.tsx`, 则会映射到 `<project>/src/common/Foo.tsx` 路径上。
40
40
 
41
41
  `alias` 的值定义为函数时,可以接受预设的 alias 对象,并对其进行修改。
42
42
 
package/package.json CHANGED
@@ -9,15 +9,15 @@
9
9
  "directory": "packages/document/module-doc"
10
10
  },
11
11
  "license": "MIT",
12
- "version": "2.25.2",
12
+ "version": "2.26.0",
13
13
  "main": "index.js",
14
14
  "dependencies": {
15
15
  "@code-hike/mdx": "^0.7.4",
16
16
  "react": "^18.2.0",
17
17
  "react-dom": "^18.2.0",
18
18
  "shiki": "^0.11.1",
19
- "@modern-js/doc-tools": "2.25.2",
20
- "@modern-js/doc-plugin-auto-sidebar": "2.25.2"
19
+ "@modern-js/doc-tools": "2.26.0",
20
+ "@modern-js/doc-plugin-auto-sidebar": "2.26.0"
21
21
  },
22
22
  "scripts": {
23
23
  "dev": "modern dev",