Skip to content

Commit e36b7a3

Browse files
respencer-nclclaude
andcommitted
Upgrade sbt-ossuminc to 1.3.0 for CI-compatible npm packaging
The 1.2.5-4 snapshot was only publishLocal and unavailable to CI. sbt-ossuminc 1.3.0 is published to GitHub Packages and also fixes the npmTypesDir convention for cross-project JS variants, so the manual override is no longer needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c5361e8 commit e36b7a3

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

build.sbt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import org.scoverage.coveralls.Imports.CoverallsKeys.coverallsTokenFile
22
import com.ossuminc.sbt.OssumIncPlugin
3-
import com.ossuminc.sbt.helpers.NpmPackaging
43
import com.typesafe.tools.mima.core.{ProblemFilters, ReversedMissingMethodProblem}
54
import sbt.Append.{appendSeqImplicit, appendSet}
65
import sbt.Keys.{description, libraryDependencies, scalacOptions}
@@ -316,9 +315,6 @@ lazy val riddlLib_cp: CrossProject = CrossModule("riddlLib", "riddl-lib")(JS, JV
316315
keywords = Seq("riddl", "ddd", "domain-driven-design", "parser", "ast", "typescript"),
317316
esModule = true
318317
))
319-
.jsSettings(
320-
NpmPackaging.Keys.npmTypesDir := Some(baseDirectory.value / "types")
321-
)
322318
.jsConfigure(With.Publishing.npm(
323319
registries = Seq("github")
324320
))

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// GitHub Packages resolver for sbt-ossuminc
22
resolvers += "GitHub Packages" at "https://maven.pkg.github.com/ossuminc/sbt-ossuminc"
33

4-
addSbtPlugin("com.ossuminc" % "sbt-ossuminc" % "1.2.5-4-4a8a48fb-20260203-2208")
4+
addSbtPlugin("com.ossuminc" % "sbt-ossuminc" % "1.3.0")
55

66
// This enables sbt-bloop to create bloop config files for Metals editors
77
// Uncomment locally if you use metals, otherwise don't slow down other

0 commit comments

Comments
 (0)