From 07fce12f8e97c8049b32a3fdb5377186999582af Mon Sep 17 00:00:00 2001 From: Sho Sakuma Date: Fri, 12 Jun 2026 14:19:37 +0900 Subject: chore: Update skills --- .claude/commands/release.md | 33 --------------------------------- .claude/skills/release/SKILL.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 33 deletions(-) delete mode 100644 .claude/commands/release.md create mode 100644 .claude/skills/release/SKILL.md diff --git a/.claude/commands/release.md b/.claude/commands/release.md deleted file mode 100644 index ff3edc1..0000000 --- a/.claude/commands/release.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -description: リリースの準備とタグ作成を行う。引数に paper, velocity, both のいずれかを指定。 ---- - -# Release Command - -引数: `$ARGUMENTS` - -## 手順 - -1. `gradle.properties` から `paperVersion` と `velocityVersion` を読み取る -2. 引数に応じてリリース対象を決定: - - `paper` → Paper のみリリース - - `velocity` → Velocity のみリリース - - `both` → 両方同時リリース - - 引数なし → ユーザーに確認する -3. リリース前チェック: - - `./gradlew ktlintCheck` が通ること - - `./gradlew test` が通ること - - 対象プラットフォームの `shadowJar` がビルドできること - - git working tree がクリーンであること - - 該当タグがまだ存在しないこと -4. チェックがすべて通ったら、タグの作成をユーザーに提案する: - - `paper` → `git tag paper/v{paperVersion}` - - `velocity` → `git tag velocity/v{velocityVersion}` - - `both` → `git tag v{paperVersion}` (Paper/Velocity バージョンが異なる場合は注意を促す) -5. タグを push するかユーザーに確認する (`git push origin {tag}`) - -## 注意事項 - -- タグの作成と push は必ずユーザーの確認を得てから行うこと -- `both` の場合、Paper と Velocity のバージョンが異なる場合はその旨を明示すること -- プロトコルバージョン (`ProtocolVersion.kt`) の変更がある場合は、後方互換テスト (`ProtocolBackwardCompatibilityTest`) が通っていることを確認すること diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.md new file mode 100644 index 0000000..ec03038 --- /dev/null +++ b/.claude/skills/release/SKILL.md @@ -0,0 +1,36 @@ +--- +description: リリースの準備とタグ作成を行う。引数に paper, velocity, both のいずれかを指定。 +disable-model-invocation: true +argument-hint: [paper|velocity|both] +allowed-tools: Bash(./gradlew *), Bash(git *), Read, Grep +--- + +# Release + +引数: `$ARGUMENTS` + +## 手順 + +1. `gradle.properties` から `paperVersion` と `velocityVersion` を読み取る +2. 引数に応じてリリース対象を決定: + - `paper` → Paper のみリリース + - `velocity` → Velocity のみリリース + - `both` → 両方同時リリース + - 引数なし → ユーザーに確認する +3. リリース前チェック: + - `./gradlew ktlintCheck` が通ること + - `./gradlew test` が通ること + - 対象プラットフォームの `shadowJar` がビルドできること + - git working tree がクリーンであること + - 該当タグがまだ存在しないこと +4. チェックがすべて通ったら、タグの作成をユーザーに提案する: + - `paper` → `git tag paper/v{paperVersion}` + - `velocity` → `git tag velocity/v{velocityVersion}` + - `both` → `git tag v{paperVersion}` (Paper/Velocity バージョンが異なる場合は注意を促す) +5. タグを push するかユーザーに確認する (`git push origin {tag}`) + +## 注意事項 + +- タグの作成と push は必ずユーザーの確認を得てから行うこと +- `both` の場合、Paper と Velocity のバージョンが異なる場合はその旨を明示すること +- プロトコルバージョン (`ProtocolVersion.kt`) の変更がある場合は、後方互換テスト (`ProtocolBackwardCompatibilityTest`) が通っていることを確認すること -- cgit v1.2.1 From 41132b1c05fd844db22022f29a97ee274cc20a97 Mon Sep 17 00:00:00 2001 From: Sho Sakuma Date: Fri, 12 Jun 2026 15:16:21 +0900 Subject: style: Fix download compatibility matrix --- website/.vitepress/theme/components/CompatibilityMatrix.vue | 7 ++++++- website/.vitepress/theme/components/DownloadCard.vue | 9 +-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/website/.vitepress/theme/components/CompatibilityMatrix.vue b/website/.vitepress/theme/components/CompatibilityMatrix.vue index 9f1910c..e8f5f00 100644 --- a/website/.vitepress/theme/components/CompatibilityMatrix.vue +++ b/website/.vitepress/theme/components/CompatibilityMatrix.vue @@ -208,7 +208,7 @@ function cellResult( .compat-table { border-collapse: collapse; - width: 100%; + width: auto; margin: 0; font-size: 0.875rem; } @@ -246,6 +246,10 @@ function cellResult( white-space: nowrap; } +.compat-col-header { + min-width: 110px; +} + .compat-version { font-size: 0.95rem; } @@ -258,6 +262,7 @@ function cellResult( } .compat-cell { + min-width: 110px; font-size: 1.1rem; font-weight: 700; } diff --git a/website/.vitepress/theme/components/DownloadCard.vue b/website/.vitepress/theme/components/DownloadCard.vue index 4337181..25fce48 100644 --- a/website/.vitepress/theme/components/DownloadCard.vue +++ b/website/.vitepress/theme/components/DownloadCard.vue @@ -12,7 +12,6 @@ const t = computed(() => ? { title: 'Download', description: 'Download the latest releases of LunaticChat.', - compatible: 'Paper and Velocity Compatibility', requirements: 'Requirements', javaReq: '25 or later', paperReq: '26.1.x or later', @@ -43,7 +42,6 @@ const t = computed(() => : { title: 'ダウンロード', description: 'LunaticChat の最新リリースをダウンロードできます。', - compatible: 'Paper / Velocity の互換性', requirements: '動作要件', javaReq: '25 以降', paperReq: '26.1.x 以降', @@ -110,12 +108,6 @@ function formatDate(dateStr: string | null): string {

{{ t.spigotAlt }} {{ t.spigotLink }} {{ isEn ? '.' : 'の使用を推奨します.' }}

-
-

{{ t.compatible }}

-

{{ t.compatNotice }}

-

{{ t.compatLink }}

-
-

{{ isEn ? 'Loading releases...' : 'リリース情報を取得中...' }}

@@ -196,6 +188,7 @@ function formatDate(dateStr: string | null): string {

{{ t.compatMatrixTitle }}

{{ t.compatMatrixDesc }}

+

{{ t.compatNotice }}

Modrinth

-- cgit v1.2.1 From b98770ecd1ff6c399e6f17bd33d07bea401b5e16 Mon Sep 17 00:00:00 2001 From: Sho Sakuma Date: Fri, 12 Jun 2026 15:17:32 +0900 Subject: chore: bump paperVersion --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 3cde0d0..3d23725 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.parallel=true org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled # Platform versions (can be released independently) -paperVersion=1.2.1 +paperVersion=1.2.2 velocityVersion=1.0.0 -- cgit v1.2.1