Skip to content

Commit e548faf

Browse files
committed
Upgrade of Node.js
Small fixes with including compose indexes to bundle
1 parent e8a4752 commit e548faf

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ COPY --from=build /kotlin-compiler-server/executor.policy /kotlin-compiler-serve
3737
COPY --from=build /kotlin-compiler-server/indexes.json /kotlin-compiler-server/
3838
COPY --from=build /kotlin-compiler-server/indexesJs.json /kotlin-compiler-server/
3939
COPY --from=build /kotlin-compiler-server/indexesWasm.json /kotlin-compiler-server/
40+
COPY --from=build /kotlin-compiler-server/indexesComposeWasm.json /kotlin-compiler-server/
4041

4142
ENV PORT=8080
4243

build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ plugins {
2222

2323
apply<NodeJsRootPlugin>()
2424

25-
// for new Wasm opcodes
26-
the<NodeJsRootExtension>().nodeVersion = "21.0.0-v8-canary202309167e82ab1fa2"
27-
the<NodeJsRootExtension>().nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
28-
2925
allprojects {
3026
repositories {
3127
mavenCentral()
@@ -154,6 +150,7 @@ val buildLambda by tasks.creating(Zip::class) {
154150
from(indexes)
155151
from(indexesJs)
156152
from(indexesWasm)
153+
from(indexesComposeWasm)
157154
from(libJSFolder) { into(libJS) }
158155
from(libWasmFolder) { into(libWasm) }
159156
from(libComposeWasmFolder) { into(libComposeWasm) }

src/test/kotlin/com/compiler/server/generator/TestProjectRunner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class TestProjectRunner {
238238
pathToAppScript: String?
239239
): String {
240240
val processBuilder = ProcessBuilder()
241-
processBuilder.command(pathToBinNode, "--experimental-wasm-gc", pathToAppScript)
241+
processBuilder.command(pathToBinNode, pathToAppScript)
242242
val process = processBuilder.start()
243243
val inputStream = process.inputStream
244244
process.waitFor()

0 commit comments

Comments
 (0)