From 5044bbf1296914fb73d51735208d18bd7cfbfec0 Mon Sep 17 00:00:00 2001 From: Omico Date: Tue, 11 Jun 2024 21:57:07 -0700 Subject: [PATCH] Add updateYarnLock task --- .run/wwm.updateYarnLock.run.xml | 24 +++++++++++++++++++ .../src/main/kotlin/wwm.root.gradle.kts | 5 ++++ 2 files changed, 29 insertions(+) create mode 100644 .run/wwm.updateYarnLock.run.xml diff --git a/.run/wwm.updateYarnLock.run.xml b/.run/wwm.updateYarnLock.run.xml new file mode 100644 index 0000000..f968c66 --- /dev/null +++ b/.run/wwm.updateYarnLock.run.xml @@ -0,0 +1,24 @@ + + + + + + + true + true + false + false + + + \ No newline at end of file diff --git a/build-logic/project/src/main/kotlin/wwm.root.gradle.kts b/build-logic/project/src/main/kotlin/wwm.root.gradle.kts index a2f2409..7d23732 100644 --- a/build-logic/project/src/main/kotlin/wwm.root.gradle.kts +++ b/build-logic/project/src/main/kotlin/wwm.root.gradle.kts @@ -20,3 +20,8 @@ val wrapper: Wrapper by tasks.named("wrapper") { gradleVersion = versions.gradle distributionType = Wrapper.DistributionType.BIN } + +val updateYarnLock by tasks.register("updateYarnLock") { + delete("build/js", "kotlin-js-store") + finalizedBy(":wwm-web:build") +}