@ryziz/create-react 0.0.35 → 0.0.37
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 +7 -2
- package/public/index.html +15 -1
- package/src/pages.index.jsx +10 -1
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryziz/create-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"bin": "create-react",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "ryziz dev"
|
|
7
|
+
},
|
|
5
8
|
"dependencies": {
|
|
6
|
-
"@ryziz/cli": "^0.0.
|
|
9
|
+
"@ryziz/cli": "^0.0.38",
|
|
10
|
+
"@ryziz/router": "^0.0.2",
|
|
11
|
+
"react": "^18.3.1"
|
|
7
12
|
}
|
|
8
13
|
}
|
package/public/index.html
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Ryziz App</title>
|
|
8
|
+
</head>
|
|
9
|
+
|
|
10
|
+
<body>
|
|
11
|
+
<div id="root"></div>
|
|
12
|
+
<script src="/assets/index.js" type="module"></script>
|
|
13
|
+
</body>
|
|
14
|
+
|
|
15
|
+
</html>
|
package/src/pages.index.jsx
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export default function Index() {
|
|
4
|
+
return (
|
|
5
|
+
<div style={{ fontFamily: 'system-ui, sans-serif', textAlign: 'center', marginTop: '50px' }}>
|
|
6
|
+
<h1>Welcome to Ryziz</h1>
|
|
7
|
+
<p>Edit <code>src/pages.index.jsx</code> and save to reload.</p>
|
|
8
|
+
</div>
|
|
9
|
+
);
|
|
10
|
+
}
|