0.1.0 • Published 1 year ago

typestep v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Typestep

Typestep aims to simplify the migration process from JavaScript to TypeScript in existing projects by offering a gradual transition strategy. It allows developers to introduce TypeScript incrementally by leveraging the parsing of TypeScript compiler output (tsc)

Usage

npm install typestep --save-dev

!WARNING Do Not Use --pretty option with tsc

tsc > tsc-output.log

Config file

Init config file

!NOTE Init command will create your Typestep config file with all files from the tsc output marked as ignored

typestep init tsc-output.log

Or create your config file

// typestep.config.ts
import type { TypestepConfig } from 'typestep'

export default {
  ignoredFiles: ['src/main.ts'], // files to ignore
  fullOutput: false, // get full output errors (default: false)
} satisfies TypestepConfig

Run typestep

typestep run tsc-output.log
0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.0

1 year ago