Skip to content

Releases: vmunier/sbt-web-scalajs

v1.0.8-0.6.

19 Jun 12:26
Compare
Choose a tag to compare
  • Make the codebase compatible with Scala.js v1.0.0-M3 (#45)
  • Published for Scala.js v0.6.x.

v1.0.8.

19 Jun 12:27
Compare
Choose a tag to compare
  • Published for Scala.js v1.x.

v1.0.7.

05 Apr 22:11
Compare
Choose a tag to compare
  • Add scripted test.
  • Upgrade to latest library versions:
    • Scala.js v0.6.22.
    • SBT v0.13.17 and v1.1.2 (crossSbtVersions).
    • sbt-web v1.4.3.

v1.0.6.

29 Aug 11:15
Compare
Choose a tag to compare
  • Cross build to SBT v1.0.1 and v0.13.16.
  • Upgrade to Scala.js v0.6.19 and SBT v1.0.1.

v1.0.5.

06 Jun 10:36
Compare
Choose a tag to compare
  • Upgrades to Scala.js v0.6.17 and SBT v0.13.15.

v1.0.4.

07 Apr 16:31
Compare
Choose a tag to compare
  • Adds runAll to the devCommands. runAll is used in Lagom projects.
  • Upgrades to Scala.js v0.6.15.

v1.0.3.

26 Oct 14:37
Compare
Choose a tag to compare
  • Includes reStart as part of the dev commands list (PR #29).
  • Upgrades to Scala.js v0.6.13.

v1.0.2.

09 Oct 20:49
Compare
Choose a tag to compare
  • Fixes #27: Get the command key from user's input to know if it's a dev command.

v1.0.1.

12 Sep 11:17
Compare
Choose a tag to compare
  • Fixes #26: Run scalaJSDev when a user executes a dev command with arguments.

sbt-web-scalajs v1.0.0.

05 Sep 10:55
Compare
Choose a tag to compare

Rename sbt-play-scalajs to sbt-web-scalajs because it only depends on sbt-web and Scala.js. It has no Play dependency. sbt-web-scalajs includes changes to facilitate the integration of Scala.js with any sbt-web server, Play, Akka HTTP, Spray etc.

Main change:
The user should now use the scalaJSPipeline task, which runs scalaJSDev in dev mode, runs scalaJSProd otherwise.

Other changes:
* ScalaJSPlay has been renamed to ScalaJSWeb
* PlayScalaJS has been renamed to WebScalaJS
* scalaJSDev type changed from TaskKey[Seq[PathMapping]] to TaskKey[Pipeline.Stage]
* scalaJSTest has been removed

Typical diff from sbt-play-scalajs v0.3.1 to sbt-web-scalajs v1.0.0 would look like:

lazy val server = (project in file("server")).settings(
-pipelineStages := Seq(scalaJSProd, gzip)
+pipelineStages in Assets := Seq(scalaJSPipeline),
+pipelineStages := Seq(gzip)
...
).enablePlugins(PlayScala).
 dependsOn(sharedJvm)

lazy val client = (project in file("client")).settings(
...
-).enablePlugins(ScalaJSPlugin, ScalaJSPlay).
+).enablePlugins(ScalaJSPlugin, ScalaJSWeb).
  dependsOn(sharedJs)

lazy val shared = (crossProject.crossType(CrossType.Pure) in file("shared")).
  settings(scalaVersion := scalaV).
-  jsConfigure(_ enablePlugins ScalaJSPlay)
+  jsConfigure(_ enablePlugins ScalaJSWeb)

lazy val sharedJvm = shared.jvm
lazy val sharedJs = shared.js