@lazarv/create-react-server 0.0.0-experimental-d003259-20250211-2495688e → 0.0.0-experimental-d003259-20250211-09a10a90
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 +1 -1
- package/steps/deploy.mjs +34 -32
package/package.json
CHANGED
package/steps/deploy.mjs
CHANGED
|
@@ -11,38 +11,40 @@ export default async (context) => {
|
|
|
11
11
|
context.env.options.deploy ??
|
|
12
12
|
(context.env.hasOptions
|
|
13
13
|
? "none"
|
|
14
|
-
:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
14
|
+
: !context.props.custom
|
|
15
|
+
? "vercel"
|
|
16
|
+
: await select(
|
|
17
|
+
{
|
|
18
|
+
message: "Deployment adapter",
|
|
19
|
+
choices: [
|
|
20
|
+
{
|
|
21
|
+
name: "None",
|
|
22
|
+
value: "none",
|
|
23
|
+
description: "No deployment adapter",
|
|
24
|
+
},
|
|
25
|
+
new Separator(),
|
|
26
|
+
{
|
|
27
|
+
name: "Docker",
|
|
28
|
+
value: "docker",
|
|
29
|
+
description:
|
|
30
|
+
"Build a Docker image and deploy to a container registry",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "Vercel",
|
|
34
|
+
value: "vercel",
|
|
35
|
+
description: "Deploy to Vercel",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "AWS",
|
|
39
|
+
value: "aws",
|
|
40
|
+
description: "Deploy to AWS Lambda",
|
|
41
|
+
disabled: "(coming soon)",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
theme,
|
|
45
|
+
},
|
|
46
|
+
context
|
|
47
|
+
));
|
|
46
48
|
|
|
47
49
|
const partials = {
|
|
48
50
|
...context.partials,
|