Arch Tsdown
TypeScript library starter using tsdown.
by hairyf · MIT
The skill
TypeScript library starter using tsdown. Use when scaffolding or maintaining a TS/ESM library with tsdown, pnpm, Vitest, and npm Trusted Publisher.
arch-tsdown is a TypeScript library starter (based on antfu/starter-ts) that uses tsdown for building. It provides a minimal, opinionated setup: ESM-only output, automatic .d.ts generation, pnpm, Vitest, ESLint, and optional npm Trusted Publisher for CI-based releases.
The skill is based on starter-ts (arch-tsdown source), generated at 2026-01-30.
Recommended practices:
- Build pure ESM; enable
dtsandexportsin tsdown config - Use npm Trusted Publisher for releases
- Run publint (via tsdown’s
publint: true) before publishing
Core References
| Topic | Description | Reference |
|---|---|---|
| Overview | Project purpose, structure, when to use | core-overview |
| tsdown Config | entry, dts, exports, publint | core-tsdown-config |
| Scripts & Release | build, dev, start, release, npm Trusted Publisher | core-scripts |
| Package Exports | dist output, types, exports, sideEffects | core-package-exports |
| pnpm Workspace | catalogs, version management, workspace | core-pnpm-workspace |
| Tooling | ESLint, TypeScript, Vitest config | core-tooling |
| Git Hooks | simple-git-hooks, lint-staged, pre-commit | core-git-hooks |
| CI | GitHub Actions — lint, typecheck, test matrix | core-ci |
| Release | Tag push, sxzz/workflows, npm Trusted Publisher | core-release |
| Testing | Vitest, vitest-package-exports, export snapshots | core-testing |
Best Practices
| Topic | Description | Reference |
|---|---|---|
| tsdown & Package | ESM, dts, exports, tooling alignment | best-practices-tsdown |
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: hairyf/arch-tsdown-61796085430.
Details
- Publisher
- hairyf
- Category
- Software Development › Developer docs & tooling
- License
- MIT
- Updated
- 2026-10-14
References
More from hairyf
- Anime Anime.js v4 - A fast, multipurpose and lightweight JavaScript animation library.
- Antfu Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.
- Arch Nuxt Lite Vitesse Lite — lightweight Vite + Vue 3 SPA with file-based routing, UnoCSS, VueUse, Vitest.
- Arch Nuxt Module Builder Build and ship Nuxt modules with @nuxt/module-builder.