Skip to content

Commit

Permalink
Undo the halloween theme (#8959)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
  • Loading branch information
ElianCodes and natemoo-re committed Nov 1, 2023
1 parent 262cef2 commit 6169b6e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-pillows-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-astro": minor
---

Undo the halloween theme and restore `fancy` behaviour
2 changes: 1 addition & 1 deletion packages/create-astro/src/actions/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export async function getContext(argv: string[]): Promise<Context> {
projectName,
template,
ref: ref ?? 'latest',
hat: random(['🎃', '👻', '🕯️']), //fancy ? random(['🎩', '🎩', '🎩', '🎩', '🎓', '👑', '🧢', '🍦']) : undefined,
hat: fancy ? random(['🎩', '🎩', '🎩', '🎩', '🎓', '👑', '🧢', '🍦']) : undefined,
yes,
install: install ?? (noInstall ? false : undefined),
git: git ?? (noGit ? false : undefined),
Expand Down
43 changes: 18 additions & 25 deletions packages/create-astro/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,24 @@ export async function spinner(args: {
export const title = (text: string) => align(label(text), 'end', 7) + ' ';

export const welcome = [
// `Let's claim your corner of the internet.`,
// `I'll be your assistant today.`,
// `Let's build something awesome!`,
// `Let's build something great!`,
// `Let's build something fast!`,
// `Let's build the web we want.`,
// `Let's make the web weird!`,
// `Let's make the web a better place!`,
// `Let's create a new project!`,
// `Let's create something unique!`,
// `Time to build a new website.`,
// `Time to build a faster website.`,
// `Time to build a sweet new website.`,
// `We're glad to have you on board.`,
// `Keeping the internet weird since 2021.`,
// `Initiating launch sequence...`,
// `Initiating launch sequence... right... now!`,
// `Awaiting further instructions.`,
`Booo! Let's scare the interwebs!`,
`Get ready to haunt the internet with Halloween vibes.`,
`Harness the power of the web for your frightful ideas.`,
`It's time to conjure up an online spooktacular masterpiece.`,
`Prepare for a web of Halloween wonders to be woven.`,
`Chills and thrills await as you embark on your web journey`,
`The internet is about to get a whole lot creepier thanks to your new project.`,
`Let's claim your corner of the internet.`,
`I'll be your assistant today.`,
`Let's build something awesome!`,
`Let's build something great!`,
`Let's build something fast!`,
`Let's build the web we want.`,
`Let's make the web weird!`,
`Let's make the web a better place!`,
`Let's create a new project!`,
`Let's create something unique!`,
`Time to build a new website.`,
`Time to build a faster website.`,
`Time to build a sweet new website.`,
`We're glad to have you on board.`,
`Keeping the internet weird since 2021.`,
`Initiating launch sequence...`,
`Initiating launch sequence... right... now!`,
`Awaiting further instructions.`,
];

export const getName = () =>
Expand Down

0 comments on commit 6169b6e

Please sign in to comment.