What problem does it solve? Setting up a TypeScript library involves many interlocking decisions—package.json exports for dual CJS/ESM, tsconfig options, build tool selection, type-safe API design, testing, and release automation—and getting any of them wrong produces broken packages or poor consumer experience. ## Core Features & Use Cases - Project & Build Setup: Covers project scaffolding, pnpm catalogs, tsdown/unbuild configuration, and dual CJS/ESM output with type declarations. - API & Type Design: Provides patterns for options resolution, factory functions, builders, plugins (unplugin), and advanced TypeScript type inference tricks. - Testing & Release: Includes vitest setup, fixture-based and type-level testing, GitHub Actions CI, OIDC-based npm publishing with provenance, and pkg-pr-new PR previews. - Use Case: When creating a new npm package, load the relevant reference files to configure exports, build with tsdown, verify with publint and arethetypeswrong, and set up a tag-triggered OIDC release workflow. ## Quick Start Ask the AI to scaffold a new TypeScript library with dual CJS/ESM exports, tsdown build config, vitest tests, and an OIDC npm release workflow.