From b62cb72c50b348ce02f0508f94f2f3c465b26677 Mon Sep 17 00:00:00 2001 From: nguyenyou Date: Fri, 9 Aug 2024 14:55:21 +0700 Subject: [PATCH] update examples --- examples/next-app-mill/build.sc | 2 +- examples/next-app-sbt/build.sbt | 2 +- examples/next-app/src/project.scala | 6 +++--- examples/parcel-scalajs-react/src/project.scala | 8 ++++---- examples/vite-app-daisy/src/project.scala | 2 +- examples/vite-app/src/project.scala | 2 +- examples/vite-scalajs-react-sbt/build.sbt | 2 +- examples/vite-scalajs-react/src/project.scala | 6 +++--- examples/vite-slinky/src/project.scala | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/next-app-mill/build.sc b/examples/next-app-mill/build.sc index a020bf3..36c2146 100644 --- a/examples/next-app-mill/build.sc +++ b/examples/next-app-mill/build.sc @@ -8,6 +8,6 @@ object myapp extends ScalaJSModule { def moduleSplitStyle = ModuleSplitStyle.SmallModulesFor(List("myapp")) def ivyDeps = Agg( - ivy"com.github.japgolly.scalajs-react::core::3.0.0-beta3" + ivy"com.github.japgolly.scalajs-react::core::3.0.0-beta6" ) } diff --git a/examples/next-app-sbt/build.sbt b/examples/next-app-sbt/build.sbt index 3984455..490474e 100644 --- a/examples/next-app-sbt/build.sbt +++ b/examples/next-app-sbt/build.sbt @@ -9,7 +9,7 @@ scalaJSLinkerConfig ~= { .withModuleSplitStyle(ModuleSplitStyle.SmallModulesFor(List("myapp"))) } -libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "3.0.0-beta3" +libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "3.0.0-beta6" Compile / fastLinkJS / scalaJSLinkerOutputDirectory := target.value / "scalajs-modules" Compile / fullLinkJS / scalaJSLinkerOutputDirectory := target.value / "scalajs-modules" diff --git a/examples/next-app/src/project.scala b/examples/next-app/src/project.scala index 9e06993..701d442 100644 --- a/examples/next-app/src/project.scala +++ b/examples/next-app/src/project.scala @@ -1,12 +1,12 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all" //> using dep "org.scala-js::scalajs-dom::2.8.0" //> using dep "com.raquo::laminar::17.0.0" -//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta3" -//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta3" +//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta6" +//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta6" //> using jsModuleKind es //> using jsModuleSplitStyleStr smallmodulesfor diff --git a/examples/parcel-scalajs-react/src/project.scala b/examples/parcel-scalajs-react/src/project.scala index 2760050..e353394 100644 --- a/examples/parcel-scalajs-react/src/project.scala +++ b/examples/parcel-scalajs-react/src/project.scala @@ -1,12 +1,12 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all" //> using dep "org.scala-js::scalajs-dom::2.8.0" -//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta3" -//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta3" +//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta6" +//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta6" //> using jsModuleKind es //> using jsModuleSplitStyleStr smallmodulesfor -//> using jsSmallModuleForPackage myapp \ No newline at end of file +//> using jsSmallModuleForPackage myapp diff --git a/examples/vite-app-daisy/src/project.scala b/examples/vite-app-daisy/src/project.scala index 3070111..7f5d908 100644 --- a/examples/vite-app-daisy/src/project.scala +++ b/examples/vite-app-daisy/src/project.scala @@ -1,4 +1,4 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all" diff --git a/examples/vite-app/src/project.scala b/examples/vite-app/src/project.scala index 3070111..7f5d908 100644 --- a/examples/vite-app/src/project.scala +++ b/examples/vite-app/src/project.scala @@ -1,4 +1,4 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all" diff --git a/examples/vite-scalajs-react-sbt/build.sbt b/examples/vite-scalajs-react-sbt/build.sbt index accbabf..a035357 100644 --- a/examples/vite-scalajs-react-sbt/build.sbt +++ b/examples/vite-scalajs-react-sbt/build.sbt @@ -11,7 +11,7 @@ scalaJSLinkerConfig ~= { } libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0" -libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "3.0.0-beta3" +libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "3.0.0-beta6" Compile / fastLinkJS / scalaJSLinkerOutputDirectory := target.value / "scalajs-modules" Compile / fullLinkJS / scalaJSLinkerOutputDirectory := target.value / "scalajs-modules" diff --git a/examples/vite-scalajs-react/src/project.scala b/examples/vite-scalajs-react/src/project.scala index fa07023..e353394 100644 --- a/examples/vite-scalajs-react/src/project.scala +++ b/examples/vite-scalajs-react/src/project.scala @@ -1,11 +1,11 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all" //> using dep "org.scala-js::scalajs-dom::2.8.0" -//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta3" -//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta3" +//> using dep "com.github.japgolly.scalajs-react::core::3.0.0-beta6" +//> using dep "com.github.japgolly.scalajs-react::extra::3.0.0-beta6" //> using jsModuleKind es //> using jsModuleSplitStyleStr smallmodulesfor diff --git a/examples/vite-slinky/src/project.scala b/examples/vite-slinky/src/project.scala index 37c94be..c9777eb 100644 --- a/examples/vite-slinky/src/project.scala +++ b/examples/vite-slinky/src/project.scala @@ -1,4 +1,4 @@ -//> using scala 3.4.2 +//> using scala 3.3.3 //> using platform scala-js //> using options "-Wunused:all"