diff --git a/examples/web-compose-in-js/build.gradle.kts b/examples/web-compose-in-js/build.gradle.kts index 4fa993392d..e01aa8b934 100644 --- a/examples/web-compose-in-js/build.gradle.kts +++ b/examples/web-compose-in-js/build.gradle.kts @@ -14,6 +14,7 @@ repositories { maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } + kotlin { js(IR) { browser { @@ -41,3 +42,14 @@ kotlin { } } } + +afterEvaluate { + rootProject.extensions.configure { + nodeVersion = "16.0.0" + } + + rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin::class.java) { + rootProject.the().resolution("colors", "1.4.0") + } +} + diff --git a/examples/web-compose-in-js/kotlin-js-store/yarn.lock b/examples/web-compose-in-js/kotlin-js-store/yarn.lock index 0e3ccdb22f..dba5d8a82e 100644 --- a/examples/web-compose-in-js/kotlin-js-store/yarn.lock +++ b/examples/web-compose-in-js/kotlin-js-store/yarn.lock @@ -822,10 +822,10 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colors@^1.4.0: - version "1.4.2" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.2.tgz#cd4fe227412ca2c75bb6f5683ec2e5e68de4f317" - integrity sha512-5QhJWPFZqkKIieXJPpCprdOytvH7v0AGWpu9K2jZ4LWkGg3dVBNoYPgGGRpEsc0jb8Boy0ElYrdjH9uXfhRSqw== +colors@1.4.0, colors@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== commander@^2.20.0: version "2.20.3"