Skip to content
Merged
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
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@
},
"dependencies": {
"@ascorbic/feed-loader": "^2.0.1",
"@astrojs/markdown-remark": "^6.3.8",
"@astrojs/starlight": "^0.36.1",
"@astrojs/svelte": "^7.2.0",
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
"@expressive-code/plugin-line-numbers": "^0.41.3",
"@astrojs/markdown-remark": "^6.3.10",
"@astrojs/starlight": "^0.37.1",
"@astrojs/svelte": "^7.2.4",
"@expressive-code/plugin-collapsible-sections": "^0.41.5",
"@expressive-code/plugin-line-numbers": "^0.41.5",
"@fontsource/jetbrains-mono": "^5.2.8",
"@fontsource/poppins": "^5.2.7",
"astro": "^5.14.7",
"astro": "^5.16.6",
"astro-d2": "^0.8.1",
"sharp": "^0.34.4",
"starlight-contributor-list": "^0.3.0",
"starlight-links-validator": "^0.19.0",
"sharp": "^0.34.5",
"starlight-contributor-list": "^0.3.1",
"starlight-links-validator": "^0.19.2",
"starlight-sidebar-topics": "^0.6.2",
"starlight-sidebar-topics-dropdown": "^0.5.1",
"svelte": "^5.41.1",
"starlight-sidebar-topics-dropdown": "^0.5.2",
"svelte": "^5.46.0",
"typescript": "^5.9.3",
"unist-util-visit": "^5.0.0",
"yaml": "^2.8.1"
"yaml": "^2.8.2"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"@types/node": "^24.9.0",
"@types/node": "^25.0.3",
"dead-or-alive": "^1.0.4",
"prettier": "3.6.2",
"prettier": "3.7.4",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-svelte": "^3.4.0"
"prettier-plugin-svelte": "^3.4.1"
},
"engines": {
"node": ">=22.x"
},
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d"
"packageManager": "pnpm@10.26.1+sha512.664074abc367d2c9324fdc18037097ce0a8f126034160f709928e9e9f95d98714347044e5c3164d65bd5da6c59c6be362b107546292a8eecb7999196e5ce58fa"
}
File renamed without changes.
1,504 changes: 803 additions & 701 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
patchedDependencies:
'@astrojs/starlight@0.36.1': patches/@astrojs__starlight@0.36.1.patch
'@astrojs/starlight@0.37.1': patches/@astrojs__starlight@0.37.1.patch

onlyBuiltDependencies:
- esbuild
Expand Down
36 changes: 1 addition & 35 deletions src/content/docs/adventure/serializer/ansi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ slug: adventure/serializer/ansi
description: Serializing components to ANSI.
---

import { TabItem, Tabs } from "@astrojs/starlight/components";
import Dependency from "/src/components/Dependency.astro";
import { LATEST_ANSI_RELEASE, LATEST_ADVENTURE_API_RELEASE } from "/src/utils/versions";

Expand Down Expand Up @@ -58,40 +57,7 @@ converter for any kind of component, not just those by Adventure.

Declaring the dependency:

{/* TODO: Replace with Dependency component */}
<Tabs syncKey="build-system">
<TabItem label="Gradle (Kotlin)">
```kts replace
repositories {
mavenCentral()
}

dependencies {
implementation("net.kyori:ansi:\{LATEST_ANSI_RELEASE}")
}
```
</TabItem>
<TabItem label="Gradle (Groovy)">
```groovy replace
repositories {
mavenCentral()
}

dependencies {
implementation 'net.kyori:ansi:\{LATEST_ANSI_RELEASE}'
}
```
</TabItem>
<TabItem label="Maven">
```xml replace
<dependency>
<groupId>net.kyori</groupId>
<artifactId>ansi/artifactId>
<version>\{LATEST_ANSI_RELEASE}</version>
</dependency>
```
</TabItem>
</Tabs>
<Dependency group="net.kyori" name="ansi" version={LATEST_ANSI_RELEASE} />

### Implementation usage

Expand Down
38 changes: 3 additions & 35 deletions src/content/docs/adventure/serializer/gson.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ slug: adventure/serializer/gson
description: Serializing components to JSON with Gson.
---

import { TabItem, Tabs } from "@astrojs/starlight/components";
import Dependency from "/src/components/Dependency.astro";
import { LATEST_ADVENTURE_API_RELEASE } from "/src/utils/versions";

The Gson text serializer converts chat components to their JSON representation
and back using the Gson library. If you are interested in sending a chat component
Expand All @@ -17,40 +18,7 @@ component from an external source - serialization is done automatically by the

