-
Notifications
You must be signed in to change notification settings - Fork 99
[BUGFIX] Removes the class properties transform for the latest ember-cli-babel #640
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
[BUGFIX] Removes the class properties transform for the latest ember-cli-babel #640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but we actually have a test covering this, which is currently failing! Do you mind digging in and making sure we get the right behavior?
yarn.lock
Outdated
@@ -40,6 +40,17 @@ | |||
source-map "^0.5.0" | |||
trim-right "^1.0.1" | |||
|
|||
"@babel/generator@^7.4.0": | |||
version "7.4.0" | |||
resolved "http://artifactory.corp.linkedin.com:8081/artifactory/api/npm/npm-external-new/@babel/generator/-/@babel/generator-7.4.0.tgz#c230e79589ae7a729fd4631b9ded4dc220418196" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this domain won't resolve from the outside world?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah lol, I guess something got messed up with my config
I can confirm that there are issues with the current version of ember-cli-typescript (v2) when using ember-cli-babel v7.7. Hopefully this fixes these. |
267f4e1
to
a80bc7e
Compare
@pzuraq would you be so kind as to rebase this and one of us will merge it tomorrow? Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently have "ember-cli-babel@7.7.3" on master, and no sign of test failure in any environment.
If we can get some steps to reproduce the problem this PR fixes, I'd be happy to implement equivalent tests.
Master likely still causes warnings to pop up, so this PR should be updated to not add the class fields plugin and prevent those warnings. Will do it momentarily |
We have tests that assert on terminal output, so it should be possible to write one for this |
@pzuraq mind updating this with the suggested tests (one of us can point you where you need for reference if need be) and a fresh rebase? |
Yeah, I'm just a bit overloaded at the moment, so unsure when I'll be able to get to updating/adding tests. I can definitely rebase though. |
a80bc7e
to
5d81ee3
Compare
Totally understand – thank you! |
Originally posted by @mike-north in #623 (comment) |
Where are we at on this? |
Co-Authored-By: pzuraq <me@pzuraq.com>
9eac93d
to
ab19f8a
Compare
Closing in favor of #730 |
The latest☹️
ember-cli-babel
supports class fields, so there's no reason to add the plugin here 🎉 and adding it breaks thingsEdit by @chriskrycho, 2019/04/26: For searchability, adding the text of the kind of error users see without this: