Skip to content

Commit

Permalink
Merge pull request #1477 from scala-steward/update/scalajs-sbt-test-a…
Browse files Browse the repository at this point in the history
…dapter_2.13-1.11.0

Update scalajs-sbt-test-adapter_2.13 to 1.11.0
  • Loading branch information
alexarchambault authored Nov 17, 2022
2 parents 30504be + 614e7f1 commit 1bb7657
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package scala.cli.internal

import coursier.Repositories
import coursier.cache.{ArchiveCache, FileCache}
import coursier.core.Version
import coursier.util.Task
import dependency._
import org.scalajs.testing.adapter.{TestAdapterInitializer => TAI}
Expand Down Expand Up @@ -37,7 +38,10 @@ object ScalaJsLinker {
val scalaJsCliDep = {
val mod =
if (scalaJsCliVersion.contains("-sc"))
mod"io.github.alexarchambault.tmp:scalajs-cli_2.13"
if (Version(scalaJsCliVersion) < Version("1.1.2-sc1"))
mod"io.github.alexarchambault.tmp:scalajs-cli_2.13"
else
mod"io.github.alexarchambault.tmp:scalajscli-${scalaJsVersion}_2.13"
else
mod"org.scala-js:scalajs-cli_2.13"
dependency.Dependency(mod, scalaJsCliVersion)
Expand Down
4 changes: 2 additions & 2 deletions project/deps.sc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object Scala {
val mainVersions = Seq(scala3, scala213)
val runnerScalaVersions = runnerScala3 +: allScala2

def scalaJs = "1.10.1"
def scalaJs = "1.11.0"

def listAll: Seq[String] = {
def patchVer(sv: String): Int =
Expand Down Expand Up @@ -74,7 +74,7 @@ object InternalDeps {
object Versions {
def mill = os.read(os.pwd / ".mill-version").trim
def lefouMillwRef = "166bcdf5741de8569e0630e18c3b2ef7e252cd96"
def scalaJsCli = "1.1.1-sc6"
def scalaJsCli = "1.1.2-sc1"
}
}

Expand Down
3 changes: 2 additions & 1 deletion website/docs/guides/scala-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,5 @@ The table below lists the last supported version of Scala.js in Scala CLI. If yo
| 0.1.0 - 0.1.2 | 1.8.0 |
| 0.1.3 | 1.9.0 |
| 0.1.4 - 0.1.8 | 1.10.0 |
| 0.1.9 - current | 1.10.1 |
| 0.1.9 - 0.1.17 | 1.10.1 |
| 0.1.18 - current | 1.11.0 |
4 changes: 2 additions & 2 deletions website/docs/reference/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ Enable Scala.js. To show more options for Scala.js pass `--help-js`

### `--js-version`

The Scala.js version (1.10.1 by default).
The Scala.js version (1.11.0 by default).

### `--js-mode`

Expand Down Expand Up @@ -1149,7 +1149,7 @@ Path to the Scala.js linker
### `--js-cli-version`

[Internal]
Scala.js CLI version to use for linking (1.1.1-sc6 by default).
Scala.js CLI version to use for linking (1.1.2-sc1 by default).

### `--js-cli-java-arg`

Expand Down
4 changes: 2 additions & 2 deletions website/docs/reference/scala-command/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Enable Scala.js. To show more options for Scala.js pass `--help-js`

### `--js-version`

The Scala.js version (1.10.1 by default).
The Scala.js version (1.11.0 by default).

### `--js-mode`

Expand Down Expand Up @@ -565,7 +565,7 @@ Path to the Scala.js linker
### `--js-cli-version`

[Internal]
Scala.js CLI version to use for linking (1.1.1-sc6 by default).
Scala.js CLI version to use for linking (1.1.2-sc1 by default).

### `--js-cli-java-arg`

Expand Down

0 comments on commit 1bb7657

Please sign in to comment.