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

Add possibility to indicate explicitly tsconfig location #35

Conversation

procopenco
Copy link
Contributor

@procopenco procopenco commented Apr 13, 2018

Summary

  • I have added possibility to indicate location of tsconfig.json. It is same syntax as for ts-node. I think it will be very helpful.

Example

> ts-node -r ./register.js --project ./example/project/tsconfig.json ./example/project/main.ts
or with alias
> ts-node -r ./register.js -P ./example/project/tsconfig.json ./example/project/main.ts

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 83.727% when pulling 9039622 on procopenco:add-possibility-to-indicate-tsconfig-location into 215b423 on dividab:master.

@coveralls
Copy link

coveralls commented Apr 13, 2018

Coverage Status

Coverage increased (+1.7%) to 85.668% when pulling 9b4f3ff on procopenco:add-possibility-to-indicate-tsconfig-location into 215b423 on dividab:master.

@procopenco
Copy link
Contributor Author

@amodm @jonaskello
Hey guys, please take a look. This feature will help me a lot.

@jonaskello
Copy link
Member

Looks good to me!

@Jontem would you care to take a look too?

@procopenco Perhaps you can also add some docs about this option to the readme?

@procopenco
Copy link
Contributor Author

@jonaskello Added docs to readme. Please take another look.

@jonaskello jonaskello merged commit 8e49a14 into dividab:master Apr 14, 2018
@jonaskello
Copy link
Member

Released in 3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants