首页/后端开发/arch-tsdown-monorepo
A

arch-tsdown-monorepo

by @hairyfv1.0.0
0.0(0)

pnpm monorepo starter for TypeScript libraries with tsdown per package. Use when scaffolding or maintaining a multi-package TS/ESM repo with workspace deps and npm Trusted Publisher.

MonorepoTypeScriptArchitecture DesignScalable SystemsNxTurborepoGitHub
安装方式
npx skills add hairyf/skills --skill arch-tsdown-monorepo
compare_arrows

Before / After 效果对比

0

description 文档


name: arch-tsdown-monorepo description: pnpm monorepo starter for TypeScript libraries with tsdown per package. Use when scaffolding or maintaining a multi-package TS/ESM repo with workspace deps and npm Trusted Publisher. metadata: author: hairy version: "2026.2.2" source: Generated from https://github.com/hairyf/starter-monorepo, scripts located at https://github.com/antfu/skills

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 with projects (root + packages/*).

Core References

| Topic | Description | Reference | |-------|-------------|-----------| | Overview | Monorepo purpose, structure, when to use | core-overview | | Workspace | pnpm workspace, catalogs, workspace:* deps | core-workspace | | Packages | Package layout, exports, inter-package deps | core-packages | | Package Exports | Dual exports (dev vs publish), main/module/types, files, sideEffects | core-package-exports | | tsdown (per package) | entry, dts, exports, publint | core-tsdown-per-package | | Scripts | Root and package scripts — build, dev, typecheck, test, release | core-scripts | | Testing | Vitest projects — root + packages/* | core-testing | | Tooling | ESLint, TypeScript, .gitignore, .vscode | core-tooling | | CI | GitHub Actions — lint, typecheck, test matrix | core-ci | | Release | npm Trusted Publisher, bumpp, release workflow | core-release | | Git Hooks | simple-git-hooks, lint-staged, pre-commit | core-git-hooks |

Features

| Topic | Description | Reference | |-------|-------------|-----------| | Exports Snapshot | Per-package export snapshot tests (vitest-package-exports, runIf(IS_READY)) | features-exports-snapshot | | Add Package | Step-by-step adding a new workspace package | features-add-package |

Best Practices

| Topic | Description | Reference | |-------|-------------|-----------| | Monorepo | Catalogs, workspace deps, release, build order | best-practices-monorepo |

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月16日
对比案例0 组

用户评分

0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月16日
最后更新2026年3月16日