Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou committed Aug 9, 2024
1 parent 8e16250 commit b62cb72
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion examples/next-app-mill/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}
2 changes: 1 addition & 1 deletion examples/next-app-sbt/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions examples/next-app/src/project.scala
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions examples/parcel-scalajs-react/src/project.scala
Original file line number Diff line number Diff line change
@@ -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
//> using jsSmallModuleForPackage myapp
2 changes: 1 addition & 1 deletion examples/vite-app-daisy/src/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala 3.4.2
//> using scala 3.3.3
//> using platform scala-js

//> using options "-Wunused:all"
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-app/src/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala 3.4.2
//> using scala 3.3.3
//> using platform scala-js

//> using options "-Wunused:all"
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-scalajs-react-sbt/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions examples/vite-scalajs-react/src/project.scala
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-slinky/src/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala 3.4.2
//> using scala 3.3.3
//> using platform scala-js

//> using options "-Wunused:all"
Expand Down

0 comments on commit b62cb72

Please sign in to comment.