Skip to content

push-based/ts-jiti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jiti TSC

Jiti that Supports TypeScript Configuration


license


Overview

jiti does not support TypeScript config files. jiti-tsc bridges this gap by converting tsconfig.json paths into jiti-compatible options for better developer experience in monorepo environments.

Packages

  • @push-based/jiti-tsc - CLI tool and programmatic API for using jiti with TypeScript configuration files

Quick Start

Installation

npm install @push-based/jiti-tsc

Usage

# Run jiti with tsconfig-derived options
JITI_TS_CONFIG_PATH=./tsconfig.json npx jiti-tsc ./path/to/module.ts

# Print resolved jiti configuration
JITI_TS_CONFIG_PATH=./tsconfig.json npx jiti-tsc print-config

This will use your TypeScript configuration to resolve path aliases and other compiler options when running jiti.

Features

  • 🔒 Type-safe - Full TypeScript support with path alias resolution
  • 📦 Zero config - Automatically detects tsconfig.json in the current directory
  • 🎯 Monorepo support - Resolves TypeScript path aliases at runtime
  • 📝 CLI & API - Both command-line tool and programmatic API available

Contributing

See CONTRIBUTING.md for guidelines on how to contribute to this project.

About

Wrapper around jiti to support TS config derived options

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published