Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

index.ts

12 lines489 Bytes

1#!/usr/bin/env node
2console.warn('\x1b[33m%s\x1b[0m', 'Warning: create-tsrouter-app is deprecated. Use "tanstack create --router-only" or "npx @tanstack/cli create --router-only" instead.')
3console.warn('\x1b[33m%s\x1b[0m', ' This defaults to router-only compatibility mode (file-based routing, no Start-specific add-ons).\n')
4​
5import { cli } from '@tanstack/cli'
6​
7cli({
8 name: 'create-tsrouter-app',
9 appName: 'TanStack',
10 legacyAutoCreate: true,
11 defaultRouterOnly: true,
12})