Skip to content

Conversation

sbrunk
Copy link
Contributor

@sbrunk sbrunk commented Sep 26, 2022

For the most part, this PR only touches the build and moves sources into the shared subdirectory for cross-builds.

This is possible because almost all upstream dependencies are already ported to Scala.js and most modules does not use any JVM only APIs. There's one code change in the tests because Scala.js recommends using another execution context for better performance.

Additionally oauth2-cache-cats isn't ported yet because cats effect does not provide realTimeInstant on JS but realTimeDate based on js.Date. It shouldn't be hard but I don't use the cache module so I left it out for now.

@majk-p majk-p requested review from majk-p and matwojcik September 26, 2022 13:27
Copy link
Member

@majk-p majk-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Collaborator

@matwojcik matwojcik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, thanks for that! @majk-p I think we may add a task for porting this cats cache as well, WDYT?

majk-p and others added 2 commits September 29, 2022 10:37
Co-authored-by: Mateusz Wójcik <[email protected]>
Co-authored-by: Mateusz Wójcik <[email protected]>
@majk-p majk-p merged commit dc0004c into polyvariant:main Sep 29, 2022
@sbrunk sbrunk deleted the scalajs branch June 14, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants