Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Turborepo monorepo for
trigger-adapters, a library that provides framework-specific adapters for Trigger.dev SDK integration. The project uses Bun as the package manager and Biome for linting/formatting.
packages/trigger-adapters/ - Main library package with adapter implementations
/src/core.ts - Core trigger function that wraps @trigger.dev/sdk/src/express.ts - Express.js adapter/src/hono.ts - Hono adapter/src/nextjs.ts - Next.js adapterapps/www/ - VitePress documentation sitepackage.json# Install dependencies bun install # Build all packages bun run build # or turbo run build # Development mode (all packages) bun run dev # or turbo run dev # Run Biome checks (linting & formatting) bun run check # Run Biome checks with auto-fix bun run check:write # Type checking across all packages bun run check-types # or turbo run check-types # Build/dev specific package turbo run build --filter=trigger-adapters turbo run dev --filter=www
packages/trigger-adapters/)# Navigate to package directory cd packages/trigger-adapters # Build the library (uses tsdown) bun run build # Development mode with watch bun run dev # Run tests with Vitest bun run test # Type checking bun run typecheck # Release new version (uses bumpp) bun run release
apps/www/)cd apps/www # Start dev server bun run dev # Build documentation bun run build # Preview built documentation bun run preview
The library provides a unified interface for integrating Trigger.dev with different web frameworks. Each adapter:
core.ts): Wraps the Trigger.dev SDK's tasks.trigger() functionhandler() function that:
params.id)trigger() functionThe package is built with:
package.json for tree-shaking supportbiome.json)packages/trigger-adapters/tests/bun run test from the package directorydist/ directory with .js, .cjs, and .d.ts files.vitepress/dist/ directoryturbo.json with dependency management