@lazarv/create-react-server 0.0.0-experimental-2dab5bb-20250522-222c3bcf → 0.0.0-experimental-c75b01a-20251226-122f8a22
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 +18 -13
- package/steps/alias.mjs +1 -1
- package/steps/features.mjs +1 -1
- package/templates/.prettierrc +1 -1
- package/templates/get-started/src/Confetti.jsx +2 -3
- package/templates/get-started-ts/src/Confetti.tsx +2 -3
- package/templates/nextjs/src/components/Confetti.tsx +2 -3
- package/templates/package.react-compiler.json +1 -1
- package/templates/router/src/app/@content/about.tsx +1 -3
- package/templates/router/src/components/Confetti.tsx +2 -3
- package/wizard.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,27 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazarv/create-react-server",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
4
|
-
"bin": {
|
|
5
|
-
"create-react-server": "index.mjs"
|
|
6
|
-
},
|
|
7
|
-
"type": "module",
|
|
3
|
+
"version": "0.0.0-experimental-c75b01a-20251226-122f8a22",
|
|
8
4
|
"keywords": [
|
|
5
|
+
"create",
|
|
6
|
+
"esm",
|
|
9
7
|
"react",
|
|
10
|
-
"server",
|
|
11
8
|
"rsc",
|
|
9
|
+
"server",
|
|
12
10
|
"ssr",
|
|
13
|
-
"
|
|
14
|
-
"vite",
|
|
15
|
-
"create"
|
|
11
|
+
"vite"
|
|
16
12
|
],
|
|
17
|
-
"
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/lazarv/react-server/issues"
|
|
15
|
+
},
|
|
18
16
|
"license": "MIT",
|
|
17
|
+
"author": "lazarv",
|
|
19
18
|
"repository": {
|
|
20
19
|
"type": "git",
|
|
21
20
|
"url": "git+https://github.com/lazarv/react-server.git"
|
|
22
21
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
22
|
+
"bin": {
|
|
23
|
+
"create-react-server": "index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"provenance": true,
|
|
29
|
+
"tag": "latest"
|
|
25
30
|
},
|
|
26
31
|
"dependencies": {
|
|
27
32
|
"@inquirer/checkbox": "^4.0.1",
|
|
@@ -39,7 +44,7 @@
|
|
|
39
44
|
"picocolors": "^1.1.1",
|
|
40
45
|
"prettier": "^3.0.0",
|
|
41
46
|
"ts-morph": "^24.0.0",
|
|
42
|
-
"@lazarv/react-server": "0.0.0-experimental-
|
|
47
|
+
"@lazarv/react-server": "0.0.0-experimental-c75b01a-20251226-122f8a22"
|
|
43
48
|
},
|
|
44
49
|
"engines": {
|
|
45
50
|
"node": ">=20.10.0"
|
package/steps/alias.mjs
CHANGED
package/steps/features.mjs
CHANGED
|
@@ -107,7 +107,7 @@ export default async (context) => {
|
|
|
107
107
|
...(context.props.preset?.features ?? []),
|
|
108
108
|
...(context.env.options.features?.split(",") ??
|
|
109
109
|
(!context.props.custom || context.env.hasOptions
|
|
110
|
-
? context.props.preset.features ?? []
|
|
110
|
+
? (context.props.preset.features ?? [])
|
|
111
111
|
: await checkbox(
|
|
112
112
|
{
|
|
113
113
|
message: "Enabled features",
|
package/templates/.prettierrc
CHANGED
|
@@ -7,9 +7,8 @@ export default function Confetti(props) {
|
|
|
7
7
|
<Button
|
|
8
8
|
{...props}
|
|
9
9
|
onClick={async () => {
|
|
10
|
-
const { default: confetti } =
|
|
11
|
-
"https://esm.sh/canvas-confetti"
|
|
12
|
-
);
|
|
10
|
+
const { default: confetti } =
|
|
11
|
+
await import("https://esm.sh/canvas-confetti");
|
|
13
12
|
confetti();
|
|
14
13
|
}}
|
|
15
14
|
>
|
|
@@ -7,9 +7,8 @@ export default function Confetti(props: ButtonProps) {
|
|
|
7
7
|
<Button
|
|
8
8
|
{...props}
|
|
9
9
|
onClick={async () => {
|
|
10
|
-
const { default: confetti } =
|
|
11
|
-
"https://esm.sh/canvas-confetti"
|
|
12
|
-
);
|
|
10
|
+
const { default: confetti } =
|
|
11
|
+
await import("https://esm.sh/canvas-confetti");
|
|
13
12
|
confetti();
|
|
14
13
|
}}
|
|
15
14
|
>
|
|
@@ -7,9 +7,8 @@ export default function Confetti(props: ButtonProps) {
|
|
|
7
7
|
<Button
|
|
8
8
|
{...props}
|
|
9
9
|
onClick={async () => {
|
|
10
|
-
const { default: confetti } =
|
|
11
|
-
"https://esm.sh/canvas-confetti"
|
|
12
|
-
);
|
|
10
|
+
const { default: confetti } =
|
|
11
|
+
await import("https://esm.sh/canvas-confetti");
|
|
13
12
|
confetti();
|
|
14
13
|
}}
|
|
15
14
|
>
|
|
@@ -39,9 +39,7 @@ export default function About() {
|
|
|
39
39
|
CLI tool, setting up a fully functional React Server Components (RSC)
|
|
40
40
|
app with file-system based routing and server functions out of the box.
|
|
41
41
|
</p>
|
|
42
|
-
<h2 className="text-xl font-semibold m-0">
|
|
43
|
-
🗂 File-system based routing
|
|
44
|
-
</h2>
|
|
42
|
+
<h2 className="text-xl font-semibold m-0">🗂 File-system based routing</h2>
|
|
45
43
|
<ul className="list-disc pl-6">
|
|
46
44
|
<li>
|
|
47
45
|
Add files to <b>/src/app</b> to{" "}
|
|
@@ -7,9 +7,8 @@ export default function Confetti(props: ButtonProps) {
|
|
|
7
7
|
<Button
|
|
8
8
|
{...props}
|
|
9
9
|
onClick={async () => {
|
|
10
|
-
const { default: confetti } =
|
|
11
|
-
"https://esm.sh/canvas-confetti"
|
|
12
|
-
);
|
|
10
|
+
const { default: confetti } =
|
|
11
|
+
await import("https://esm.sh/canvas-confetti");
|
|
13
12
|
confetti();
|
|
14
13
|
}}
|
|
15
14
|
>
|