Declaring the dependency:

{/* TODO: Replace with Dependency component */}
<Tabs syncKey="build-system">
<TabItem label="Gradle (Kotlin)">
```kts replace
repositories {
mavenCentral()
}

dependencies {
implementation("net.kyori:adventure-text-serializer-gson:\{LATEST_ADVENTURE_API_RELEASE}")
}
```
</TabItem>
<TabItem label="Gradle (Groovy)">
```groovy replace
repositories {
mavenCentral()
}

dependencies {
implementation 'net.kyori:adventure-text-serializer-gson:\{LATEST_ADVENTURE_API_RELEASE}'
}
```
</TabItem>
<TabItem label="Maven">
```xml replace
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-serializer-gson</artifactId>
<version>\{LATEST_ADVENTURE_API_RELEASE}</version>
</dependency>
```
</TabItem>
</Tabs>
<Dependency group="net.kyori" name="adventure-text-serializer-gson" version={LATEST_ADVENTURE_API_RELEASE} />

## Usage

Expand Down
38 changes: 3 additions & 35 deletions src/content/docs/adventure/serializer/legacy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ slug: adventure/serializer/legacy
description: (Deprecated) Serializing components to legacy format.
---

import { TabItem, Tabs } from "@astrojs/starlight/components";
import Dependency from "/src/components/Dependency.astro";
import { LATEST_ADVENTURE_API_RELEASE } from "/src/utils/versions";

The legacy text serializer converts text to and from the traditional chat format used
in Minecraft prior to Minecraft 1.7, and continues to be used to this day for its
Expand All @@ -19,40 +20,7 @@ using [MiniMessage](/adventure/minimessage).

Declaring the dependency:

{/* TODO: Replace with Dependency component */}
<Tabs syncKey="build-system">
<TabItem label="Gradle (Kotlin)">
```kts replace
repositories {
mavenCentral()
}

dependencies {
implementation("net.kyori:adventure-text-serializer-legacy:\{LATEST_ADVENTURE_API_RELEASE}")
}
```
</TabItem>
<TabItem label="Gradle (Groovy)">
```groovy replace
repositories {
mavenCentral()
}

dependencies {
implementation 'net.kyori:adventure-text-serializer-legacy:\{LATEST_ADVENTURE_API_RELEASE}'
}
```
</TabItem>
<TabItem label="Maven">
```xml replace
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-serializer-legacy</artifactId>
<version>\{LATEST_ADVENTURE_API_RELEASE}</version>
</dependency>
```
</TabItem>
</Tabs>
<Dependency group="net.kyori" name="adventure-text-serializer-legacy" version={LATEST_ADVENTURE_API_RELEASE} />

## Usage

Expand Down
38 changes: 3 additions & 35 deletions src/content/docs/adventure/serializer/plain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ slug: adventure/serializer/plain
description: Retrieving plain text content from components.
---

import { TabItem, Tabs } from "@astrojs/starlight/components";
import Dependency from "/src/components/Dependency.astro";
import { LATEST_ADVENTURE_API_RELEASE } from "/src/utils/versions";

The plain text serializer converts chat components to their plain-text representation
and back. It is thus the simplest text serializer in Adventure. This serializer is
Expand All @@ -18,40 +19,7 @@ consider using [MiniMessage](/adventure/minimessage).

Declaring the dependency:

{/* TODO: Replace with Dependency component */}
<Tabs syncKey="build-system">
<TabItem label="Gradle (Kotlin)">
```kts replace
repositories {
mavenCentral()
}

dependencies {
implementation("net.kyori:adventure-text-serializer-plain:\{LATEST_ADVENTURE_API_RELEASE}")
}
```
</TabItem>
<TabItem label="Gradle (Groovy)">
```groovy replace
repositories {
mavenCentral()
}

dependencies {
implementation 'net.kyori:adventure-text-serializer-plain:\{LATEST_ADVENTURE_API_RELEASE}'
}
```
</TabItem>
<TabItem label="Maven">
```xml replace
<dependency>
<groupId>net.kyori</groupId>
<artifactId>adventure-text-serializer-plain</artifactId>
<version>\{LATEST_ADVENTURE_API_RELEASE}</version>
</dependency>
```
</TabItem>
</Tabs>
<Dependency group="net.kyori" name="adventure-text-serializer-plain" version={LATEST_ADVENTURE_API_RELEASE} />

## Usage

Expand Down