-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Upgrade to Scala.js 1.3.0. #10013
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
Upgrade to Scala.js 1.3.0. #10013
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.
Hello, and thank you for opening this PR! 🎉
All contributors have signed the CLA, thank you! ❤️
Commit Messages
We want to keep history, but for that to actually be useful we have
some rules on how to format our commit messages (relevant xkcd).
Please stick to these guidelines for commit messages:
- Separate subject from body with a blank line
- When fixing an issue, start your commit message with
Fix #<ISSUE-NBR>:
- Limit the subject line to 72 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line ("Add" instead of "Added")
- Wrap the body at 80 characters
- Use the body to explain what and why vs. how
adapted from https://chris.beams.io/posts/git-commit
Have an awesome day! ☀️
@liufengyun There's one test failing on the Windows CI although it works locally for me. Apparently an expected multiline string literal contains an extra new line that shouldn't be there. Could it be that the Windows CI's git is configured to "checkout Windows-style"? If yes, that should be changed to "checkout as is". |
@sjrd To fix the problem once for all Windows, we can try |
That's not really going to help, because it's for sources of Scala.js that are cloned through a I've pushed an attempt at working around the issue by forcing |
@anatoliykmetyuk In the community build, for cats-effects-2, I errors like:
So we're running the JS tests of cats-effects-2 in the community build? If yes we should force it to use sbt-scalajs 1.3.0 instead of the 1.2.0 that it declares in its |
Can you put it in the Scala.js repo? |
I could, but it would only work when the next version comes out, so no upgrading for 2 months. Having anything but |
I agree. I already changed the setting on the machine:
To ease maintainability, I think it is better to minimize external configurations that are not managed by git. |
To override a plugin, you can modify the command with which SBT is started for that test. The following line, e.g., tells each test to use the locally-published SBT Dotty plugin, you can do the same with the Scala.js plugin. |
…need it. Currently, this is only for cats-effect-2.
@anatoliykmetyuk Thanks, that worked! Would you mind reviewing the third commit, where I introduce that (Force-upgrade ...)? |
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.
3rd commit which forces the Scala.js plugin LGTM
No description provided.