arch-tsdown

v2026.09.24

TypeScript library starter using tsdown. Use when scaffolding or maintaining a TS/ESM library with tsdown, pnpm, Vitest, and npm Trusted Publisher.

GitHub
Install command
npx skhub add hairyf/arch-tsdown
Markdown
SKILL.md

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 dts and exports in tsdown config
  • Use npm Trusted Publisher for releases
  • Run publint (via tsdown’s publint: true) before publishing

Core References

TopicDescriptionReference
OverviewProject purpose, structure, when to usecore-overview
tsdown Configentry, dts, exports, publintcore-tsdown-config
Scripts & Releasebuild, dev, start, release, npm Trusted Publishercore-scripts
Package Exportsdist output, types, exports, sideEffectscore-package-exports
pnpm Workspacecatalogs, version management, workspacecore-pnpm-workspace
ToolingESLint, TypeScript, Vitest configcore-tooling
Git Hookssimple-git-hooks, lint-staged, pre-commitcore-git-hooks
CIGitHub Actions — lint, typecheck, test matrixcore-ci
ReleaseTag push, sxzz/workflows, npm Trusted Publishercore-release
TestingVitest, vitest-package-exports, export snapshotscore-testing

Best Practices

TopicDescriptionReference
tsdown & PackageESM, dts, exports, tooling alignmentbest-practices-tsdown
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/arch-tsdown

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03