taTanStack
GitHubrouterWorkspace
GitHub
  • CI Pipeline Executions
    • Current executionFailed
      fix/router-generator-plain-ts-route-scaffolding
    • Runs and Agents
    • TimelineBeta
    • Configuration
    • Self-Healing CI
    • Project Graph
    • Circular DependenciesEnterprise
    • Resource Usage
    • Analysis
    • ConformanceEnterprise
  • Runs
    • Current runSucceeded
    • Tasks
    • Resource Usage
Insights
  • Compare tasks
  • Analytics
    fix(router-generator): scaffold plain TypeScript routes without JSX Creating an empty `.ts` file within the routes folder broke all route generation with the error: `SyntaxError: Missing semicolon. (8:19)`. The generator scaffolds empty route files with the targets built in templates, which for React & Solid includes a JSX hello world component. This then fails to parse for plain TypeScript files due to Babel's jsx plugin being omitted for `.ts` filenames. This throws an error before the file is written, so the route file remains empty, and the route tree isn't generated until the file is deleted or populated by hand. This change opts to scaffold plain TypeScript files with no component instead, as a `.ts` file is almost always a server route: ``` import { createFileRoute } from '@tanstack/react-router' export const Route = createFileRoute('/api/foo')({}) ``` Vue templates and custom user scaffolding remain unchanged.
    nx run-many --target=build --exclude=examples/** --exclude=e2e/**
Succeeded
Linux
4 CPU cores
read access token used
269ed1948481

Get faster results

Learn how to enable distribution.

Atomizer enabled

43 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools
GitHubrouterWorkspace