@rspress/shared 1.39.4 → 1.40.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.
@@ -378,7 +378,7 @@ interface SocialLink {
|
|
378
378
|
mode: 'link' | 'text' | 'img' | 'dom';
|
379
379
|
content: string;
|
380
380
|
}
|
381
|
-
type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'x' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | {
|
381
|
+
type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'x' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | 'bluesky' | {
|
382
382
|
svg: string;
|
383
383
|
};
|
384
384
|
interface Footer {
|
@@ -567,6 +567,23 @@ interface UserConfig<ThemeConfig = Config$1> {
|
|
567
567
|
*/
|
568
568
|
versions: string[];
|
569
569
|
};
|
570
|
+
/**
|
571
|
+
* Language parity checking config
|
572
|
+
*/
|
573
|
+
languageParity?: {
|
574
|
+
/**
|
575
|
+
* Whether to enable language parity checking
|
576
|
+
*/
|
577
|
+
enabled: boolean;
|
578
|
+
/**
|
579
|
+
* Directories to include in the parity check
|
580
|
+
*/
|
581
|
+
include: string[];
|
582
|
+
/**
|
583
|
+
* Directories to exclude from the parity check
|
584
|
+
*/
|
585
|
+
exclude: string[];
|
586
|
+
};
|
570
587
|
}
|
571
588
|
type RemoveUnderscoreProps<T> = {
|
572
589
|
[K in keyof T as K extends `_${string}` ? never : K]: T[K];
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { A as AdditionalPage, B as BaseRuntimePageInfo, r as Config, C as DefaultThemeConfig, O as DocFooter, K as EditLink, F as Feature, t as FilterConfig, V as Footer, i as FrontMatterMeta, H as Header, f as Hero, I as Image, m as LocalSearchOptions, L as Locale, s as LocaleConfig, X as LocaleLink, W as LocaleLinks, q as MarkdownOptions, M as MdxRsOptions, u as Nav, v as NavItem, x as NavItemWithChildren, w as NavItemWithLink, y as NavItemWithLinkAndChildren, N as NormalizedConfig, N as NormalizedDefaultThemeConfig, _ as NormalizedLocales, Z as NormalizedSidebar, Y as NormalizedSidebarGroup, j as PageData, P as PageIndexInfo, g as PageModule, h as PageType, R as Plugin, e as RemotePageInfo, n as RemoteSearchIndexInfo, o as RemoteSearchOptions, c as ReplaceRule, a as Route, b as RouteMeta, k as RouteOptions, R as RspressPlugin, S as SSGConfig, l as SearchHooks, p as SearchOptions, z as Sidebar, G as SidebarDivider, D as SidebarGroup, E as SidebarItem, J as SidebarSectionHeader, d as SiteData, Q as SocialLink, T as SocialLinkIcon, U as UserConfig } from './index-
|
1
|
+
export { A as AdditionalPage, B as BaseRuntimePageInfo, r as Config, C as DefaultThemeConfig, O as DocFooter, K as EditLink, F as Feature, t as FilterConfig, V as Footer, i as FrontMatterMeta, H as Header, f as Hero, I as Image, m as LocalSearchOptions, L as Locale, s as LocaleConfig, X as LocaleLink, W as LocaleLinks, q as MarkdownOptions, M as MdxRsOptions, u as Nav, v as NavItem, x as NavItemWithChildren, w as NavItemWithLink, y as NavItemWithLinkAndChildren, N as NormalizedConfig, N as NormalizedDefaultThemeConfig, _ as NormalizedLocales, Z as NormalizedSidebar, Y as NormalizedSidebarGroup, j as PageData, P as PageIndexInfo, g as PageModule, h as PageType, R as Plugin, e as RemotePageInfo, n as RemoteSearchIndexInfo, o as RemoteSearchOptions, c as ReplaceRule, a as Route, b as RouteMeta, k as RouteOptions, R as RspressPlugin, S as SSGConfig, l as SearchHooks, p as SearchOptions, z as Sidebar, G as SidebarDivider, D as SidebarGroup, E as SidebarItem, J as SidebarSectionHeader, d as SiteData, Q as SocialLink, T as SocialLinkIcon, U as UserConfig } from './index-f2a475dd.js';
|
2
2
|
import '@rsbuild/core';
|
3
3
|
import 'unified';
|
4
4
|
|
package/dist/node-utils.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/shared",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.40.1",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/web-infra-dev/rspress",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"dist"
|
47
47
|
],
|
48
48
|
"dependencies": {
|
49
|
-
"@rsbuild/core": "
|
49
|
+
"@rsbuild/core": "1.2.0",
|
50
50
|
"chalk": "5.4.1",
|
51
51
|
"execa": "5.1.1",
|
52
52
|
"fs-extra": "11.2.0",
|