@modern-js/main-doc 0.0.0-nightly-20231118171502 → 0.0.0-nightly-20231120170640

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.
@@ -178,6 +178,16 @@ pnpm run lint
178
178
 
179
179
  ---
180
180
 
181
+ ## Benchmarking
182
+
183
+ You can input `!bench-framework` or `!bench-module` in the comment area of ​​the PR to do benchmarking on `@modern-js/app-tools` and `@modern-js/module-tools` respectively (you need to have Collaborator and above permissions).
184
+
185
+ You can focus on metrics related to build time and bundle size based on the comparison table output by comments to assist you in making relevant performance judgments and decisions.
186
+
187
+ Dependencies installation-related metrics base on publishing process, so the data is relatively lagging and is for reference only.
188
+
189
+ ---
190
+
181
191
  ## Documentation
182
192
 
183
193
  Currently Modern.js provides documentation in English and Chinese. If you can use Chinese, please update both documents at the same time. Otherwise, just update the English documentation.
@@ -177,6 +177,16 @@ pnpm run lint
177
177
 
178
178
  ---
179
179
 
180
+ ## Benchmarking
181
+
182
+ 你可以在 PR 的评论区中输入 `!bench-framework` 或 `!bench-module` 分别对 `@modern-js/app-tools` 和 `@modern-js/module-tools` 做性能测试(这需要你具有 Collaborator 及以上的权限)。
183
+
184
+ 你可以根据评论输出的对比表格,重点关注构建时间和产物体积相关的指标,辅助进行相关性能判断与决策。
185
+
186
+ 依赖安装相关指标由于需要前置的发包流程,因此数据相对有滞后性,仅供参考。
187
+
188
+ ---
189
+
180
190
  ## 文档
181
191
 
182
192
  目前 Modern.js 提供英文和中文文档。如果你熟悉中文,请同时更新中英文文档。否则,只需更新英文文档即可。
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20231118171502",
18
+ "version": "0.0.0-nightly-20231120170640",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20231118171502"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20231120170640"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20231118171502"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20231120170640"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.6.2",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "^9",
42
- "@modern-js/builder-doc": "0.0.0-nightly-20231118171502",
43
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20231118171502"
42
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20231120170640",
43
+ "@modern-js/builder-doc": "0.0.0-nightly-20231120170640"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",