@rspress/shared 1.39.3 → 1.39.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.
@@ -48,7 +48,7 @@ interface ZoomContainer {
48
48
  }
49
49
 
50
50
  /**
51
- * There are two ways to define what addtion routes represent.
51
+ * There are two ways to define what addition routes represent.
52
52
  * 1. Define filepath, then the content will be read from the file.
53
53
  * 2. Define content, then then content will be written to temp file and read from it.
54
54
  */
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-0b471bb1.js';
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-7642f466.js';
2
2
  import '@rsbuild/core';
3
3
  import 'unified';
4
4
 
@@ -1,4 +1,4 @@
1
- import { U as UserConfig } from './index-0b471bb1.js';
1
+ import { U as UserConfig } from './index-7642f466.js';
2
2
  import '@rsbuild/core';
3
3
  import 'unified';
4
4
 
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "1.39.3",
4
- "types": "./dist/index.d.ts",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
3
+ "version": "1.39.4",
7
4
  "repository": {
8
5
  "type": "git",
9
6
  "url": "https://github.com/web-infra-dev/rspress",
10
7
  "directory": "packages/shared"
11
8
  },
9
+ "license": "MIT",
12
10
  "exports": {
13
11
  ".": {
14
12
  "types": "./dist/index.d.ts",
@@ -41,8 +39,14 @@
41
39
  "require": "./dist/node-utils.js"
42
40
  }
43
41
  },
42
+ "main": "./dist/index.js",
43
+ "module": "./dist/index.mjs",
44
+ "types": "./dist/index.d.ts",
45
+ "files": [
46
+ "dist"
47
+ ],
44
48
  "dependencies": {
45
- "@rsbuild/core": "~1.1.12",
49
+ "@rsbuild/core": "~1.1.13",
46
50
  "chalk": "5.4.1",
47
51
  "execa": "5.1.1",
48
52
  "fs-extra": "11.2.0",
@@ -60,23 +64,18 @@
60
64
  "rimraf": "^3.0.2",
61
65
  "typescript": "^5.5.3"
62
66
  },
63
- "sideEffects": [],
64
67
  "publishConfig": {
65
68
  "access": "public",
66
69
  "provenance": true,
67
70
  "registry": "https://registry.npmjs.org/"
68
71
  },
69
- "license": "MIT",
70
- "files": [
71
- "dist"
72
- ],
73
72
  "scripts": {
74
- "dev": "modern build -w",
75
73
  "build": "modern build",
76
74
  "build:watch": "modern build -w",
77
- "test": "vitest run",
78
- "reset": "rimraf ./**/node_modules",
75
+ "dev": "modern build -w",
79
76
  "new": "modern new",
77
+ "reset": "rimraf ./**/node_modules",
78
+ "test": "vitest run",
80
79
  "upgrade": "modern upgrade"
81
80
  }
82
81
  }