Skip to content

Add Scala 3 cross-build support - #63

Open
tanishiking wants to merge 1 commit into
scala-js:mainfrom
tanishiking:scala3
Open

tanishiking wants to merge 1 commit into
scala-js:mainfrom
tanishiking:scala3

Conversation

@tanishiking

@tanishiking tanishiking commented Feb 6, 2026 •

Copy link
Copy Markdown
Member

cross build for Scala 3 so that sbt2 projects can use jsdom-nodejs

tanishiking added a commit to tanishiking/Laminar that referenced this pull request Feb 6, 2026
Prepare for sbt 2.x

depends on
- scala-js/scala-js#5314
- scala-js/scala-js-env-jsdom-nodejs#63

Context, this is kinda experiment to verify scalajs plugin in sbt2
works fine in downstream projects (it seems working good!),
if you feel like it's too early to move to sbt2, please ignore this PR
until the right time ;)
tanishiking added a commit to tanishiking/Laminar that referenced this pull request Feb 6, 2026
Prepare for sbt 2.x

depends on
- scala-js/scala-js#5314
- scala-js/scala-js-env-jsdom-nodejs#63

Context, this is kinda experiment to verify scalajs plugin in sbt2
works fine in downstream projects (it seems working good!),
if you feel like it's too early to move to sbt2, please ignore this PR
until the right time ;)
Comment thread project/plugins.sbt
@@ -1,7 +1,7 @@
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.22.0")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only for integration test, mindlessly updated to the latest for Scala 3 support.

Comment thread build.sbt
organization := "org.scala-js",

crossScalaVersions := Seq("2.12.10", "2.11.12", "2.13.1"),
crossScalaVersions := Seq("2.12.21", "2.11.12", "2.13.18", "3.3.8"),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mindlessly updated to the latest (sbt-scalajs 1.22.0 didn't publish for 2.13.1 though).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant