fix(create): replace deprecated @tanstack/create-start with @tanstack/cli#1259
fix(create): replace deprecated @tanstack/create-start with @tanstack/cli#1259jong-kyung wants to merge 2 commits intovoidzero-dev:mainfrom
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Every vp create @tanstack/start invocation now appends --no-toolchain to @tanstack/cli create. The TanStack CLI tanstack create reference documents --toolchain <id>, --no-git, and --no-install, but not --no-toolchain; with strict option parsing this turns into an unknown-option error and can abort scaffolding before project creation.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (scope === '@tanstack' && name === 'start') { | ||
| return `@tanstack/cli${version}`; | ||
| } | ||
|
|
||
| return `${scope}/create-${name}${version}`; |
There was a problem hiding this comment.
Preserve direct @tanstack/cli template names
This migration makes @tanstack/cli the canonical package, but scoped names that do not start with create- are still rewritten to @scope/create-*. As a result, vp create @tanstack/cli -- ... is converted to @tanstack/create-cli, which fails package resolution even though the real package exists. Add a pass-through for @tanstack/cli (including versioned inputs) before the default scoped rewrite.
Useful? React with 👍 / 👎.

Summary
@tanstack/create-startwith@tanstack/cli createwhen runningvp create @tanstack/startcreatesubcommand prepend inautoFixRemoteTemplateCommand(following existingsvpattern)--no-install,--no-toolchain,--no-git(monorepo) auto-fix flagsCloses #1238