Registry / devops / tsc-progress

tsc-progress

JSON →
library1.0.4jsnpmunverified

A TypeScript transformer plugin that displays a progress bar during tsc or ttypescript builds, inspired by webpackbar. Current stable version is 1.0.4, with no active release cadence (last update around 2021). It integrates seamlessly with ttypescript and requires no custom build tooling. The plugin allows customization of title and color. Alternative to other progress reporting tools but tightly coupled with ttypescript.

npm install tsc-progress
INSTALL
IMPORT
SIG · TSC-PROGRESS
T
tsc-progress
devopsjavascriptv1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
// No direct import; add to tsconfig.json plugins array
import tscProgress from 'tsc-progress'
This package is a TypeScript transformer plugin, not a programmatic API. It is configured via tsconfig.json, not imported in code.

Shows how to configure tsc-progress in tsconfig.json and use it with ttypescript.

// tsconfig.json { "compilerOptions": { "plugins": [ { "transform": "tsc-progress", "title": "MyBuild", "color": "yellow" } ] } } // Install ttypescript to use plugins: // npm install --save-dev ttypescript tsc-progress // Then compile with: npx ttsc
Debug
Known issues
deprecatedtsc-progress is not actively maintained; last updated in 2021. Consider alternative tools.
fix
Use TypeScript's built-in --watch or modern bundlers like esbuild that provide progress output.
affects: >=0.0.0
gotchaRequires ttypescript (not plain tsc) to work, because tsc does not support transformers in tsconfig.json.
fix
Install ttypescript: npm install --save-dev ttypescript, and use npx ttsc instead of npx tsc.
affects: >=0.0.0
breakingIf ttypescript is not installed, the transformer will be silently ignored.
fix
Ensure ttypescript is installed and that you run ttsc, not tsc.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'tsc-progress'
Package not installed or not resolved when ttypescript tries to load the transformer.
fix
Run npm install --save-dev tsc-progress and verify node_modules contains it.
error TS1308: 'await' expression is only allowed within an async function.
The plugin may have compatibility issues with certain TypeScript versions or configurations.
fix
Ensure TypeScript version matches the peer dependency (*). Consider using TypeScript 4.x.
Option 'plugins' is experimental and may not work with tsc.
Using tsc directly instead of ttypescript.
fix
Use ttypescript (ttsc) or a custom build pipeline that supports transformers (e.g., ts-node with transformers).
Upgrade
Version history
1.0.4latest on npm
Audit
Dependencies
typescriptrequiredpeer dependency required for the transformer plugin to work with tsc/ttypescript
Agent activity
2 hits · last 30 days
node
2
Resources
tsc-progress — npm install tsc-progress · libregistry