Skip to content

Commit

Permalink
fix(ts-model-api): publish the contents of the dist directory
Browse files Browse the repository at this point in the history
The old pattern only included the directory `dist` without its content.
Because of that, the published ts-model-api package had no code and was broken.
  • Loading branch information
odzhychko committed Jan 2, 2024
1 parent 2621363 commit 8c7aec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-model-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tasks.named("npm_run_generateKotlin") {
val copyBuildTypeScriptForPackaging = tasks.create<Copy>("copyBuildTypeScriptForPackaging") {
dependsOn(npmRunBuild)
from(projectDir)
include("dist")
include("dist/**")
into(layout.buildDirectory.dir("typeScriptForPackaging"))
}

Expand Down

0 comments on commit 8c7aec3

Please sign in to comment.