@modern-js/main-doc 2.67.1 → 2.67.2
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.
@@ -5,7 +5,7 @@ title: defineConfig
|
|
5
5
|
|
6
6
|
:::warning
|
7
7
|
|
8
|
-
Soon to be deprecated. It is recommended to use `src/modern.runtime.ts` to define Runtime configurations, which supports both static and dynamic configurations. Please refer to
|
8
|
+
Soon to be deprecated. It is recommended to use `src/modern.runtime.ts` to define Runtime configurations, which supports both static and dynamic configurations. Please refer to [Runtime Configuration](/configure/app/runtime/0-intro.html).
|
9
9
|
|
10
10
|
For dynamically configuring applications runtime features.
|
11
11
|
|
@@ -6,7 +6,7 @@ title: defineConfig
|
|
6
6
|
|
7
7
|
:::warning
|
8
8
|
|
9
|
-
该 API 即将废弃,推荐使用 `src/modern.runtime.ts` 定义 Runtime
|
9
|
+
该 API 即将废弃,推荐使用 `src/modern.runtime.ts` 定义 Runtime 配置,同时支持静态配置和动态配置,使用姿势请参考 [Runtime 配置](/configure/app/runtime/0-intro.html)
|
10
10
|
:::
|
11
11
|
|
12
12
|
用于动态配置应用。
|
package/package.json
CHANGED
@@ -15,17 +15,17 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.67.
|
18
|
+
"version": "2.67.2",
|
19
19
|
"publishConfig": {
|
20
20
|
"registry": "https://registry.npmjs.org/",
|
21
21
|
"access": "public"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
24
|
"mermaid": "^11.4.1",
|
25
|
-
"@modern-js/sandpack-react": "2.67.
|
25
|
+
"@modern-js/sandpack-react": "2.67.2"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
|
-
"@rspress/shared": "1.43.
|
28
|
+
"@rspress/shared": "1.43.11",
|
29
29
|
"@types/fs-extra": "9.0.13",
|
30
30
|
"@types/node": "^16",
|
31
31
|
"classnames": "^2",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"fs-extra": "^10",
|
34
34
|
"react": "^18.3.1",
|
35
35
|
"react-dom": "^18.3.1",
|
36
|
-
"rspress": "1.43.
|
36
|
+
"rspress": "1.43.11",
|
37
37
|
"ts-node": "^10.9.1",
|
38
38
|
"typescript": "^5"
|
39
39
|
},
|
package/rspress.config.ts
CHANGED
@@ -8,7 +8,7 @@ export default defineConfig({
|
|
8
8
|
base: '/',
|
9
9
|
logo: 'https://lf-cdn-tos.bytescm.com/obj/static/webinfra/modern-js-website/assets/images/images/modernjs-logo.svg',
|
10
10
|
icon: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/favicon.ico',
|
11
|
-
lang: '
|
11
|
+
lang: 'en',
|
12
12
|
themeDir: path.join(__dirname, 'src'),
|
13
13
|
markdown: {
|
14
14
|
checkDeadLinks: true,
|