Skip to content

feat(tanstack): upstream catalog add-on to TanStack/cli #1818

Description

@yamcodes

Summary

Submit @arkenv/tanstack-addon as an official built-in catalog add-on directly to the TanStack/cli repository (packages/create/src/frameworks/react/add-ons/arkenv), enabling developers to scaffold TanStack Start applications via:

npx @tanstack/cli create my-app --add-ons arkenv

Context & RFC

  • Public RFC Discussion: #1817
  • Design Note: docs/design/tanstack-cli-addon.md
  • Current Live Add-on: Available today via https://arkenv.js.org/tanstack/info.json (compiled from packages/tanstack-addon).

Blocking Preconditions

This issue is marked blocked pending two external milestones:

  1. ArkEnv v1 GA Graduation:
    • Wait until 1.0.0 GA packages (@arkenv/core, @arkenv/standard, @arkenv/vite-plugin, @arkenv/rsbuild-plugin) are published on npm under the latest tag (no @alpha).
    • Tear down the temporary /tanstack/* proxy rewrite in apps/www/next.config.ts on main so apps/www/public/tanstack/ serves natively.
  2. Upstream Bundler Alignment (TanStack/cli#505):

Acceptance Criteria

  • Submit PR to TanStack/cli adding packages/create/src/frameworks/react/add-ons/arkenv containing info.json, package.json.ejs, README.md, and assets/.
  • Dependencies point to stable GA releases (e.g. ^1.0.0).
  • Verify npx @tanstack/cli create test-app --add-ons arkenv successfully runs interactively with validator selection (ArkType, Zod, Valibot) and optional demo route.
  • Update ArkEnv documentation in apps/www/content/docs/frameworks/tanstack-start.mdx to feature the bare identifier npx @tanstack/cli create my-app --add-ons arkenv.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWork cannot proceed; waiting on something elsedocsAdds or changes documentation, or acts as documentation in and of itselfenhancementNew feature or improvementready for agentFully specified, ready for immediate implementationwwwImprovements or additions to arkenv.js.org

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions