Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 29 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import sbt.nio.file.FileTreeView

name := "lucuma-apps"

ThisBuild / tlBaseVersion := "0.175"
ThisBuild / tlBaseVersion := "0.176"
ThisBuild / tlCiReleaseBranches := Seq("main")

ThisBuild / description := "Lucuma Apps"
Expand Down Expand Up @@ -85,6 +85,7 @@ lazy val schemas_model =
crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Pure)
.in(file("schemas/model"))
.enablePlugins(NoPublishPlugin)
.settings(
name := "lucuma-schemas-model",
libraryDependencies ++=
Expand All @@ -100,6 +101,7 @@ lazy val schemas_testkit =
.crossType(CrossType.Pure)
.in(file("schemas/testkit"))
.dependsOn(schemas_model)
.enablePlugins(NoPublishPlugin)
.settings(
name := "lucuma-schemas-testkit",
libraryDependencies ++= LucumaCore.value
Expand All @@ -110,6 +112,7 @@ lazy val schemas_tests =
.crossType(CrossType.Full)
.in(file("schemas/tests"))
.dependsOn(schemas_testkit)
.enablePlugins(NoPublishPlugin)
.settings(
libraryDependencies ++=
In(Test)(
Expand All @@ -123,7 +126,7 @@ lazy val schemas_lib =
.crossType(CrossType.Pure)
.in(file("schemas/lib"))
.dependsOn(schemas_model)
.enablePlugins(CluePlugin, TypelevelCiReleasePlugin)
.enablePlugins(CluePlugin)
.settings(
name := "lucuma-schemas",
libraryDependencies ++=
Expand Down Expand Up @@ -180,7 +183,7 @@ lazy val ui_lib =
project
.in(file("ui/lib"))
.dependsOn(schemas_lib.js)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.settings(
name := "lucuma-ui",
libraryDependencies ++=
Expand Down Expand Up @@ -209,7 +212,7 @@ lazy val ui_testkit =
project
.in(file("ui/testkit"))
.dependsOn(ui_lib, schemas_testkit.js)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.settings(
name := "lucuma-ui-testkit",
libraryDependencies ++=
Expand All @@ -220,7 +223,7 @@ lazy val ui_tests =
project
.in(file("ui/tests"))
.dependsOn(ui_testkit)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.settings(
libraryDependencies ++=
In(Test)(
Expand All @@ -233,7 +236,7 @@ lazy val ui_tests =
lazy val ui_css = project
.in(file("ui/css"))
.dependsOn(ui_lib)
.enablePlugins(LucumaCssPlugin)
.enablePlugins(LucumaCssPlugin, NoPublishPlugin)
.settings(
createNpmProject := {
val _ = (Compile / lucumaCss).value
Expand Down Expand Up @@ -265,7 +268,7 @@ lazy val ui_css = project
lazy val ui_demo =
project
.in(file("modules/ui/demo"))
.enablePlugins(ScalaJSPlugin, LucumaCssPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin, LucumaCssPlugin)
.dependsOn(ui_lib, ui_css)
.settings(
Compile / scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.ESModule) },
Expand Down Expand Up @@ -354,6 +357,7 @@ lazy val explore_model = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.in(file("explore/model"))
.dependsOn(schemas_lib)
.enablePlugins(NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonLibSettings: _*)
.jvmSettings(exploreCommonJvmSettings)
Expand All @@ -363,6 +367,7 @@ lazy val explore_modelTestkit = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.in(file("explore/model-testkit"))
.dependsOn(explore_model, schemas_testkit)
.enablePlugins(NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonLibSettings: _*)
.settings(exploreTestkitLibSettings: _*)
Expand All @@ -373,6 +378,7 @@ lazy val explore_modelTests = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.in(file("explore/model-tests"))
.dependsOn(explore_modelTestkit)
.enablePlugins(NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonLibSettings: _*)
.jsSettings(exploreCommonModuleTest: _*)
Expand All @@ -381,7 +387,7 @@ lazy val explore_modelTests = crossProject(JVMPlatform, JSPlatform)
lazy val explore_workers = project
.in(file("explore/workers"))
.dependsOn(explore_model.js)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonJsLibSettings: _*)
.settings(exploreCommonLibSettings: _*)
Expand All @@ -405,7 +411,7 @@ lazy val explore_common = project
explore_modelTestkit.js % Test,
ui_testkit % Test
)
.enablePlugins(ScalaJSPlugin, BuildInfoPlugin, LucumaAppPlugin)
.enablePlugins(ScalaJSPlugin, BuildInfoPlugin, LucumaAppPlugin, NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonJsLibSettings: _*)
.settings(exploreCommonModuleTest: _*)
Expand All @@ -426,7 +432,7 @@ lazy val explore_common = project
lazy val explore_app: Project = project
.in(file("explore/app"))
.dependsOn(explore_model.js, explore_common)
.enablePlugins(ScalaJSPlugin, LucumaCssPlugin, CluePlugin, LucumaAppPlugin)
.enablePlugins(ScalaJSPlugin, LucumaCssPlugin, CluePlugin, LucumaAppPlugin, NoPublishPlugin)
.settings(exploreCommonSettings: _*)
.settings(exploreCommonJsLibSettings: _*)
.settings(esModule: _*)
Expand Down Expand Up @@ -467,7 +473,7 @@ lazy val observe_web_server = project
.in(file("modules/web/server"))
.dependsOn(observe_server)
.dependsOn(observe_model.jvm % "compile->compile;test->test")
.enablePlugins(BuildInfoPlugin, LucumaAppPlugin)
.enablePlugins(BuildInfoPlugin, LucumaAppPlugin, NoPublishPlugin)
.settings(observeCommonSettings: _*)
.settings(
libraryDependencies ++=
Expand Down Expand Up @@ -496,7 +502,7 @@ lazy val observe_web_server = project
lazy val observe_ui_model = project
.in(file("modules/web/client-model"))
.dependsOn(ui_lib, schemas_lib.js, observe_model.js, ui_testkit % Test)
.enablePlugins(ScalaJSPlugin)
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.settings(lucumaGlobalSettings: _*)
.settings(
coverageEnabled := false,
Expand All @@ -511,7 +517,14 @@ lazy val observe_ui_model = project
lazy val observe_web_client = project
.in(file("modules/web/client"))
.dependsOn(ui_lib, schemas_lib.js, observe_model.js, observe_ui_model)
.enablePlugins(ScalaJSPlugin, LucumaCssPlugin, CluePlugin, BuildInfoPlugin, LucumaAppPlugin)
.enablePlugins(
ScalaJSPlugin,
LucumaCssPlugin,
CluePlugin,
BuildInfoPlugin,
LucumaAppPlugin,
NoPublishPlugin
)
.settings(lucumaGlobalSettings: _*)
.settings(esModule: _*)
.settings(
Expand Down Expand Up @@ -558,7 +571,7 @@ lazy val observe_server = project
.in(file("modules/server_new"))
.dependsOn(schemas_lib.jvm)
.dependsOn(observe_model.jvm % "compile->compile;test->test")
.enablePlugins(BuildInfoPlugin, CluePlugin, LucumaAppPlugin)
.enablePlugins(BuildInfoPlugin, CluePlugin, LucumaAppPlugin, NoPublishPlugin)
.settings(observeCommonSettings: _*)
.settings(
libraryDependencies ++=
Expand Down Expand Up @@ -608,6 +621,7 @@ lazy val observe_server = project
lazy val observe_model = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Full)
.in(file("modules/model"))
.enablePlugins(NoPublishPlugin)
.settings(
libraryDependencies ++=
Mouse.value ++
Expand Down Expand Up @@ -678,7 +692,7 @@ lazy val observeLinux = Seq(
lazy val observe_deploy = project
.in(file("modules/deploy"))
.dependsOn(observe_web_server)
.enablePlugins(LucumaDockerPlugin, JavaServerAppPackaging)
.enablePlugins(LucumaDockerPlugin, JavaServerAppPackaging, NoPublishPlugin)
.settings(deployedAppMappings: _*)
.settings(observeCommonSettings: _*)
.settings(
Expand Down
Loading