@rsdoctor/docs 1.0.0-alpha.4 → 1.0.0-beta.1

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.
@@ -14,5 +14,5 @@ Currently, the compilation rules include:
14
14
  [Rule List](../more/rules)
15
15
  :::
16
16
 
17
- - `E1002` Default Import Check.
17
+ - `E1005` Default Import Check.
18
18
  - `E1003` Loader Performance Optimization.
@@ -108,6 +108,6 @@ type RuleConfigItem =
108
108
  There are already three rules included in the existing diagnostic tool, which are:
109
109
 
110
110
  1. [[E1001] Duplicate Packages](./bundle-alerts#%E9%87%8D%E5%A4%8D%E7%AC%AC%E4%B8%89%E6%96%B9%E5%8C%85)
111
- 2. [[E1002] Default Import Check](../more/rules)
111
+ 2. [[E1005] Default Import Check](../more/rules)
112
112
  3. [[E1003] Loader Performance Optimization](../more/rules)
113
113
  4. [[E1004] ECMA Version Check](../more/rules)
package/docs/en/index.md CHANGED
@@ -1,38 +1,4 @@
1
1
  ---
2
2
  pageType: home
3
-
4
- hero:
5
- name: Rsdoctor
6
- text: Analyzer for Rspack & Webpack
7
- tagline: Visualize the building process
8
- actions:
9
- - theme: brand
10
- text: Introduction
11
- link: /guide/start/intro
12
- - theme: alt
13
- text: Quick Start
14
- link: /guide/start/quick-start
15
- image:
16
- src: https://assets.rspack.dev/rsdoctor/rsdoctor-logo-960x960.png
17
- alt: Rsdoctor Logo
18
-
19
- features:
20
- - title: Unlimited Framework
21
- details: Rsdoctor support all projects built on Webpack or Rspack.
22
- icon: 🛠️
23
- - title: Compile’s Time
24
- details: To display the compile execution time and process in the form of a timing diagram.
25
- icon: 🚀
26
- - title: Compile’s Actions
27
- details: Visually view the compilation changes of each file in each loader.
28
- icon: 🦄
29
- - title: Bundle Analysis
30
- details: Visually view the bundles & modules relationship, module reference relationship and repeated packages in detail.
31
- icon: 🎯
32
- - title: Bundle Diff
33
- details: Through comparison, the deterioration and change of the product are found.
34
- icon: 🎨
35
- - title: Build Scan
36
- details: Built-in build rule scanning, and also supports custom rules.
37
- icon: 🔍
3
+ titleSuffix: ' - Build Analyzer'
38
4
  ---
@@ -14,5 +14,5 @@
14
14
  [规则列表](../more/rules)
15
15
  :::
16
16
 
17
- - `E1002` 默认导入检查。
17
+ - `E1005` 默认导入检查。
18
18
  - `E1003` Loader 性能检查。
@@ -109,6 +109,6 @@ type RuleConfigItem =
109
109
  在现有的诊断器中已经包含了三个规则,它们分别是:
110
110
 
111
111
  1. [[E1001] Duplicate Packages](./bundle-alerts#%E9%87%8D%E5%A4%8D%E7%AC%AC%E4%B8%89%E6%96%B9%E5%8C%85)
112
- 2. [[E1002] Default Import Check](../more/rules)
112
+ 2. [[E1005] Default Import Check](../more/rules)
113
113
  3. [[E1003] Loader Performance Optimization](../more/rules)
114
114
  4. [[E1004] ECMA Version Check](../more/rules)
package/docs/zh/index.md CHANGED
@@ -1,38 +1,4 @@
1
1
  ---
2
2
  pageType: home
3
-
4
- hero:
5
- name: Rsdoctor
6
- text: Rspack & Webpack 构建分析工具
7
- tagline: 让构建过程可视化
8
- actions:
9
- - theme: brand
10
- text: 介绍
11
- link: /zh/guide/start/intro
12
- - theme: alt
13
- text: 快速开始
14
- link: /zh/guide/start/quick-start
15
- image:
16
- src: https://assets.rspack.dev/rsdoctor/rsdoctor-logo-960x960.png
17
- alt: Rsdoctor Logo
18
-
19
- features:
20
- - title: 框架无关
21
- details: Rsdoctor 支持分析用 Webpack 和 Rspack 构建的项目。
22
- icon: 🛠️
23
- - title: 构建时分析
24
- details: 以时序图的形式显示编译执行时间和过程。
25
- icon: 🚀
26
- - title: 构建行为分析
27
- details: 可视化的查看每个 loader 对每个文件的编译更改。
28
- icon: 🦄
29
- - title: 构建产物分析
30
- details: 直观地详细查看 Bundle 和模块关系、模块引用关系和重复包等产物详情。
31
- icon: 🎯
32
- - title: 产物对比
33
- details: 通过对比发现产物劣化及变动。
34
- icon: 🎨
35
- - title: 构建扫描
36
- details: 内置构建规则扫描,同时支持自定义规则。
37
- icon: 🔍
3
+ titleSuffix: ' - 构建分析工具'
38
4
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/docs",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-beta.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -19,7 +19,7 @@
19
19
  "registry": "https://registry.npmjs.org/"
20
20
  },
21
21
  "devDependencies": {
22
- "@rspress/plugin-rss": "1.41.0",
22
+ "@rspress/plugin-rss": "1.41.3",
23
23
  "@types/node": "^16",
24
24
  "@types/react": "^18.3.18",
25
25
  "@types/react-dom": "^18.3.5",
@@ -30,12 +30,12 @@
30
30
  "rspress-plugin-font-open-sans": "^1.0.0",
31
31
  "rspress-plugin-sitemap": "^1.1.1",
32
32
  "typescript": "^5.2.2",
33
- "@rsdoctor/types": "1.0.0-alpha.4"
33
+ "@rsdoctor/types": "1.0.0-beta.1"
34
34
  },
35
35
  "dependencies": {
36
- "@rstack-dev/doc-ui": "1.6.0",
36
+ "@rstack-dev/doc-ui": "1.7.2",
37
37
  "react-markdown": "^9.0.3",
38
- "rspress": "1.41.0"
38
+ "rspress": "1.41.3"
39
39
  },
40
40
  "scripts": {
41
41
  "dev": "rspress dev",