@rspress/plugin-preview 2.0.0-rc.0 → 2.0.0-rc.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.
- package/dist/index.js +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -445,7 +445,7 @@ function pluginPreview(options) {
|
|
|
445
445
|
const outDir = join(config.outDir ?? 'doc_build', '~demo');
|
|
446
446
|
if (0 === Object.keys(sourceEntry).length) return;
|
|
447
447
|
const { source, output, performance } = clientConfig ?? {};
|
|
448
|
-
const { preEntry, ...otherSourceOptions } = source ?? {};
|
|
448
|
+
const { preEntry: _, ...otherSourceOptions } = source ?? {};
|
|
449
449
|
const rsbuildConfig = mergeRsbuildConfig({
|
|
450
450
|
server: {
|
|
451
451
|
port: devPort,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/plugin-preview",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"description": "A plugin for rspress to preview the code block in markdown/mdx file.",
|
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"static"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@rsbuild/core": "~1.6.
|
|
26
|
+
"@rsbuild/core": "~1.6.6",
|
|
27
27
|
"@rsbuild/plugin-babel": "~1.0.6",
|
|
28
28
|
"@rsbuild/plugin-react": "~1.4.2",
|
|
29
29
|
"@rsbuild/plugin-solid": "~1.0.6",
|
|
@@ -31,24 +31,24 @@
|
|
|
31
31
|
"qrcode.react": "^4.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@rslib/core": "0.
|
|
34
|
+
"@rslib/core": "0.17.2",
|
|
35
35
|
"@types/lodash": "^4.17.20",
|
|
36
36
|
"@types/mdast": "^4.0.4",
|
|
37
37
|
"@types/node": "^22.8.1",
|
|
38
|
-
"@types/react": "^19.2.
|
|
39
|
-
"@types/react-dom": "^19.2.
|
|
38
|
+
"@types/react": "^19.2.5",
|
|
39
|
+
"@types/react-dom": "^19.2.3",
|
|
40
40
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
41
41
|
"mdast-util-mdxjs-esm": "^2.0.1",
|
|
42
42
|
"react": "^19.2.0",
|
|
43
43
|
"react-dom": "^19.2.0",
|
|
44
|
-
"react-router-dom": "^6.30.
|
|
44
|
+
"react-router-dom": "^6.30.2",
|
|
45
45
|
"rsbuild-plugin-publint": "^0.3.3",
|
|
46
46
|
"typescript": "^5.8.2",
|
|
47
47
|
"unified": "^11.0.5",
|
|
48
48
|
"unist-util-visit": "^5.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@rspress/core": "^2.0.0-rc.
|
|
51
|
+
"@rspress/core": "^2.0.0-rc.1",
|
|
52
52
|
"react": ">=18.0.0",
|
|
53
53
|
"react-router-dom": "^6.8.1"
|
|
54
54
|
},
|