Skip to content

fix(create): quiet scaffold output behind the spinner#237

Merged
DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-cli-create-n9kgdk
Jul 22, 2026
Merged

fix(create): quiet scaffold output behind the spinner#237
DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-cli-create-n9kgdk

Conversation

@DylanPiercey

Copy link
Copy Markdown
Contributor

Follow-up polish to #235. The scaffold was leaking raw pnpm/git internals through the clack UI:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: esbuild@…
… Running postinstall script, done
Already up to date
. prepare$ husky
│ .git can't be found
git version 2.50.1
fatal: not a git repository (or any of the parent directories): .git

Now the install and git steps run captured behind the spinner, which just transitions Downloading → Installing dependencies with pnpm → Setting up git repository → Project created. Install output is surfaced only if it genuinely fails.

exec gained a capture mode; git commands and both install passes use it. Verified end-to-end: clean output, esbuild still approved/built, git still initialized, app still builds.

@changeset-bot

changeset-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b966785

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@marko/create Patch
create-marko Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey
DylanPiercey merged commit 0297054 into main Jul 22, 2026
8 checks passed
@DylanPiercey
DylanPiercey deleted the dpiercey-ws-cli-create-n9kgdk branch July 22, 2026 17:36
@github-actions github-actions Bot mentioned this pull request Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant