typescript-packaging

Orchestrate TypeScript monorepo package management with pnpm workspaces, tsup, and Vite.

1|1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Jylhis/skills --skill typescript-packaging
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: typescript-packaging
Source: https://github.com/Jylhis/skills/tree/main/skills/typescript-packaging
Command: npx skills add https://github.com/Jylhis/skills --skill typescript-packaging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Package management for TypeScript projects, enabling consistent monorepo setups, library builds, and npm publishing across multiple packages.

Core Features & Use Cases

  • Monorepo support: Manage multiple packages with pnpm workspaces and a shared config.
  • Library builds: Build libraries with tsup and publish artifacts.
  • App development with Vite: Scaffold and run Vite-based applications within a workspace.
  • Use Case: Set up a new monorepo and publish packages to npm with a unified workflow.

Quick Start

Set up a new repository with pnpm, configure workspaces, and start building with tsup and Vite.

Frequently Asked Questions about typescript-packaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a TypeScript monorepo with pnpm workspaces?▼

To set up a TypeScript monorepo with pnpm, you configure a pnpm-workspace.yaml file to define workspace layouts for multiple packages. This establishes a unified structure to scaffold Vite apps and build libraries with shared configurations.

What is the best way to build and publish TypeScript libraries in a monorepo?▼

The best way to build and publish TypeScript libraries in a monorepo is using tsup to compile artifacts and pnpm to handle publishing steps. This workflow applies to multi-package repositories, ensuring consistent library builds and npm releases.

Can I use Vite for app development inside a pnpm monorepo?▼

Yes, you can use Vite for app development inside a pnpm monorepo. The setup scaffolds and runs Vite-based applications directly within the workspace, integrating app development alongside your library builds.

How do I convert an existing TypeScript project to a pnpm monorepo?▼

Converting an existing TypeScript project to a pnpm monorepo involves specifying new workspace layouts and applying shared build configurations. You restructure the repository using pnpm-workspace.yaml and integrate tsup and Vite templates.

Does tsup work with pnpm workspaces for building TypeScript packages?▼

Yes, tsup works with pnpm workspaces for building TypeScript packages. It handles library builds within the multi-package repository, compiling artifacts that can then be published to npm using the unified pnpm workflow.