@rspress/shared 2.0.0-beta.3 → 2.0.0-beta.4
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/dist/index.d.ts +1 -1
- package/dist/node-utils.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
@@ -143,7 +143,7 @@ export declare interface DefaultThemeConfig {
|
|
143
143
|
* Whether to redirect to the closest locale when the user visits the site
|
144
144
|
* @default 'auto'
|
145
145
|
*/
|
146
|
-
localeRedirect?: 'auto' | 'never';
|
146
|
+
localeRedirect?: 'auto' | 'never' | 'only-default-lang';
|
147
147
|
/**
|
148
148
|
* Whether to show the fallback heading title when the heading title is not presented but `frontmatter.title` exists
|
149
149
|
* @default true
|
package/dist/node-utils.d.ts
CHANGED
@@ -131,7 +131,7 @@ declare interface Config {
|
|
131
131
|
* Whether to redirect to the closest locale when the user visits the site
|
132
132
|
* @default 'auto'
|
133
133
|
*/
|
134
|
-
localeRedirect?: 'auto' | 'never';
|
134
|
+
localeRedirect?: 'auto' | 'never' | 'only-default-lang';
|
135
135
|
/**
|
136
136
|
* Whether to show the fallback heading title when the heading title is not presented but `frontmatter.title` exists
|
137
137
|
* @default true
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/shared",
|
3
|
-
"version": "2.0.0-beta.
|
3
|
+
"version": "2.0.0-beta.4",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+https://github.com/web-infra-dev/rspress.git",
|
@@ -32,17 +32,17 @@
|
|
32
32
|
"dist"
|
33
33
|
],
|
34
34
|
"dependencies": {
|
35
|
-
"@rsbuild/core": "1.3.
|
35
|
+
"@rsbuild/core": "1.3.16",
|
36
36
|
"gray-matter": "4.0.3",
|
37
37
|
"lodash-es": "^4.17.21",
|
38
38
|
"unified": "^11.0.5"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
|
-
"@rslib/core": "0.6.
|
41
|
+
"@rslib/core": "0.6.8",
|
42
42
|
"@types/jest": "~29.5.14",
|
43
43
|
"@types/lodash-es": "^4.17.12",
|
44
44
|
"@types/node": "^18.11.17",
|
45
|
-
"@types/react": "^18.3.
|
45
|
+
"@types/react": "^18.3.21",
|
46
46
|
"mdast-util-mdx-jsx": "^3.2.0",
|
47
47
|
"medium-zoom": "1.1.0",
|
48
48
|
"rimraf": "^6.0.1",
|