@rspress/core 1.5.0 → 1.6.0

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.
@@ -10,7 +10,7 @@ import {
10
10
  } from "@rspress/runtime";
11
11
  import { App, initPageData } from "./App";
12
12
  const enableSSG = siteData.ssg;
13
- const { default: Theme } = require("@rspress/theme-default");
13
+ const { default: Theme } = require("@theme");
14
14
  async function renderInBrowser() {
15
15
  const container = document.getElementById("root");
16
16
  const enhancedApp = async () => {
package/index.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en">
2
+ <html>
3
3
 
4
4
  <head>
5
5
  <meta charset="UTF-8">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/core",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "The Rspress Documentation Framework",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -40,10 +40,10 @@
40
40
  "@mdx-js/loader": "2.2.1",
41
41
  "@mdx-js/mdx": "2.2.1",
42
42
  "@mdx-js/react": "2.2.1",
43
- "@modern-js/utils": "2.39.2",
44
- "@rsbuild/core": "0.0.13",
45
- "@rsbuild/plugin-react": "0.0.13",
46
- "@rsbuild/plugin-svgr": "0.0.13",
43
+ "@modern-js/utils": "2.40.0",
44
+ "@rsbuild/core": "0.0.14",
45
+ "@rsbuild/plugin-react": "0.0.14",
46
+ "@rsbuild/plugin-svgr": "0.0.14",
47
47
  "@rspress/mdx-rs": "0.4.1",
48
48
  "@types/compression": "^1.7.2",
49
49
  "@types/polka": "^0.5.4",
@@ -91,19 +91,18 @@
91
91
  "unist-util-visit": "^4.1.1",
92
92
  "unist-util-visit-children": "^2.0.1",
93
93
  "yaml-front-matter": "^4.1.1",
94
- "@rspress/runtime": "1.5.0",
95
- "@rspress/plugin-last-updated": "1.5.0",
96
- "@rspress/theme-default": "1.5.0",
97
- "@rspress/plugin-medium-zoom": "1.5.0",
98
- "@rspress/plugin-container-syntax": "1.5.0",
99
- "@rspress/shared": "1.5.0",
100
- "@rspress/plugin-auto-nav-sidebar": "1.5.0"
94
+ "@rspress/theme-default": "1.6.0",
95
+ "@rspress/plugin-medium-zoom": "1.6.0",
96
+ "@rspress/plugin-last-updated": "1.6.0",
97
+ "@rspress/plugin-auto-nav-sidebar": "1.6.0",
98
+ "@rspress/shared": "1.6.0",
99
+ "@rspress/runtime": "1.6.0",
100
+ "@rspress/plugin-container-syntax": "1.6.0"
101
101
  },
102
102
  "devDependencies": {
103
- "@modern-js/plugin-tailwindcss": "2.39.2",
104
- "@modern-js/plugin-testing": "2.39.2",
105
- "@modern-js/tsconfig": "2.39.2",
106
- "@modern-js/types": "2.39.2",
103
+ "@modern-js/plugin-tailwindcss": "2.40.0",
104
+ "@modern-js/tsconfig": "2.40.0",
105
+ "@modern-js/types": "2.40.0",
107
106
  "@types/body-scroll-lock": "^3.1.0",
108
107
  "@types/fs-extra": "^9.0.13",
109
108
  "@types/hast": "^2.3.4",
@@ -12,7 +12,7 @@ import { App, initPageData } from './App';
12
12
  const enableSSG = siteData.ssg;
13
13
 
14
14
  // eslint-disable-next-line import/no-commonjs
15
- const { default: Theme } = require('@rspress/theme-default');
15
+ const { default: Theme } = require('@theme');
16
16
 
17
17
  export async function renderInBrowser() {
18
18
  const container = document.getElementById('root')!;