Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update react monorepo to v19 (major) #642

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions assets/collektive.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2024, Danilo Pianini, Nicolas Farabegoli, Elisa Tronetti,
* and all authors listed in the `build.gradle.kts` and the generated `pom.xml` file.
*
* This file is part of Collektive, and is distributed under the terms of the Apache License 2.0,
* as described in the LICENSE file in this project's repository's top directory.
*/

:root {
--dokka-logo-image-url: url('../images/logo.svg');
--dokka-logo-height: 50px;
--dokka-logo-width: 50px;
}
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,452 changes: 4,452 additions & 0 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 19 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import de.aaschmid.gradle.plugins.cpd.Cpd
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.DetektPlugin
import io.gitlab.arturbosch.detekt.report.ReportMergeTask
import java.time.LocalDate
import org.danilopianini.gradle.mavencentral.DocStyle

plugins {
Expand Down Expand Up @@ -88,10 +89,19 @@ allprojects {
}
}

dokka {
pluginsConfiguration.html {
customStyleSheets.from("${rootDir}/assets/collektive.css")
customAssets.from("${rootDir}/assets/logo.svg")
footerMessage.set("© ${LocalDate.now().year} Collektive")
}
}

plugins.withType<DetektPlugin> {
val detektTasks = tasks.withType<Detekt>()
.matching { task ->
task.name.let { it.endsWith("Main") || it.endsWith("Test") } && !task.name.contains("Baseline")
task.name.let { it.endsWith("Main") || it.endsWith("Test") } &&
!task.name.contains("Baseline")
}
val check by tasks.getting
val detektAll by tasks.registering {
Expand Down Expand Up @@ -123,9 +133,14 @@ allprojects {
}

dependencies {
kover(project(":dsl"))
kover(project(":stdlib"))
kover(project(":alchemist-incarnation-collektive"))
listOf(
project(":dsl"),
project(":stdlib"),
project(":alchemist-incarnation-collektive"),
).forEach {
kover(it)
dokka(it)
}
}

kover {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
android.builder.sdkDownload=true
org.gradle.jvmargs=-XX:MaxMetaspaceSize=2g -Xmx2g
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
# kotlin
kotlin.code.style=official
kotlin.native.ignoreDisabledTargets=true
Expand Down
1 change: 1 addition & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionSha256Sum=7a00d51fb93147819aab76024feece20b6b84e420694101f276be952e08bef03
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.6.3",
Expand Down
Loading