@rsdoctor/docs 1.4.0 → 1.4.1-beta.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/docs/en/blog/release/release-note-1_0.mdx +1 -1
- package/docs/en/guide/rules/rules.mdx +1 -3
- package/docs/en/guide/start/intro.mdx +1 -1
- package/docs/zh/blog/release/release-note-1_0.mdx +1 -1
- package/docs/zh/guide/rules/rules.mdx +1 -3
- package/docs/zh/guide/start/intro.mdx +1 -1
- package/package.json +5 -5
|
@@ -46,7 +46,7 @@ Based on the above situation, we decided to develop a build analyzer focused on
|
|
|
46
46
|
|
|
47
47
|
We designed an intuitive user interface for Rsdoctor, and Rsdoctor extends the **loader profiling capability** by combining the advantages of multiple tools to more deeply analyze the loader behavior in the compilation phase, **built-in the scanning and detection rules for artifacts and compilation**, and supports user **custom rules**.
|
|
48
48
|
|
|
49
|
-
Rsdoctor not only supports Rspack and webpack, but also supports all tools and frameworks based on Rspack or webpack, such as: [Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor), [Rspeedy (Lynx)](https://lynxjs.org/rspeedy/), [Storybook](https://github.com/
|
|
49
|
+
Rsdoctor not only supports Rspack and webpack, but also supports all tools and frameworks based on Rspack or webpack, such as: [Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor), [Rspeedy (Lynx)](https://lynxjs.org/rspeedy/), [Storybook](https://github.com/rstackjs/storybook-rsbuild), [Next.js](https://nextjs.org/), [Nuxt](https://nuxt.com/), [Re.Pack](https://re-pack.dev/), [Modern.js](https://modernjs.dev/), [Rsbuild](https://rsbuild.rs/), [Rspress](https://rspress.rs/) and [Rslib](https://rslib.rs/).
|
|
50
50
|
|
|
51
51
|
Rsdoctor can be used to:
|
|
52
52
|
|
|
@@ -31,11 +31,9 @@ Please refer to the [Linter Type](#linter-type) in this document for the type de
|
|
|
31
31
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alerts.png" />
|
|
32
32
|
|
|
33
33
|
- Clicking the icon to expand the duplicate package details allows you to see: the name, version, size, and reference files of the duplicate package.
|
|
34
|
-
|
|
35
34
|
- Clicking the **「Show Relations」** on the far right can view the specific reference chain and the corresponding reference file code position of this third-party package.
|
|
36
35
|
|
|
37
36
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alters-relations.png" />
|
|
38
|
-
|
|
39
37
|
- Clicking the **「!(exclamation mark)」** icon on the far right can view the specific explanation of the rule for the duplicate third-party package.
|
|
40
38
|
|
|
41
39
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alters-rule.png" />
|
|
@@ -203,7 +201,7 @@ type CheckSyntaxOptions = {
|
|
|
203
201
|
};
|
|
204
202
|
```
|
|
205
203
|
|
|
206
|
-
For more `ECMA Version Check` configuration options, please refer to [ECMA Version Check Options](https://github.com/
|
|
204
|
+
For more `ECMA Version Check` configuration options, please refer to [ECMA Version Check Options](https://github.com/rstackjs/rsbuild-plugin-check-syntax?tab=readme-ov-file#options)
|
|
207
205
|
|
|
208
206
|
### [E1005] Default import check
|
|
209
207
|
|
|
@@ -4,7 +4,7 @@ Rsdoctor is a build analyzer tailored for the [Rspack](https://rspack.rs/) ecosy
|
|
|
4
4
|
|
|
5
5
|
Rsdoctor is committed to being a one-stop, intelligent build analyzer that makes the build process transparent, predictable, and optimizable through visualization and smart analysis, helping development teams precisely identify bottlenecks, optimize performance, and improve engineering quality.
|
|
6
6
|
|
|
7
|
-
Rsdoctor supports all tools and frameworks based on Rspack or webpack, such as: [Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor), [Rspeedy (Lynx)](https://lynxjs.org/rspeedy/), [Storybook](https://github.com/
|
|
7
|
+
Rsdoctor supports all tools and frameworks based on Rspack or webpack, such as: [Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor), [Rspeedy (Lynx)](https://lynxjs.org/rspeedy/), [Storybook](https://github.com/rstackjs/storybook-rsbuild), [Next.js](https://nextjs.org/), [Nuxt](https://nuxt.com/), [Re.Pack](https://re-pack.dev/), [Modern.js](https://modernjs.dev/), [Rsbuild](https://rsbuild.rs/), [Rspress](https://rspress.rs/) and [Rslib](https://rslib.rs/).
|
|
8
8
|
|
|
9
9
|
<video
|
|
10
10
|
src="https://assets.rspack.rs/others/assets/rsdoctor/rsdoctor-1.0-ui.mp4"
|
|
@@ -46,7 +46,7 @@ Rsdoctor 致力于成为一站式、智能化的构建分析工具,通过可
|
|
|
46
46
|
|
|
47
47
|
我们为 Rsdoctor 设计了直观的用户界面,将构建数据可视化。同时,Rsdoctor 在结合多种工具的基础上,额外扩展了 loader 分析能力以更深入 loader 的编译行为,内置了产物及编译的扫描和检测规则,并支持用户自定义规则。
|
|
48
48
|
|
|
49
|
-
Rsdoctor 不仅支持 Rspack 和 webpack,也支持所有基于 Rspack 或 webpack 的工具和框架,例如:[Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor)、[Rspeedy (Lynx)](https://lynxjs.org/rspeedy/)、[Storybook](https://github.com/
|
|
49
|
+
Rsdoctor 不仅支持 Rspack 和 webpack,也支持所有基于 Rspack 或 webpack 的工具和框架,例如:[Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor)、[Rspeedy (Lynx)](https://lynxjs.org/rspeedy/)、[Storybook](https://github.com/rstackjs/storybook-rsbuild)、[Next.js](https://nextjs.org/)、[Nuxt](https://nuxt.com/)、[Re.Pack](https://re-pack.dev/)、[Modern.js](https://modernjs.dev/)、[Rsbuild](https://rsbuild.rs/)、[Rspress](https://rspress.rs/) 和 [Rslib](https://rslib.rs/) 等。
|
|
50
50
|
|
|
51
51
|
Rsdoctor 可以被用于:
|
|
52
52
|
|
|
@@ -28,11 +28,9 @@
|
|
|
28
28
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alerts.png" />
|
|
29
29
|
|
|
30
30
|
- 点击图标展开重复包详情,可以看到:重复包的包名、版本、大小、引用文件。
|
|
31
|
-
|
|
32
31
|
- 点击最右侧 **「Show Relations」** 可以查看具体这个第三方的引用链路和对应的引用文件代码位置。
|
|
33
32
|
|
|
34
33
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alters-relations.png" />
|
|
35
|
-
|
|
36
34
|
- 点击最右侧 **「!(叹号)」** 图标,可以查看重复第三方包的规则的具体解释。
|
|
37
35
|
|
|
38
36
|
<img src="https://assets.rspack.rs/others/assets/rsdoctor/bundle-alters-rule.png" />
|
|
@@ -200,7 +198,7 @@ type CheckSyntaxOptions = {
|
|
|
200
198
|
};
|
|
201
199
|
```
|
|
202
200
|
|
|
203
|
-
更多 `ECMA Version Check` 配置请参考 [ECMA Version Check Options](https://github.com/
|
|
201
|
+
更多 `ECMA Version Check` 配置请参考 [ECMA Version Check Options](https://github.com/rstackjs/rsbuild-plugin-check-syntax?tab=readme-ov-file#options)
|
|
204
202
|
|
|
205
203
|
### [E1005] Default import check
|
|
206
204
|
|
|
@@ -4,7 +4,7 @@ Rsdoctor 是一款为 [Rspack](https://rspack.rs/) 生态量身打造的构建
|
|
|
4
4
|
|
|
5
5
|
Rsdoctor 致力于成为一站式、智能化的构建分析工具,通过可视化与智能分析,使整个构建流程变得透明、可预测和可优化,从而帮助开发团队精准定位瓶颈、优化性能并提升工程质量。
|
|
6
6
|
|
|
7
|
-
Rsdoctor 支持所有基于 Rspack 或 webpack 的工具和框架,例如:[Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor)、[Rspeedy (Lynx)](https://lynxjs.org/rspeedy/)、[Storybook](https://github.com/
|
|
7
|
+
Rsdoctor 支持所有基于 Rspack 或 webpack 的工具和框架,例如:[Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor)、[Rspeedy (Lynx)](https://lynxjs.org/rspeedy/)、[Storybook](https://github.com/rstackjs/storybook-rsbuild)、[Next.js](https://nextjs.org/)、[Nuxt](https://nuxt.com/)、[Re.Pack](https://re-pack.dev/)、[Modern.js](https://modernjs.dev/)、[Rsbuild](https://rsbuild.rs/)、[Rspress](https://rspress.rs/) 和 [Rslib](https://rslib.rs/) 等。
|
|
8
8
|
|
|
9
9
|
<video
|
|
10
10
|
src="https://assets.rspack.rs/others/assets/rsdoctor/rsdoctor-1.0-ui.mp4"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/docs",
|
|
3
|
-
"version": "1.4.0",
|
|
3
|
+
"version": "1.4.1-beta.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"registry": "https://registry.npmjs.org/"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@rspress/plugin-algolia": "2.0.0-rc.
|
|
22
|
-
"@rspress/plugin-llms": "2.0.0-rc.
|
|
21
|
+
"@rspress/plugin-algolia": "2.0.0-rc.5",
|
|
22
|
+
"@rspress/plugin-llms": "2.0.0-rc.5",
|
|
23
23
|
"@rspress/plugin-rss": "2.0.0-rc.0",
|
|
24
24
|
"@types/node": "^22.8.1",
|
|
25
25
|
"@types/react": "^18.3.27",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"rspress-plugin-sitemap": "^1.2.1",
|
|
34
34
|
"typescript": "^5.9.2",
|
|
35
35
|
"@rsbuild/plugin-sass": "^1.4.0",
|
|
36
|
-
"@rsdoctor/types": "1.4.0"
|
|
36
|
+
"@rsdoctor/types": "1.4.1-beta.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@rstack-dev/doc-ui": "1.12.2",
|
|
40
40
|
"clsx": "^2.1.1",
|
|
41
41
|
"react-markdown": "^9.1.0",
|
|
42
|
-
"@rspress/core": "2.0.0-rc.
|
|
42
|
+
"@rspress/core": "2.0.0-rc.5"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"dev": "cross-env RSPRESS_PERSIST_CACHE=false rspress dev",
|