From ca8584d5f9972f203d76819819ccec3e2451eb2f Mon Sep 17 00:00:00 2001 From: Nikita Gazarov Date: Thu, 12 Dec 2024 19:11:46 -0800 Subject: [PATCH] Build: Add MiMa (on-demand advisory only) --- .gitignore | 7 +------ build.sbt | 5 ++++- project/plugins.sbt | 2 ++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a6ada8d..916ad63 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ target .metals +metals.sbt .bloop .bsp @@ -17,9 +18,3 @@ yarn.lock !website/yarn.lock .downloads - -website/node_modules -website/build -website/i18n/* - -websiteJS/package-lock.json diff --git a/build.sbt b/build.sbt index cae9cef..8472101 100644 --- a/build.sbt +++ b/build.sbt @@ -8,7 +8,7 @@ enablePlugins(ScalaJSPlugin) enablePlugins(ScalaJSBundlerPlugin) -lazy val preload = taskKey[Unit]("runs Laminar-specific pre-load tasks") +lazy val preload = taskKey[Unit]("runs Airstream-specific pre-load tasks") preload := { val projectDir = (ThisBuild / baseDirectory).value @@ -28,6 +28,9 @@ Global / onLoad := { (Global / onLoad).value andThen { state => preload.key.label :: state } } +mimaPreviousArtifacts := Set("com.raquo" %%% "airstream" % "17.1.0") + + libraryDependencies ++= Seq( "org.scala-js" %%% "scalajs-dom" % Versions.ScalaJsDom, "app.tulz" %%% "tuplez-full-light" % Versions.Tuplez, diff --git a/project/plugins.sbt b/project/plugins.sbt index 46105f1..02819ba 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -7,3 +7,5 @@ addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11") addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") + +addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.4")