From 68fdebc1432bc77d6a1d98e75900ead7ca145dd8 Mon Sep 17 00:00:00 2001 From: RoB Murdock Date: Fri, 14 Jul 2023 10:49:36 -0400 Subject: [PATCH] adding clean before lock generation in js update script --- .github/workflows/all-js-update.yml | 4 +++- build.gradle.kts | 1 - .../main/kotlin/com/zegreatrob/coupling/plugins/mp.gradle.kts | 4 ---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/all-js-update.yml b/.github/workflows/all-js-update.yml index f594710ffc..db7708214a 100644 --- a/.github/workflows/all-js-update.yml +++ b/.github/workflows/all-js-update.yml @@ -18,8 +18,10 @@ jobs: cache-read-only: true - name: Update All NPM Deps run: ./gradlew ncuUpgrade --no-configuration-cache --scan + - name: Clean + run: ./gradlew clean - name: Update Yarn Lock - run: ./gradlew kotlinUpgradeYarnLock --scan + run: ./gradlew kotlinUpgradeYarnLock - name: Create Pull Request id: cpr uses: peter-evans/create-pull-request@v5 diff --git a/build.gradle.kts b/build.gradle.kts index 8bba96f76e..49cde2de83 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,4 +47,3 @@ tasks { isIgnoreExitValue = true } } - diff --git a/coupling-plugins/src/main/kotlin/com/zegreatrob/coupling/plugins/mp.gradle.kts b/coupling-plugins/src/main/kotlin/com/zegreatrob/coupling/plugins/mp.gradle.kts index 1d59e9db22..1e138d59a7 100644 --- a/coupling-plugins/src/main/kotlin/com/zegreatrob/coupling/plugins/mp.gradle.kts +++ b/coupling-plugins/src/main/kotlin/com/zegreatrob/coupling/plugins/mp.gradle.kts @@ -1,9 +1,5 @@ package com.zegreatrob.coupling.plugins -import org.jetbrains.kotlin.gradle.plugin.mpp.MetadataDependencyTransformationTask -import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest -import org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest - plugins { kotlin("multiplatform") id("com.zegreatrob.coupling.plugins.versioning")