arch-tsdown-monorepo
This skill guides you through architecting a TypeScript monorepo using pnpm as your package manager and tsdown for efficient bundling. It combines proven patterns from the web development community with streamlined tooling to accelerate multi-package project setup.
arch-tsdown-monorepo guides you through architecting a TypeScript monorepo using pnpm as your package manager and tsdown for efficient bundling. The skill combines proven patterns from the web development community with streamlined tooling to accelerate multi-package project setup, covering workspace configuration, shared dependencies, and per-package build systems.
AI-generated summary based on this skill's SKILL.md
Install
hairyf/skills/arch-tsdown-monorepo · repository language: MDX
git clone https://github.com/hairyf/skills
cp -r skills/skills/arch-tsdown-monorepo ~/.claude/skills/arch-tsdown-monorepoFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I set up a TypeScript monorepo with pnpm and tsdown?
arch-tsdown-monorepo guides you through architecting a TypeScript monorepo using pnpm as your package manager and tsdown for efficient bundling. The skill combines proven patterns from the web development community with streamlined tooling to accelerate multi-package project setup, covering workspace configuration, shared dependencies, and per-package build systems.
What does arch-tsdown-monorepo teach about pnpm workspace with tsdown build?
arch-tsdown-monorepo covers how to configure a pnpm workspace that leverages tsdown for per-package builds. This includes setting up workspace root configuration, defining package interdependencies, and using tsdown's efficient bundling to handle TypeScript compilation and ESM output across multiple packages in your monorepo.
Can arch-tsdown-monorepo help me scaffold a multi-package workspace with shared tooling?
Yes, arch-tsdown-monorepo is designed to help you scaffold and maintain a multi-package workspace with shared tooling. It provides patterns for centralizing ESLint, Vitest, and other development tools across your monorepo, ensuring consistency while allowing individual packages to maintain their own configurations when needed.
How does arch-tsdown-monorepo address npm Trusted Publisher for automated CI releases?
arch-tsdown-monorepo includes guidance on configuring npm Trusted Publisher for automated CI-based releases in your monorepo. This enables secure, token-free publishing directly from your CI pipeline, streamlining the release process for multiple packages without manual credential management.
What monorepo best practices does arch-tsdown-monorepo cover?
arch-tsdown-monorepo teaches monorepo best practices including pnpm catalogs for centralized dependency management, workspace dependency setup for TypeScript libraries, and strategies for organizing multi-package repositories. These patterns help you maintain consistency, reduce duplication, and scale your monorepo as it grows.
Can I add new packages to an existing pnpm monorepo using arch-tsdown-monorepo?
Yes, arch-tsdown-monorepo provides guidance on adding new packages to an existing pnpm monorepo. It covers how to structure new packages, configure them within your workspace, integrate them with your shared tooling and build system, and ensure they follow the established patterns in your repository.
SKILL.md
rendered from the published skill — quoted content, verbatim
arch-tsdown-monorepo is a pnpm monorepo starter for TypeScript libraries (based on hairyf/starter-monorepo). Each package uses tsdown for building. It provides shared tooling (ESLint, Vitest, TypeScript), pnpm catalogs for versions, workspace dependencies, and optional npm Trusted Publisher for CI-based releases.
> The skill is based on hairyf/starter-monorepo, generated at 2026-02-02.
Recommended practices:
- Use pnpm catalogs for devDependency versions; reference with catalog:cli, catalog:testing, etc.
- Use workspace:* for inter-package dependencies; publish once manually, then use npm Trusted Publisher for CI releases.
- Run build/typecheck/test from root with pnpm -r run ... and a single Vitest config
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 15 files
skills/arch-tsdown-monorepo/GENERATION.md
skills/arch-tsdown-monorepo/SKILL.md
skills/arch-tsdown-monorepo/assets/ci.yml
skills/arch-tsdown-monorepo/assets/release.yml
skills/arch-tsdown-monorepo/references/best-practices-monorepo.md
skills/arch-tsdown-monorepo/references/core-ci.md
skills/arch-tsdown-monorepo/references/core-git-hooks.md
skills/arch-tsdown-monorepo/references/core-overview.md
skills/arch-tsdown-monorepo/references/core-package-exports.md
skills/arch-tsdown-monorepo/references/core-packages.md
skills/arch-tsdown-monorepo/references/core-release.md
skills/arch-tsdown-monorepo/references/core-scripts.md
skills/arch-tsdown-monorepo/references/core-testing.md
skills/arch-tsdown-monorepo/references/core-tooling.md
skills/arch-tsdown-monorepo/references/core-tsdown-per-package.md