rasengan 1.1.1 → 1.1.2
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/CHANGELOG.md
CHANGED
|
@@ -63,7 +63,7 @@ export const convertMDXPageToPageComponent = async (MDXPage) => {
|
|
|
63
63
|
};
|
|
64
64
|
export const isMDXPage = (page) => {
|
|
65
65
|
// Check if page is a MDX Page Component or not
|
|
66
|
-
if (page.
|
|
66
|
+
if (page.type === 'MDXPageComponent') {
|
|
67
67
|
return true;
|
|
68
68
|
}
|
|
69
69
|
return false;
|
|
@@ -167,6 +167,10 @@ export type PageComponent<T = ReactComponentProps> = LayoutComponent<T> & {
|
|
|
167
167
|
* Metadata for the page omit title
|
|
168
168
|
*/
|
|
169
169
|
metadata?: Metadata;
|
|
170
|
+
/**
|
|
171
|
+
* Type of the page
|
|
172
|
+
*/
|
|
173
|
+
type?: string;
|
|
170
174
|
};
|
|
171
175
|
/**
|
|
172
176
|
* A React functional component that represents an MDX page.
|
|
@@ -182,6 +186,7 @@ export type MDXPageComponent = FunctionComponent & {
|
|
|
182
186
|
path?: string;
|
|
183
187
|
metadata?: Metadata;
|
|
184
188
|
};
|
|
189
|
+
type?: string;
|
|
185
190
|
};
|
|
186
191
|
/**
|
|
187
192
|
* A React functional component that represents a simple block element.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rasengan",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "The modern React Framework",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/esm/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"homepage": "https://rasengan.dev",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@vitejs/plugin-react": "^
|
|
63
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
64
64
|
"chalk": "^5.3.0",
|
|
65
65
|
"commander": "^11.1.0",
|
|
66
66
|
"compression": "^1.7.4",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"sass": "*",
|
|
80
80
|
"stylus": "*",
|
|
81
81
|
"vite": "^7.0.0",
|
|
82
|
-
"@rasenganjs/mdx": "^1.1.
|
|
82
|
+
"@rasenganjs/mdx": "^1.1.7"
|
|
83
83
|
},
|
|
84
84
|
"peerDependenciesMeta": {
|
|
85
85
|
"@types/node": {
|
|
@@ -101,14 +101,14 @@
|
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/compression": "^1.7.4",
|
|
103
103
|
"@types/express": "^4.17.19",
|
|
104
|
-
"@types/node": "^
|
|
104
|
+
"@types/node": "^22.12.0",
|
|
105
105
|
"@types/react": "^19.0.1",
|
|
106
106
|
"@types/react-dom": "^19.0.1",
|
|
107
107
|
"cross-env": "^7.0.3"
|
|
108
108
|
},
|
|
109
109
|
"license": "MIT",
|
|
110
110
|
"engines": {
|
|
111
|
-
"node": ">=
|
|
111
|
+
"node": ">=22.12.0"
|
|
112
112
|
},
|
|
113
113
|
"files": [
|
|
114
114
|
"lib/",
|