scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
237 stars 101 forks source link

Upgrade to sbt 1.3.8 and use Scala.js 1.x by default. #328

Closed sjrd closed 4 years ago

sjrd commented 4 years ago

Upgrading to sbt 1.x required upgrading all sbt plugins.

Using Scala.js 1.x by default provides a better experience in Metals out of the box, because of the scalajs-bundler-linker project which cannot resolve with Scala.js 0.6.x.

The sbt plugin is still compiled against sbt 1.2.8, so that users of sbt-scalajs-bundler are not forced to upgrade to sbt 1.3.x themselves.

sjrd commented 4 years ago

I locally tested that manual/ornate and apiDoc/unidoc work and produce appropriate results.

I'm not sure how to test the consequences of upgrading sbt-ghpages and sbt-pgp.

sjrd commented 4 years ago

Btw, after this PR I think we're completely ready to release a new version of scalajs-bundler that works well with Scala.js 1.0.0+ out of the box.