create-esmx 3.0.0-rc.112 → 3.0.0-rc.117
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 +6 -6
- package/template/react-csr/src/app.tsx +22 -6
- package/template/react-csr/src/components/hello-world.tsx +5 -3
- package/template/react-csr/src/create-app.tsx +0 -2
- package/template/react-csr/src/entry.client.ts +0 -1
- package/template/react-csr/src/entry.server.tsx +0 -1
- package/template/react-ssr/src/app.tsx +22 -6
- package/template/react-ssr/src/components/hello-world.tsx +5 -3
- package/template/react-ssr/src/create-app.tsx +0 -2
- package/template/react-ssr/src/entry.client.ts +0 -1
- package/template/react-ssr/src/entry.server.tsx +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-esmx",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.117",
|
|
4
4
|
"description": "A scaffold tool for creating Esmx projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@biomejs/biome": "2.3.7",
|
|
27
|
-
"@esmx/core": "3.0.0-rc.
|
|
28
|
-
"@esmx/rspack": "3.0.0-rc.
|
|
29
|
-
"@esmx/rspack-react": "3.0.0-rc.
|
|
30
|
-
"@esmx/rspack-vue": "3.0.0-rc.
|
|
27
|
+
"@esmx/core": "3.0.0-rc.117",
|
|
28
|
+
"@esmx/rspack": "3.0.0-rc.117",
|
|
29
|
+
"@esmx/rspack-react": "3.0.0-rc.117",
|
|
30
|
+
"@esmx/rspack-vue": "3.0.0-rc.117",
|
|
31
31
|
"@types/minimist": "^1.2.5",
|
|
32
32
|
"@types/node": "^24.0.0",
|
|
33
33
|
"@vitest/coverage-v8": "3.2.4",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"url": "https://github.com/esmnext/esmx/issues"
|
|
72
72
|
},
|
|
73
73
|
"homepage": "https://github.com/esmnext/esmx#readme",
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "c8470bb917221494ee36f0c4ec1cd03560b01f4c"
|
|
75
75
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import HelloWorld from './components/hello-world';
|
|
3
2
|
import './app.css';
|
|
4
3
|
|
|
@@ -8,14 +7,32 @@ export default function App() {
|
|
|
8
7
|
return (
|
|
9
8
|
<div id="app" className="container">
|
|
10
9
|
<div className="logo-container">
|
|
11
|
-
<a
|
|
10
|
+
<a
|
|
11
|
+
href="https://esmx.dev"
|
|
12
|
+
target="_blank"
|
|
13
|
+
rel="noopener noreferrer"
|
|
14
|
+
className="logo-link"
|
|
15
|
+
>
|
|
12
16
|
<div className="logo-wrapper esmx">
|
|
13
|
-
<img
|
|
17
|
+
<img
|
|
18
|
+
src="https://esmx.dev/logo.svg"
|
|
19
|
+
className="logo"
|
|
20
|
+
alt="Esmx logo"
|
|
21
|
+
/>
|
|
14
22
|
</div>
|
|
15
23
|
</a>
|
|
16
|
-
<a
|
|
24
|
+
<a
|
|
25
|
+
href="https://react.dev/"
|
|
26
|
+
target="_blank"
|
|
27
|
+
rel="noopener noreferrer"
|
|
28
|
+
className="logo-link"
|
|
29
|
+
>
|
|
17
30
|
<div className="logo-wrapper react">
|
|
18
|
-
<img
|
|
31
|
+
<img
|
|
32
|
+
src="https://react.dev/favicon-192x192.png"
|
|
33
|
+
className="logo"
|
|
34
|
+
alt="React logo"
|
|
35
|
+
/>
|
|
19
36
|
</div>
|
|
20
37
|
</a>
|
|
21
38
|
</div>
|
|
@@ -23,4 +40,3 @@ export default function App() {
|
|
|
23
40
|
</div>
|
|
24
41
|
);
|
|
25
42
|
}
|
|
26
|
-
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
import './hello-world.css';
|
|
3
3
|
|
|
4
4
|
interface HelloWorldProps {
|
|
@@ -22,8 +22,10 @@ export default function HelloWorld({ msg }: HelloWorldProps) {
|
|
|
22
22
|
</p>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
|
-
<p>
|
|
25
|
+
<p>
|
|
26
|
+
Experience React with client-side rendering powered by Esmx
|
|
27
|
+
framework
|
|
28
|
+
</p>
|
|
26
29
|
</div>
|
|
27
30
|
);
|
|
28
31
|
}
|
|
29
|
-
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import HelloWorld from './components/hello-world';
|
|
3
2
|
import './app.css';
|
|
4
3
|
|
|
@@ -8,14 +7,32 @@ export default function App() {
|
|
|
8
7
|
return (
|
|
9
8
|
<div id="app" className="container">
|
|
10
9
|
<div className="logo-container">
|
|
11
|
-
<a
|
|
10
|
+
<a
|
|
11
|
+
href="https://esmx.dev"
|
|
12
|
+
target="_blank"
|
|
13
|
+
rel="noopener noreferrer"
|
|
14
|
+
className="logo-link"
|
|
15
|
+
>
|
|
12
16
|
<div className="logo-wrapper esmx">
|
|
13
|
-
<img
|
|
17
|
+
<img
|
|
18
|
+
src="https://esmx.dev/logo.svg"
|
|
19
|
+
className="logo"
|
|
20
|
+
alt="Esmx logo"
|
|
21
|
+
/>
|
|
14
22
|
</div>
|
|
15
23
|
</a>
|
|
16
|
-
<a
|
|
24
|
+
<a
|
|
25
|
+
href="https://react.dev/"
|
|
26
|
+
target="_blank"
|
|
27
|
+
rel="noopener noreferrer"
|
|
28
|
+
className="logo-link"
|
|
29
|
+
>
|
|
17
30
|
<div className="logo-wrapper react">
|
|
18
|
-
<img
|
|
31
|
+
<img
|
|
32
|
+
src="https://react.dev/favicon-192x192.png"
|
|
33
|
+
className="logo"
|
|
34
|
+
alt="React logo"
|
|
35
|
+
/>
|
|
19
36
|
</div>
|
|
20
37
|
</a>
|
|
21
38
|
</div>
|
|
@@ -23,4 +40,3 @@ export default function App() {
|
|
|
23
40
|
</div>
|
|
24
41
|
);
|
|
25
42
|
}
|
|
26
|
-
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
import './hello-world.css';
|
|
3
3
|
|
|
4
4
|
interface HelloWorldProps {
|
|
@@ -22,8 +22,10 @@ export default function HelloWorld({ msg }: HelloWorldProps) {
|
|
|
22
22
|
</p>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
|
-
<p>
|
|
25
|
+
<p>
|
|
26
|
+
Experience React with server-side rendering powered by Esmx
|
|
27
|
+
framework
|
|
28
|
+
</p>
|
|
26
29
|
</div>
|
|
27
30
|
);
|
|
28
31
|
}
|
|
29
|
-
|