Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove ts-node dev-dependency #602

Merged
merged 1 commit into from
Oct 5, 2017
Merged

build: remove ts-node dev-dependency #602

merged 1 commit into from
Oct 5, 2017

Commits on Oct 5, 2017

  1. build: remove ts-node dev-dependency

    Refactor project infrastructure to transpile test files together with
    production code and then run the tests from plain javascript code.
    
    Benefits:
    
     - consistent error message parseable by VSCode's $tsc problem matcher
       (compiler errors from test files will show in Problems window now)
    
     - earlier feedback about type-related problems in test files,
       no need to wait for ts-node to load type information from
       tsc output
    
     - slightly faster red-green-refactor cycle,
       `npm test` takes 27s instead of 32s.
    
     - we are opening doors to eventually start using `tsc --watch`
       once TypeScript adds support for multi-project repositories,
       see microsoft/TypeScript#3469
    bajtos committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    0b49bad View commit details
    Browse the repository at this point in the history