Skip to content

Instantly share code, notes, and snippets.

@sjrd
Last active March 5, 2020 17:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjrd/5f251c355dd9540b42765b0837db63b6 to your computer and use it in GitHub Desktop.
Save sjrd/5f251c355dd9540b42765b0837db63b6 to your computer and use it in GitHub Desktop.

Here is a non-exhaustive list of libraries that are known to support Scala.js 1.x at the moment. They are shown with sbt libraryDependencies syntax, and grouped by organization.

Libraries

"org.scala-js" %%% "scalajs-dom" % "1.0.0"
"org.scala-js" %%% "scalajs-java-time" % "1.0.0"
"org.scala-js" %%% "scalajs-java-logging" % "1.0.0"

"org.portable-scala" %%% "portable-scala-reflect" % "1.0.0"

"org.scala-lang.modules" %%% "scala-collection-compat" % "2.1.4"
"org.scala-lang.modules" %%% "scala-parser-combinators" % "1.1.2"

"me.shadaj" %%% "slinky-core" % "0.6.4"
"me.shadaj" %%% "slinky-web" % "0.6.4"
"me.shadaj" %%% "slinky-native" % "0.6.4"
"me.shadaj" %%% "slinky-hot" % "0.6.4"

"com.lihaoyi" %%% "sourcecode" % "0.2.1"
"com.lihaoyi" %%% "geny" % "0.5.1"
"com.lihaoyi" %%% "castor" % "0.1.2"
"com.lihaoyi" %%% "fansi" % "0.2.9"
"com.lihaoyi" %%% "scalatags" % "0.8.5"
"com.lihaoyi" %%% "pprint" % "0.5.9"
"com.lihaoyi" %%% "fastparse" % "2.2.4"
"com.lihaoyi" %%% "upickle" % "0.9.9"

"org.wvlet.airframe" %%% xyz % "20.2.1"

"org.scalactic" %%% "scalactic" % "3.1.1"

"com.chuusai" %%% "shapeless" % "2.3.3"

"org.typelevel" %%% "alleycats-core" % "2.1.1"
"org.typelevel" %%% "alleycats-laws" % "2.1.1"
"org.typelevel" %%% "cats-core" % "2.1.1"
"org.typelevel" %%% "cats-effect" % "2.1.2"
"org.typelevel" %%% "cats-free" % "2.1.1"
"org.typelevel" %%% "cats-kernel" % "2.1.1"
"org.typelevel" %%% "cats-kernel-laws" % "2.1.1"
"org.typelevel" %%% "cats-laws" % "2.1.1"
"org.typelevel" %%% "cats-macros" % "2.1.1"
"org.typelevel" %%% "cats-testkit" % "2.1.1"
"org.typelevel" %%% "claimaint" % "0.1.3"
"org.typelevel" %%% "claimaint-mc" % "0.1.3"
"org.typelevel" %%% "discipline-core" % "1.0.2"
"org.typelevel" %%% "discipline-scalatest" % "1.0.1"
"org.typelevel" %%% "simulacrum" % "1.0.0"
"org.typelevel" %%% "squants" % "1.6.0"

"io.circe" %%% "circe-core" % "0.13.0"
"io.circe" %%% "circe-numbers" % "0.13.0"
"io.circe" %%% "circe-numbers-testing" % "0.13.0"
"io.circe" %%% "circe-parser" % "0.13.0"
"io.circe" %%% "circe-scalajs" % "0.13.0"
"io.circe" %%% "circe-testing" % "0.13.0"

"com.github.julien-truffaut" %%% "monocle-core" % "2.0.4"
"com.github.julien-truffaut" %%% "monocle-macro" % "2.0.4"
"com.github.julien-truffaut" %%% "monocle-law" % "2.0.4" % "test"

"org.scodec" %%% "scodec-bits" % "1.1.14"
"org.scodec" %%% "scodec-core" % "1.11.6"

"com.github.scopt" %%% "scopt" % "3.7.1"

"be.doeraene" %%% "scalajs-jquery" % "1.0.0"

"org.planet42" %%% "laika-core" % "0.14.0"

Testing frameworks

"com.eed3si9n.expecty" %%% "expecty" % "0.13.0" % "test"
"com.eed3si9n.verify" %%% "verify" % "0.2.0" % "test"
"com.lihaoyi" %%% "utest" % "0.7.4" % "test"
"org.scalacheck" %%% "scalacheck" % "1.14.3" % "test"
"org.scalameta" %%% "munit" % "0.4.5" % "test"
"org.scalatest" %%% "scalatest" % "3.1.1" % "test"
"org.specs2" %%% "specs2-core" % "4.9.2" % "test"

sbt plugins

addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.17.0")
addSbtPlugin("ch.epfl.scala" % "sbt-web-scalajs-bundler" % "0.17.0")

addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.0.11")
@travisbrown
Copy link

Here's the current complete list for Circe:

"io.circe" %%% "circe-core" % "0.13.0"
"io.circe" %%% "circe-numbers" % "0.13.0"
"io.circe" %%% "circe-numbers-testing" % "0.13.0"
"io.circe" %%% "circe-parser" % "0.13.0"
"io.circe" %%% "circe-scalajs" % "0.13.0"
"io.circe" %%% "circe-testing" % "0.13.0"

@sjrd
Copy link
Author

sjrd commented Feb 25, 2020

@travisbrown Thanks, I updated the gist.

@shadaj
Copy link

shadaj commented Feb 25, 2020

Slinky's core modules all support Scala.js 1.0! Here's the full list:

"me.shadaj" %%% "slinky-core" % "0.6.4"
"me.shadaj" %%% "slinky-web" % "0.6.4"
"me.shadaj" %%% "slinky-native" % "0.6.4"
"me.shadaj" %%% "slinky-hot" % "0.6.4"

@sjrd
Copy link
Author

sjrd commented Feb 25, 2020

@shadaj Thanks. I added them.

@jenshalm
Copy link

Laika now supports Scala.js 1.0:

"org.planet42" %%% "laika-core" % "0.14.0"

Support for Scala.js is entirely new in Laika, so there is no support for Scala.js 0.6.

@matthughes
Copy link

matthughes commented Mar 5, 2020

Shapeless 2.3.3 now supports it
Monocle 2.0.4 now supports it

@sjrd
Copy link
Author

sjrd commented Mar 5, 2020

Thanks. I had already added Shapeless. I've just added Monocle 2.0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment