@xyd-js/plugin-docs 0.1.0-xyd.56 → 0.1.0-xyd.86
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/package.json +11 -11
- package/src/pages/layout.tsx +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/plugin-docs",
|
|
3
|
-
"version": "0.1.0-xyd.
|
|
3
|
+
"version": "0.1.0-xyd.86",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"codehike": "^1.0.3",
|
|
19
19
|
"@code-hike/lighter": "^1.0.3",
|
|
20
|
-
"@xyd-js/
|
|
21
|
-
"@xyd-js/sources": "0.1.1-xyd.
|
|
22
|
-
"@xyd-js/
|
|
23
|
-
"@xyd-js/uniform": "0.1.0-xyd.
|
|
20
|
+
"@xyd-js/openapi": "0.1.0-xyd.94",
|
|
21
|
+
"@xyd-js/sources": "0.1.1-xyd.86",
|
|
22
|
+
"@xyd-js/gql": "0.1.0-xyd.96",
|
|
23
|
+
"@xyd-js/uniform": "0.1.0-xyd.98"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@react-router/dev": "^7.6.2",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"react": "^19.1.0",
|
|
30
30
|
"react-dom": "^19.1.0",
|
|
31
31
|
"react-router": "^7.6.2",
|
|
32
|
-
"@xyd-js/
|
|
33
|
-
"@xyd-js/composer": "0.1.0-xyd.
|
|
34
|
-
"@xyd-js/content": "0.1.0-xyd.
|
|
35
|
-
"@xyd-js/
|
|
36
|
-
"@xyd-js/
|
|
37
|
-
"@xyd-js/core": "0.1.0-xyd.
|
|
32
|
+
"@xyd-js/framework": "0.1.0-xyd.115",
|
|
33
|
+
"@xyd-js/composer": "0.1.0-xyd.83",
|
|
34
|
+
"@xyd-js/content": "0.1.0-xyd.97",
|
|
35
|
+
"@xyd-js/components": "0.1.0-xyd.94",
|
|
36
|
+
"@xyd-js/themes": "0.1.1-xyd.86",
|
|
37
|
+
"@xyd-js/core": "0.1.0-xyd.96"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/react-dom": "^19.1.0",
|
package/src/pages/layout.tsx
CHANGED
|
@@ -51,7 +51,6 @@ import {SearchButton} from "@xyd-js/components/system"
|
|
|
51
51
|
globalThis.__xydSettings = getSettings
|
|
52
52
|
globalThis.__xydUserComponents = userComponents // Add user components to global scope TODO: problematic
|
|
53
53
|
|
|
54
|
-
new Composer() // TODO: better API TODO: problematic
|
|
55
54
|
const settings = globalThis.__xydSettings
|
|
56
55
|
|
|
57
56
|
const surfaces = new Surfaces()
|
|
@@ -94,6 +93,8 @@ interface LoaderData {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
export async function loader({request}: { request: any }) {
|
|
96
|
+
new Composer() // TODO: better API
|
|
97
|
+
|
|
97
98
|
const slug = getPathname(request.url || "index") || "index"
|
|
98
99
|
|
|
99
100
|
const {
|