Skip to content

fix(create): skip hooks prompt in monorepo and enable verbose for remote templates#764

Merged
fengmk2 merged 1 commit intomainfrom
vp-create-tpls-fix
Mar 10, 2026
Merged

fix(create): skip hooks prompt in monorepo and enable verbose for remote templates#764
fengmk2 merged 1 commit intomainfrom
vp-create-tpls-fix

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Mar 10, 2026

  • Skip pre-commit hooks prompt when running vp create inside a monorepo,
    since hooks are managed at the monorepo root
  • Enable verbose mode by default for non-builtin templates (e.g., ``@tanstack/create-start, custom templates) so their interactive CLI
    output is visible
  • Skip git init prompt in monorepo template when running in silent mode

closes VP-238

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 10, 2026

Deploy Preview for viteplus-staging canceled.

Name Link
🔨 Latest commit 5160c12
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-staging/deploys/69b01b107f525100080b0b26

Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 10, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 self-assigned this Mar 10, 2026
@fengmk2 fengmk2 requested review from Brooooooklyn and cpojer March 10, 2026 12:07
@fengmk2 fengmk2 marked this pull request as ready for review March 10, 2026 12:08
@linear
Copy link
Copy Markdown

linear Bot commented Mar 10, 2026

VP-238 vp create: make git init prompt consistent across templates

Feedback: In , the "Vite+ Monorepo" template is the only one that asks "Initialize git repository?"; other templates don't ask. This feels inconsistent.\n\nTask: Decide intended behavior and make it consistent across templates (either always ask, or never ask, but consistent).\n\nSuggested: ask regardless of template (per user feedback).\n\nAcceptance: Running with any template has the same git init prompt behavior.

@fengmk2 fengmk2 requested a review from branchseer March 10, 2026 12:25
…ote templates

- Skip pre-commit hooks prompt when running `vp create` inside a monorepo,
  since hooks are managed at the monorepo root
- Enable verbose mode by default for non-builtin templates (e.g.,
  @tanstack/create-start, custom templates) so their interactive CLI
  output is visible
- Skip git init prompt in monorepo template when running in silent mode
@fengmk2 fengmk2 force-pushed the vp-create-tpls-fix branch from b6d25a5 to 5160c12 Compare March 10, 2026 13:22
Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 10, 2026

Merge activity

  • Mar 10, 1:22 PM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 10, 1:35 PM UTC: @fengmk2 merged this pull request with Graphite.

@fengmk2 fengmk2 merged commit 52a4778 into main Mar 10, 2026
22 checks passed
@fengmk2 fengmk2 deleted the vp-create-tpls-fix branch March 10, 2026 13:35
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.

2 participants