Skip to content

Commit

Permalink
chore(remix-dev): default to experimental-netlify-edge version of net…
Browse files Browse the repository at this point in the history
…lify template

Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Apr 19, 2022
1 parent 59d0b02 commit 243a414
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions packages/remix-dev/cli/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,60 +250,6 @@ export async function run(argv: string[] = process.argv.slice(2)) {
useTypeScript: boolean;
install: boolean;
}>([
{
name: "appType",
type: "list",
message: "What type of app do you want to create?",
when() {
return flags.template === undefined;
},
choices: [
{
name: "A pre-configured stack ready for production",
value: "stack",
},
{
name: "Just the basics",
value: "template",
},
],
},
{
name: "appTemplate",
type: "list",
when(answers) {
return answers.appType === "stack";
},
message: "Which Stack do you want? ",
loop: false,
suffix: "(Learn more about these stacks: https://remix.run/stacks)",
choices: [
{
name: "Blues",
value: "remix-run/blues-stack",
},
{
name: "Indie",
value: "remix-run/indie-stack",
},
{
name: "Grunge",
value: "remix-run/grunge-stack",
},
],
},
{
name: "appTemplate",
type: "list",
when(answers) {
return answers.appType === "template";
},
message:
"Where do you want to deploy? Choose Remix if you're unsure; " +
"it's easy to change deployment targets.",
loop: false,
choices: templateChoices,
},
{
name: "install",
type: "confirm",
Expand Down Expand Up @@ -338,7 +284,8 @@ export async function run(argv: string[] = process.argv.slice(2)) {
let installDeps = flags.install !== false && answers.install !== false;

await commands.create({
appTemplate: flags.template || answers.appTemplate,
appTemplate:
"https://github.com/remix-run/remix/tree/experimental-netlify-edge/templates/netlify",
projectDir,
remixVersion: flags.remixVersion,
installDeps,
Expand Down

0 comments on commit 243a414

Please sign in to comment.