-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
v8.6.0 breaks TS_NODE_COMPILER_OPTIONS environment variable #938
v8.6.0 breaks TS_NODE_COMPILER_OPTIONS environment variable #938
Comments
Do you have a minimal reproducible example of the bug, to help with
diagnosis?
This is not intended to be a breaking change, hence the minor version bump.
Affected users can continue using the previous version of ts-node in the
meantime.
…On Fri, Jan 10, 2020, 1:40 PM Dylan Staley ***@***.***> wrote:
The release of v8.6.0 introduced the ability to configure via
tsconfig.json. However, it looks like in the process the ability to use
TS_NODE_COMPILER_OPTIONS was either removed or broken, resulting in broken
builds for us.
Since v8.6.0 was a minor semver release and did not have a "Breaking
Changes" section in the release notes, I did not anticipate any breaking
changes in this release. If the change was intentional, I suggest adding a
"Breaking Changes" section to the release notes, otherwise a patch release
that restores the behavior would be appreciated! In the meantime I've moved
to using tsconfig.json, so this would just be for other users who find
themselves in the same situation I found myself in.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#938?email_source=notifications&email_token=AAC35OFPXW2ENQ3762XGUBLQ5C6K5A5CNFSM4KFLXXGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFNLELQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC35OEILFUZI5ZWJLZEUG3Q5C6K5ANCNFSM4KFLXXGA>
.
|
Sure thing! Here you go. |
Thanks for the report, I think I may have introduced it when refactoring the |
Shouldn't that be correctly incorporating the environment variable? |
Oh I think it's because of the ordering of overrides. I put the 2 indicated values out of order. (from here)
|
Fixed with db409d7 and release as V8.6.1 - thanks! |
The release of v8.6.0 introduced the ability to configure via tsconfig.json. However, it looks like in the process the ability to use TS_NODE_COMPILER_OPTIONS was either removed or broken, resulting in broken builds for us.
Since v8.6.0 was a minor semver release and did not have a "Breaking Changes" section in the release notes, I did not anticipate any breaking changes in this release. If the change was intentional, I suggest adding a "Breaking Changes" section to the release notes, otherwise a patch release that restores the behavior would be appreciated! In the meantime I've moved to using tsconfig.json, so this would just be for other users who find themselves in the same situation I found myself in.
The text was updated successfully, but these errors were encountered: