diff --git a/modules/events-mod/build.gradle.kts b/modules/events-mod/build.gradle.kts index c44ed62..8c942d5 100644 --- a/modules/events-mod/build.gradle.kts +++ b/modules/events-mod/build.gradle.kts @@ -9,7 +9,6 @@ import org.apache.tools.ant.filters.ReplaceTokens import org.jetbrains.kotlin.util.parseSpaceSeparatedArgs plugins { - idea dev.adamko.kafkatorio.lang.node distribution } @@ -135,7 +134,9 @@ distributions { } from(licenseFile) from(typescriptToLua.map { it.outputs }) - filter("tokens" to projectTokens) + filesNotMatching("**/*.png") { + filter("tokens" to projectTokens) + } includeEmptyDirs = false exclude { // exclude empty files diff --git a/modules/events-mod/src/main/resources/kafkatorio-logo.png b/modules/events-mod/src/main/resources/kafkatorio-logo.png new file mode 100644 index 0000000..ac2ffd2 Binary files /dev/null and b/modules/events-mod/src/main/resources/kafkatorio-logo.png differ diff --git a/modules/events-mod/src/main/resources/kafkatorio-logo.svg b/modules/events-mod/src/main/resources/kafkatorio-logo.svg new file mode 100644 index 0000000..34959b9 --- /dev/null +++ b/modules/events-mod/src/main/resources/kafkatorio-logo.svg @@ -0,0 +1,7401 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + Kafkatorio + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/events-mod/src/main/resources/mod-data/thumbnail.png b/modules/events-mod/src/main/resources/mod-data/thumbnail.png index d443178..5f85506 100644 Binary files a/modules/events-mod/src/main/resources/mod-data/thumbnail.png and b/modules/events-mod/src/main/resources/mod-data/thumbnail.png differ diff --git a/modules/events-mod/src/main/resources/mod-portal-description.md b/modules/events-mod/src/main/resources/mod-portal-description.md new file mode 100644 index 0000000..06fcdcf --- /dev/null +++ b/modules/events-mod/src/main/resources/mod-portal-description.md @@ -0,0 +1,8 @@ +**Work-in-progress** + +The Kafkatorio Events mod is part of Kafkatorio, an in-development platform that exports data from +Factorio to Apache Kafka, a event-based database. This allows for external systems to access +Factorio data. + +This mod will not work without additional infrastructure. Once development is completed, setup +instructions will be made available. diff --git a/modules/events-schema/build.gradle.kts b/modules/events-schema/build.gradle.kts index cde4244..fe9d531 100644 --- a/modules/events-schema/build.gradle.kts +++ b/modules/events-schema/build.gradle.kts @@ -13,14 +13,23 @@ plugins { kotlin { js(IR) { binaries.executable() - browser { - testTask { - useKarma { - useChromeHeadless() - } - } - } -// nodejs() + // browser{} causes this error: + // Cannot load "webpack", it is not registered! + // Perhaps you are missing some plugin? + // Cannot load "sourcemap", it is not registered! + // Perhaps you are missing some plugin? + // Server start failed on port 9876: Error: No provider for "framework:mocha"! (Resolving: framework:mocha) + // browser { + // runTask { + // sourceMaps = true + // } + // testTask { + // useKarma { + // useChromeHeadless() + // } + // } + // } + nodejs() } jvm { testRuns["test"].executionTask.configure { @@ -76,6 +85,12 @@ kotlin { implementation("io.kotest:kotest-runner-junit5") } } + + val jsTest by getting { + dependencies { + implementation(kotlin("test-js")) + } + } } }