chore(create-email): replace ora with picospinner

LU
2d ago
+17-135

Replaces ora and log-symbols in create-email with picospinner, which react-email and @react-email/ui already depend on.

For people running npx create-email, the spinner goes from 20 packages (~304 KB) to 1 package (~24 KB)

Behaviour

In an interactive terminal the output looks the same: the same cyan braille spinner, the same green ✔ React Email Starter files ready, and the cursor is hidden while it spins. The spinner redraws a little faster (~50 ms per frame instead of ~80 ms).

picospinner doesn't check for a TTY and would write every frame into CI logs and pipes, so the spinner only starts when process.stdout.isTTY is true. Otherwise only the final line is printed:

BeforeAfter
TTYspinner → ✔ React Email Starter files readysame
Piped / CI- Preparing files..., blank line, coloured ✔ …plain ✔ React Email Starter files ready

Summary by cubic

Replaces ora and log-symbols in create-email with picospinner, which react-email and @react-email/ui already depend on. Running npx create-email now pulls in 1 package (~24 KB) instead of 20 (~304 KB).

Interactive output stays the same: the same cyan braille spinner, the same green ✔ React Email Starter files ready, and the cursor hides while spinning, with frames redrawn slightly faster (~50 ms per frame instead of ~80 ms).

Since picospinner writes every frame regardless of TTY, the spinner only starts when process.stdout.isTTY is true. In CI and pipes, output changes from a blank line plus coloured success text to a plain ✔ React Email Starter files ready line.