Toolverse
All skills

tsdown

by onmax

Use when bundling TypeScript libraries - provides tsdown configuration, dual ESM/CJS output, .d.ts generation, package validation, and plugin authoring

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
onmax
Category
Security
Views
23

About this skill

Use when bundling TypeScript libraries - provides tsdown configuration, dual ESM/CJS output, .d.ts generation, package validation, and plugin authoring

How to use

  1. Zainstaluj tsdown i TypeScript jako zależności deweloperskie: npm i -D tsdown typescript

  2. Utwórz plik konfiguracyjny tsdown.config.ts w katalogu głównym projektu. Zdefiniuj punkt wejścia (entry), format wyjścia (np. 'esm'), włącz generowanie deklaracji typów (dts: true) i eksporty (exports: true) za pomocą funkcji defineConfig.

  3. Uruchom bundler poleceniem tsdown w terminalu, aby zbudować bibliotekę. Pliki wyjściowe pojawią się w domyślnym katalogu output.

  4. Aby pracować w trybie obserwacji zmian, użyj tsdown --watch – bundler będzie automatycznie przebudowywać bibliotekę po każdej edycji kodu źródłowego.

  5. Jeśli potrzebujesz zaawansowanej konfiguracji (pluginy, shims, integracja z frameworkami), zapoznaj się z dokumentacją referencyjną w pliku advanced.md dołączonym do projektu.

  6. Przed publikacją na npm sprawdź, czy plik package.json zawiera prawidłowe pola exports i types, wskazujące na wygenerowane pliki ESM, CJS i deklaracje typów.

Related skills

content-creator

by alirezarezvani

Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content

Security
25124

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116

security-compliance

by davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding

Security
1172

typescript-review

by metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

Security
17133

manim

by davila7

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

Security
1588