<commit_before>import ScalaJSHelper._
import Deployment._
import SbtShared._

import org.scalajs.sbtplugin.JSModuleID
import org.scalajs.sbtplugin.cross.CrossProject
import org.scalajs.sbtplugin.ScalaJSPlugin.AutoImport.{jsEnv, scalaJSStage}

import scala.util.Try
import java.io.FileNotFoundException

import scalajsbundler.util.JSON

import scala.util.Try

val scalaTestVersion = "3.0.1"
val akkaHttpVersion = "10.0.10"

def akka(module: String) = "com.typesafe.akka" %% ("akka-" + module) % "2.5.6"

def akkaHttp = "com.typesafe.akka" %% "akka-http" % akkaHttpVersion
def akkaHttpCore = "com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion
def akkaHttpTestkit =
  "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion

val startAll2Commands = List(
  "sbtRunner/reStart",
  "server/reStart",
  "client/fastOptJS::startWebpackDevServer",
  "client/fastOptJS"
)

val startAllCommands =
  "ensimeRunner/reStart" :: startAll2Commands

def startAll(commands: List[String], suffix: String = "") =
  addCommandAlias("startAll" + suffix, commands.mkString(";", ";", ""))

startAll(startAllCommands)
startAll(startAll2Commands, "2")

lazy val scastie = project
  .in(file("."))
  .aggregate(
    api210JVM,
    api211JVM,
    apiJS,
    apiJVM,
    balancer,
    client,
    e2e,
    ensimeRunner,
    instrumentation,
    migration,
    runtimeScala210JVM,
    runtimeScala211JVM,
    // runtimeScala213JVM,
    runtimeScalaJS,
    runtimeScalaJVM,
    sbtRunner,
    sbtScastie,
    server,
    storage,
    utils
  )
  .settings(baseSettings)
  .settings(Deployment.settings(server, sbtRunner, ensimeRunner))

lazy val testSettings =
  Seq(
    libraryDependencies += "org.scalatest" %% "scalatest" % scalaTestVersion % Test
  )

lazy val loggingAndTest =
  Seq(
    libraryDependencies ++= Seq(
      "ch.qos.logback" % "logback-classic" % "1.1.7",
      "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
      "com.getsentry.raven" % "raven-logback" % "8.0.3"
    )
  ) ++ testSettings

lazy val utils = project
  .in(file("utils"))
  .settings(baseSettings)
  .settings(loggingAndTest)
  .settings(
    resolvers += Resolver.typesafeRepo("releases"),
    libraryDependencies ++= Seq(
      "com.typesafe.akka" %% "akka-contrib-extra" % "4.1.3",
      // "com.zaxxer"     % "nuprocess" % "1.1.2" % Test
      akka("stream"),
      akka("actor"),
      akka("remote"),
      akka("slf4j"),
      akka("testkit") % Test
    )
  )
  .dependsOn(apiJVM)<commit_msg>Remove commented out dependency<commit_after>import ScalaJSHelper._
import Deployment._
import SbtShared._

import org.scalajs.sbtplugin.JSModuleID
import org.scalajs.sbtplugin.cross.CrossProject
import org.scalajs.sbtplugin.ScalaJSPlugin.AutoImport.{jsEnv, scalaJSStage}

import scala.util.Try
import java.io.FileNotFoundException

import scalajsbundler.util.JSON

import scala.util.Try

val scalaTestVersion = "3.0.1"
val akkaHttpVersion = "10.0.10"

def akka(module: String) = "com.typesafe.akka" %% ("akka-" + module) % "2.5.6"

def akkaHttp = "com.typesafe.akka" %% "akka-http" % akkaHttpVersion
def akkaHttpCore = "com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion
def akkaHttpTestkit =
  "com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion

val startAll2Commands = List(
  "sbtRunner/reStart",
  "server/reStart",
  "client/fastOptJS::startWebpackDevServer",
  "client/fastOptJS"
)

val startAllCommands =
  "ensimeRunner/reStart" :: startAll2Commands

def startAll(commands: List[String], suffix: String = "") =
  addCommandAlias("startAll" + suffix, commands.mkString(";", ";", ""))

startAll(startAllCommands)
startAll(startAll2Commands, "2")

lazy val scastie = project
  .in(file("."))
  .aggregate(
    api210JVM,
    api211JVM,
    apiJS,
    apiJVM,
    balancer,
    client,
    e2e,
    ensimeRunner,
    instrumentation,
    migration,
    runtimeScala210JVM,
    runtimeScala211JVM,
    // runtimeScala213JVM,
    runtimeScalaJS,
    runtimeScalaJVM,
    sbtRunner,
    sbtScastie,
    server,
    storage,
    utils
  )
  .settings(baseSettings)
  .settings(Deployment.settings(server, sbtRunner, ensimeRunner))

lazy val testSettings =
  Seq(
    libraryDependencies += "org.scalatest" %% "scalatest" % scalaTestVersion % Test
  )

lazy val loggingAndTest =
  Seq(
    libraryDependencies ++= Seq(
      "ch.qos.logback" % "logback-classic" % "1.1.7",
      "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
      "com.getsentry.raven" % "raven-logback" % "8.0.3"
    )
  ) ++ testSettings

lazy val utils = project
  .in(file("utils"))
  .settings(baseSettings)
  .settings(loggingAndTest)
  .settings(
    resolvers += Resolver.typesafeRepo("releases"),
    libraryDependencies ++= Seq(
      "com.typesafe.akka" %% "akka-contrib-extra" % "4.1.3",
      akka("stream"),
      akka("actor"),
      akka("remote"),
      akka("slf4j"),
      akka("testkit") % Test
    )
  )
  .dependsOn(apiJVM)
{'fraction_non_alphanumeric': 0.1422475106685633, 'fraction_numerical': 0.01849217638691323, 'mean_word_length': 3.764762826718296, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2693269', 'n_tokens_mistral': 1905, 'n_tokens_neox': 1851, 'n_words': 302}