-
Notifications
You must be signed in to change notification settings - Fork 309
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
Fix TS5 + ESM hang; and upgrade dev dependencies to ng17 #2197
Conversation
This update appears to fix thymikee#2138. It builds with TS 5, and all tests and example tests pass. fixes: [Bug]: ESM with TypeScript >= 5.0 hangs forever thymikee#2138
Something is wrong with lock file, would you please check? The rest LGTM |
Husky is required by the postinstall script, but was previously missing.
Tests pass, and example tests pass. resolves: [Feature]: Angular 17 support thymikee#2196
1ed890e
to
5f3effb
Compare
@ahnpnl - I had to add Thanks for the review + guidance. |
Would you please also add eslint comments to bypass several |
I can confirm that these updates work as expected on our projects using TS 5.2.2 and ng 17.0.8 and ng 17.0.9. |
Thanks! |
Happy to help! Thank you! |
Great work on this change! |
Summary
I attempted to fix #2138, and as a side effect also upgrade to ng 17, resolving #2196. The main fixes were adding/improving the typescript version detection and version bridging functions so that the breaking changes in TS 5 (that I'm aware of) are handled, without changing the current level of backward compatibility with older versions of typescript and angular.
Test plan
yarn test
andyarn test-examples
all pass (locally).Tomorrow I will upgrade our projects to ng 17 and TS 5 to verify that our tests no longer hang, as described in #2138.
Does this PR introduce a breaking change?
Should not be breaking - I did my best to preserve the existing level of backward compatibility.
Other information
fixes: #2138
resolves: #2196