tanstack-config

Automate Vite, ESLint, and Changesets configuration for JavaScript/TypeScript monorepo packages.

Updated Jul 2, 2025
One-click install
npx skills add https://github.com/janpeterd/dotfiles --skill tanstack-config-janpeterd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tanstack-config
Source: https://github.com/janpeterd/dotfiles/tree/main/dot_agents/skills/tanstack-config
Command: npx skills add https://github.com/janpeterd/dotfiles --skill tanstack-config-janpeterd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps JavaScript and TypeScript teams avoid repetitive, error-prone setup work when building and publishing reusable packages.

Core Features & Use Cases

  • Vite-powered build configuration: Generate production-ready ESM/CJS outputs and TypeScript declarations with a minimal config surface.
  • Opinionated linting and formatting baseline: Apply consistent ESLint rules across packages to reduce review churn and style drift.
  • Publishing automation with Changesets + CI: Streamline semantic versioning, changelog generation, and GitHub Actions-based release publishing for monorepos.

Quick Start

Tell the AI to scaffold a monorepo package using pnpm with TanStack’s Vite config, TanStack ESLint, and a Changesets-based release workflow for publishing to npm.

Frequently Asked Questions about tanstack-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Vite build configuration and TypeScript declaration generation for a monorepo?

Standardize Vite build configuration by applying tanstackViteConfig to generate production-ready ESM/CJS outputs and TypeScript declarations with a minimal config surface across packages.

What is the best way to automate semantic versioning and package publishing in a JavaScript monorepo?

Automate package publishing by integrating Changesets for semantic versioning and changelog generation, paired with GitHub Actions CI to streamline reliable npm releases.

How do I enforce a consistent ESLint baseline across multiple packages in a workspace?

Enforce a consistent ESLint baseline by applying tanstackEslintConfig across all packages, reducing review churn and preventing style drift within the workspace.

Does this publishing workflow require aligning package.json exports and module type?

Yes, reliable releases require aligning package.json exports, module type, and workspace tooling alongside tanstackPublishConfig to ensure correct automated publishing.

Can I use this setup to scaffold a new pnpm workspace package from scratch?

Yes, you can scaffold a new monorepo package using pnpm by instructing the AI to apply TanStack Vite config, TanStack ESLint, and a Changesets release workflow.