Skip to content

Commit

Permalink
build: make the build task run all the npm build task also
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-olaiya committed Aug 27, 2024
1 parent 1d5ce2f commit d093d7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions buildSrc/src/main/kotlin/configure-npm.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,13 @@ packageJson {
"vitest" version "^2.0.0"
}
}

tasks.named("clean") {
doLast {
delete("package-lock.json", "package.json")
}
}

tasks.register("build") {
dependsOn("npmBuild")
}

0 comments on commit d093d7b

Please sign in to comment.