-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
Not possible to ignore tsconfig.json #456
Comments
Can you try with |
Closing with an update to docs: e7591c7. |
@blakeembrey
https://github.com/TypeStrong/ts-node#loading-tsconfigjson Also, what is the correct setting when using environment variables? |
If you want to submit a PR, go for it. But |
Oh, I see now, I have another place to update. Feel free to still submit a PR, otherwise I’ll get to it as I can. |
Aren't environment variables also limited to strings? Seems like that would cause the same issue... |
The string is parsed as a boolean, so no. |
But not that one I guess, so yes. Open to PRs. |
This should add |
--no-project useless, sad. Still can not ignore tsconfig.json |
Fixes TypeStrong#456 process env variables are always strings, see https://nodejs.org/api/process.html#process_process_env, so I added TS_NODE_NO_PROJECT to set project === false
Fixes TypeStrong#456 process env variables are always strings, see https://nodejs.org/api/process.html#process_process_env, so I added TS_NODE_NO_PROJECT to set project === false
@blakeembrey I authored a PR to fix this. |
Should be possible again now with #536. Thanks for your patience. |
Solution: |
I'm trying to get ts-node to behave as if there was no tsconfig in the current directory. Unless I'm misunderstanding the readme (https://github.com/TypeStrong/ts-node#loading-tsconfigjson), this should be possible...
in an empty directory:
The text was updated successfully, but these errors were encountered: