File tree Expand file tree Collapse file tree 2 files changed +9
-16
lines changed
apps/builder/app/builder/features/topbar Expand file tree Collapse file tree 2 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -643,25 +643,28 @@ const Content = (props: {
643
643
644
644
const deployTargets = {
645
645
vanilla : {
646
+ label : "Docker" ,
647
+ docs : "https://reactrouter.com/" ,
646
648
command : `
647
- npm install
648
- npm run dev
649
+ docker build -t my-image .
650
+ docker run my-image
649
651
` ,
650
- docs : "https://remix.run/" ,
651
652
ssgTemplates : [ "ssg" ] ,
652
653
} ,
653
654
vercel : {
654
- command : "npx vercel@latest " ,
655
+ label : "Vercel " ,
655
656
docs : "https://vercel.com/docs/cli" ,
657
+ command : "npx vercel@latest" ,
656
658
ssgTemplates : [ "ssg-vercel" ] ,
657
659
} ,
658
660
netlify : {
661
+ label : "Netlify" ,
662
+ docs : "https://docs.netlify.com/cli/get-started/" ,
659
663
command : `
660
664
npx netlify-cli@latest login
661
665
npx netlify-cli sites:create
662
666
npx netlify-cli build
663
667
npx netlify-cli deploy` ,
664
- docs : "https://docs.netlify.com/cli/get-started/" ,
665
668
ssgTemplates : [ "ssg-netlify" ] ,
666
669
} ,
667
670
} as const ;
@@ -803,7 +806,7 @@ const ExportContent = (props: { projectId: Project["id"] }) => {
803
806
target = "_blank"
804
807
rel = "noreferrer"
805
808
>
806
- { humanizeString ( deployTarget ) }
809
+ { humanizeString ( deployTargets [ deployTarget ] . label ) }
807
810
</ Link > { " " }
808
811
</ Text >
809
812
</ Grid >
Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ export const jsonToGlobalConfig = (json: unknown) => {
53
53
export type GlobalConfig = z . infer < typeof zGlobalConfig > ;
54
54
55
55
export const PROJECT_TEMPLATES = [
56
- {
57
- value : "vanilla" as const ,
58
- label : "Vanilla" ,
59
- expand : [ "defaults" ] ,
60
- } ,
61
56
{
62
57
value : "docker" as const ,
63
58
label : "Docker" ,
@@ -68,11 +63,6 @@ export const PROJECT_TEMPLATES = [
68
63
label : "Vercel" ,
69
64
expand : [ "react-router" , "react-router-vercel" ] ,
70
65
} ,
71
- {
72
- value : "vercel-legacy" as const ,
73
- label : "Vercel (legacy)" ,
74
- expand : [ "defaults" , "vercel" ] ,
75
- } ,
76
66
{
77
67
value : "netlify" as const ,
78
68
label : "Netlify" ,
You can’t perform that action at this time.
0 commit comments