@rspress/core 2.0.0-alpha.1 → 2.0.0-alpha.11
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 +2 -1
- package/dist/index.js +164 -118
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +35 -29
- package/dist/runtime/App.d.ts +0 -6
- package/dist/runtime/App.js +3 -65
- package/dist/runtime/ClientApp.d.ts +4 -0
- package/dist/runtime/ClientApp.js +31 -0
- package/dist/runtime/clientEntry.d.ts +1 -1
- package/dist/runtime/clientEntry.js +18 -63
- package/dist/runtime/initPageData.d.ts +3 -0
- package/dist/runtime/initPageData.js +59 -0
- package/dist/runtime/ssrEntry.js +2 -1
- package/dist/runtime/tsconfig.js +3 -3
- package/package.json +35 -33
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.11",
|
|
4
4
|
"description": "The Rspress Documentation Framework",
|
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
|
6
6
|
"repository": {
|
|
@@ -42,64 +42,66 @@
|
|
|
42
42
|
"theme.ts"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mdx-js/loader": "
|
|
46
|
-
"@mdx-js/mdx": "
|
|
47
|
-
"@mdx-js/react": "
|
|
48
|
-
"@rsbuild/core": "1.
|
|
49
|
-
"@rsbuild/plugin-less": "~1.1.1",
|
|
45
|
+
"@mdx-js/loader": "^3.1.0",
|
|
46
|
+
"@mdx-js/mdx": "^3.1.0",
|
|
47
|
+
"@mdx-js/react": "^3.1.0",
|
|
48
|
+
"@rsbuild/core": "1.3.6",
|
|
50
49
|
"@rsbuild/plugin-react": "~1.1.1",
|
|
51
|
-
"@rsbuild/plugin-sass": "~1.2.2",
|
|
52
50
|
"@rspress/mdx-rs": "0.6.6",
|
|
53
51
|
"enhanced-resolve": "5.18.1",
|
|
54
52
|
"github-slugger": "^2.0.0",
|
|
55
53
|
"hast-util-from-html": "^2.0.3",
|
|
56
|
-
"hast-util-heading-rank": "^
|
|
54
|
+
"hast-util-heading-rank": "^3.0.0",
|
|
57
55
|
"html-to-text": "^9.0.5",
|
|
58
56
|
"htmr": "^1.0.2",
|
|
59
57
|
"lodash-es": "^4.17.21",
|
|
60
|
-
"mdast-util-mdxjs-esm": "^
|
|
61
|
-
"memfs": "^4.17.0",
|
|
58
|
+
"mdast-util-mdxjs-esm": "^2.0.1",
|
|
62
59
|
"picocolors": "^1.1.1",
|
|
63
60
|
"react": "^18.3.1",
|
|
64
61
|
"react-dom": "^18.3.1",
|
|
65
|
-
"react-helmet-async": "^
|
|
62
|
+
"react-helmet-async": "^2.0.5",
|
|
66
63
|
"react-lazy-with-preload": "^2.2.1",
|
|
67
64
|
"react-syntax-highlighter": "^15.6.1",
|
|
68
65
|
"rehype-external-links": "^3.0.0",
|
|
69
|
-
"remark": "^
|
|
70
|
-
"remark-gfm": "
|
|
66
|
+
"remark": "^15.0.1",
|
|
67
|
+
"remark-gfm": "^4.0.1",
|
|
71
68
|
"rspack-plugin-virtual-module": "0.1.13",
|
|
72
69
|
"tinyglobby": "^0.2.12",
|
|
73
|
-
"unified": "^
|
|
74
|
-
"unist-util-visit": "^
|
|
75
|
-
"unist-util-visit-children": "^
|
|
76
|
-
"@rspress/plugin-auto-nav-sidebar": "2.0.0-alpha.
|
|
77
|
-
"@rspress/plugin-container-syntax": "2.0.0-alpha.
|
|
78
|
-
"@rspress/plugin-last-updated": "2.0.0-alpha.
|
|
79
|
-
"@rspress/plugin-medium-zoom": "2.0.0-alpha.
|
|
80
|
-
"@rspress/
|
|
81
|
-
"@rspress/
|
|
82
|
-
"@rspress/
|
|
70
|
+
"unified": "^11.0.5",
|
|
71
|
+
"unist-util-visit": "^5.0.0",
|
|
72
|
+
"unist-util-visit-children": "^3.0.0",
|
|
73
|
+
"@rspress/plugin-auto-nav-sidebar": "2.0.0-alpha.11",
|
|
74
|
+
"@rspress/plugin-container-syntax": "2.0.0-alpha.11",
|
|
75
|
+
"@rspress/plugin-last-updated": "2.0.0-alpha.11",
|
|
76
|
+
"@rspress/plugin-medium-zoom": "2.0.0-alpha.11",
|
|
77
|
+
"@rspress/shared": "2.0.0-alpha.11",
|
|
78
|
+
"@rspress/theme-default": "2.0.0-alpha.11",
|
|
79
|
+
"@rspress/runtime": "2.0.0-alpha.11"
|
|
83
80
|
},
|
|
84
81
|
"devDependencies": {
|
|
85
|
-
"@microsoft/api-extractor": "^7.
|
|
86
|
-
"@rslib/core": "0.
|
|
82
|
+
"@microsoft/api-extractor": "^7.52.3",
|
|
83
|
+
"@rslib/core": "0.6.3",
|
|
87
84
|
"@rspress-dev/plugin-preview": "link:../plugin-preview",
|
|
88
|
-
"@types/hast": "^
|
|
85
|
+
"@types/hast": "^3.0.4",
|
|
89
86
|
"@types/html-to-text": "^9.0.4",
|
|
90
87
|
"@types/jest": "~29.5.14",
|
|
91
88
|
"@types/lodash-es": "^4.17.12",
|
|
92
|
-
"@types/mdast": "^
|
|
89
|
+
"@types/mdast": "^4.0.4",
|
|
93
90
|
"@types/node": "^18.11.17",
|
|
94
|
-
"@types/react": "^18.3.
|
|
95
|
-
"@types/react-dom": "^18.3.
|
|
91
|
+
"@types/react": "^18.3.20",
|
|
92
|
+
"@types/react-dom": "^18.3.6",
|
|
93
|
+
"memfs": "^4.17.0",
|
|
96
94
|
"postcss": "8.5.3",
|
|
97
|
-
"rehype-stringify": "^
|
|
98
|
-
"remark-
|
|
99
|
-
"remark-
|
|
95
|
+
"rehype-stringify": "^10.0.1",
|
|
96
|
+
"remark-mdx": "^3.1.0",
|
|
97
|
+
"remark-parse": "^11.0.0",
|
|
98
|
+
"remark-rehype": "^11.1.2",
|
|
99
|
+
"remark-stringify": "^11.0.0",
|
|
100
100
|
"rimraf": "^6.0.1",
|
|
101
|
+
"rsbuild-plugin-virtual-module": "0.1.1",
|
|
101
102
|
"tailwindcss": "^3.4.17",
|
|
102
|
-
"typescript": "^5.
|
|
103
|
+
"typescript": "^5.8.2",
|
|
104
|
+
"vfile": "^5.3.7",
|
|
103
105
|
"@rspress/config": "1.0.0"
|
|
104
106
|
},
|
|
105
107
|
"engines": {
|