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
安装命令
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
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/arch-tsdown

默认分支

main

最新提交

4f463c7

Tree SHA

73bcd03