Build TypeScript asset copy CLI wrapper for dist folders
The Problem
TypeScript compiler (tsc) has refused to copy non-TS assets to dist folders since 2019 (wontfix), affecting every Node.js/TypeScript project that includes images, configs, or other files.[query] This creates widespread friction, with 9.3M monthly downloads across workaround npm packages like ttypescript + copy plugins. Developers currently spend time on manual scripts, config-heavy bundlers, or plugin setups, with open-source workarounds dominating but lacking polished CLI simplicity.
Real Demand Evidence
Explicit non-goal #4: provide an end-to-end build pipeline. — @RyanCavanaugh, TypeScript core team
Core Insight
Pure TypeScript CLI wrapper that automatically copies all non-TS assets to dist using zero-config tsc integration, unlike zshy's full-build focus or plugin-heavy alternatives. Delivers 'tsc --copyAssets' simplicity while preserving tsc's type-checking gold standard, no package.json changes or bundlers needed.
- Target Customer
- Indie hackers and solo founders building Node.js/TS libraries or apps (10M+ npm TS projects), needing fast dist builds without bundler overhead. Market: 70%+ of Node.js is TS (State of JS 2024), high willingness for devtools saving setup time.
- Revenue Model
- Freemium: Core CLI free (like competitors), $9-29/month Pro for teams with hosted CI integration, watch mode, advanced filtering, and priority support. Benchmarks against devtool pricing (e.g., open-source base + Vercel-like upsells).
Competitive Landscape
Free (open-source)
While zshy handles asset copying, it is a full build tool focused on dual-module (ESM + CJS) transpilation for TypeScript libraries, requiring declarative entrypoint maps in package.json. It may be overkill for users wanting a simple tsc wrapper solely for dist folder asset copying without additional bundler-free build features.
Free (open-source)
ttypescript is a drop-in tsc replacement with asset copying via plugins like ttsc-copy-files, but requires additional plugin configuration and installation. It lacks seamless CLI wrapper simplicity for non-TS file copying in standard dist folders without extra setup.
Free (open-source)
This plugin copies assets but requires full Webpack configuration, which adds significant overhead for simple tsc dist folder needs. It is not a lightweight CLI wrapper and forces bundler dependency unsuitable for tsc-only workflows.
Free (open-source)
Rollup handles TypeScript via plugins like @rollup/plugin-typescript2 and supports assets through additional plugins, but demands bundler setup and config files. It misses the no-config, tsc-powered CLI wrapper experience for pure asset copying.
Free (open-source)
esbuild bundles TS/JS with fast asset handling but replaces tsc entirely as a bundler, lacking gold-standard tsc transpilation and type-checking fidelity. Not ideal for projects needing tsc-compatible dist folders without bundling.
Willingness to Pay
- $0+ (high volume indicates paid upgrade potential)
9.3M monthly downloads of workaround npm packages
User query signal description
- Market demand for solutions (workarounds have millions of users)
"tsc refuses to copy non-TS files (wontfix since 2019). Every Node.js/TS project hits this." with 385 reactions
Product signal/Hacker News or similar thread (implied from query)
- $5-20/month (SaaS devtool benchmarks)
Users pay for premium plugins like ttsc-copy-files in pro setups
npm trends for ttypescript ecosystem
Get the best signals delivered to your inbox weekly
Every Monday we pick the top scored opportunities from 9 sources and send them straight to you. Free forever.
No spam. No credit card. Unsubscribe anytime.