Skip to content

Commit

Permalink
Updated to scalajs-dom 2.4.0 (#638)
Browse files Browse the repository at this point in the history
Co-authored-by: Naden <[email protected]>
  • Loading branch information
threeseed and harana-bot authored May 16, 2023
1 parent e8c7fd7 commit b3376cb
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 116 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ addCommandAlias(
"compile:scalafix --check; test:scalafix --check; compile:scalafmtCheck; test:scalafmtCheck; scalafmtSbtCheck"
)

val scala212 = "2.12.16"
val scala213 = "2.13.6"
val scala3 = "3.0.1"
val scala212 = "2.12.17"
val scala213 = "2.13.10"
val scala3 = "3.2.2"

ThisBuild / scalaVersion := scala213
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := "4.7.6"

lazy val slinky = project
.in(file("."))
Expand Down
2 changes: 1 addition & 1 deletion history/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ enablePlugins(ScalaJSPlugin)

name := "slinky-history"

libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.0.0"
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0"
1 change: 1 addition & 0 deletions tests/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ enablePlugins(ScalaJSPlugin)
enablePlugins(JSDependenciesPlugin)

libraryDependencies += "org.scalatest" %%% "scalatest" % "3.2.9" % Test
libraryDependencies += ("org.scala-js" %%% "scalajs-fake-insecure-java-securerandom" % "1.0.0").cross(CrossVersion.for3Use2_13)

Test / jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()

Expand Down
2 changes: 1 addition & 1 deletion web/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ enablePlugins(ScalaJSPlugin)

name := "slinky-web"

libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.0.0"
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0"

scalacOptions -= "-Xfatal-warnings"
Loading

0 comments on commit b3376cb

Please sign in to comment.