finish migrating to ktor!
- remove http4k - renamed 'schema' subproject to 'library', because it contains more than just data models - tiles are now hosted per factorio-server - changed api base to `kafkatorio/data` - tidied up some Gradle conf - remove 'events-processor' subproject - I don't want to set up loads of microservices right now
This commit is contained in:
parent
8a90c4fb5e
commit
c0c82e7c9c
80 changed files with 1878 additions and 1280 deletions
|
|
@ -17,23 +17,6 @@ kvision {
|
|||
}
|
||||
|
||||
|
||||
rootProject.extensions.configure<NodeJsRootExtension> {
|
||||
// https://github.com/rjaros/kvision/issues/410
|
||||
versions.webpackCli.version = "4.10.0"
|
||||
versions.webpackDevServer.version = "4.9.2"
|
||||
}
|
||||
|
||||
rootProject.extensions.configure<YarnRootExtension> {
|
||||
resolution("http-proxy-middleware", "^2.0.6")
|
||||
}
|
||||
|
||||
//rootProject.afterEvaluate {
|
||||
// extensions.configure<NodeJsRootExtension> {
|
||||
// // https://github.com/rjaros/kvision/issues/410
|
||||
// versions.webpackCli.version = "4.10.0"
|
||||
// }
|
||||
//}
|
||||
|
||||
afterEvaluate {
|
||||
rootProject.extensions.configure<NodeJsRootExtension> {
|
||||
// https://github.com/rjaros/kvision/issues/410
|
||||
|
|
@ -58,12 +41,12 @@ kotlin {
|
|||
open = false,
|
||||
port = 3000,
|
||||
proxy = mutableMapOf(
|
||||
"/tiles" to mapOf(
|
||||
"/kafkatorio/data/servers" to mapOf(
|
||||
"target" to "http://localhost:12080",
|
||||
"secure" to false,
|
||||
"changeOrigin" to true,
|
||||
),
|
||||
"/ws/foo" to mapOf(
|
||||
"/kafkatorio/ws" to mapOf(
|
||||
"target" to "ws://localhost:12080",
|
||||
// "secure" to false,
|
||||
"ws" to true,
|
||||
|
|
@ -104,12 +87,10 @@ kotlin {
|
|||
|
||||
implementation(libs.kotlinx.coroutines.core)
|
||||
|
||||
implementation(projects.modules.eventsSchema)
|
||||
implementation(projects.modules.eventsLibrary)
|
||||
|
||||
implementation(libs.kotlinx.html)
|
||||
|
||||
implementation(projects.modules.eventsSchema)
|
||||
|
||||
implementation(libs.kotlinx.nodejs)
|
||||
implementation(libs.kotlinx.html)
|
||||
|
||||
|
|
@ -176,28 +157,3 @@ fun KotlinDependencyHandler.kvision(
|
|||
// resolution("webpack-dev-server", "4.9.1")
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//evaluationDependsOn(rootProject.path)
|
||||
//evaluationDependsOn(projects.modules.eventsSchema.dependencyProject.path)
|
||||
|
||||
|
||||
//// stop warnings when building
|
||||
//tasks.configureEach {
|
||||
// when (name) {
|
||||
// "productionExecutableCompileSync" ->
|
||||
// dependsOn(taskProvider("compileProductionExecutableKotlinJs"))
|
||||
// "testTestDevelopmentExecutableCompileSync" ->
|
||||
// dependsOn(taskProvider("compileTestDevelopmentExecutableKotlinJs"))
|
||||
//// "jsTestTestDevelopmentExecutableCompileSync" ->
|
||||
//// dependsOn(taskProvider("compileTestDevelopmentExecutableKotlinFrontend"))
|
||||
//// "jsProductionExecutableCompileSync" ->
|
||||
//// dependsOn(taskProvider("compileProductionExecutableKotlinFrontend"))
|
||||
// "browserDevelopmentRun" ->
|
||||
// dependsOn(taskProvider("browserDevelopmentWebpack"))
|
||||
// "browserDevelopmentWebpack" ->
|
||||
// dependsOn(taskProvider("assemble"))
|
||||
// "browserProductionWebpack" ->
|
||||
// dependsOn(taskProvider("developmentExecutableCompileSync"))
|
||||
// }
|
||||
//}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue