Skip to content

Rename examples/ to app/ and cli/ for production app structure#42

Merged
linroid merged 13 commits intomainfrom
rename-examples-to-apps
Feb 11, 2026
Merged

Rename examples/ to app/ and cli/ for production app structure#42
linroid merged 13 commits intomainfrom
rename-examples-to-apps

Conversation

@linroid
Copy link
Owner

@linroid linroid commented Feb 11, 2026

Summary

  • Restructure examples/ into app/ (shared, android, desktop, web, ios) and top-level cli/
  • Rename packages from com.linroid.kdown.examples to com.linroid.kdown.app / com.linroid.kdown.cli
  • Update Gradle module names, namespaces, applicationId, and iOS framework name (ExamplesAppKDownApp)

Test plan

  • All modules compile successfully (compileKotlinJvm, compileDebugKotlin, compileKotlinWasmJs)
  • Shared module tests pass (:app:shared:jvmTest)
  • Verify Android app launches
  • Verify Desktop app launches
  • Verify iOS build with updated KDownApp framework import

🤖 Generated with Claude Code

- examples/app -> app/shared, examples/androidApp -> app/android,
  examples/desktopApp -> app/desktop, examples/webApp -> app/web,
  examples/iosApp -> app/ios, examples/cli -> cli
- Rename packages: com.linroid.kdown.examples -> com.linroid.kdown.app
  (cli uses com.linroid.kdown.cli)
- Update Gradle module names, namespaces, applicationId, and
  iOS framework name (ExamplesApp -> KDownApp)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

Test Results

756 tests  ±0   756 ✅ ±0   12s ⏱️ -1s
 63 suites ±0     0 💤 ±0 
 63 files   ±0     0 ❌ ±0 

Results for commit 8fa7037. ± Comparison against base commit ca1c9db.

This pull request removes 84 and adds 84 tests. Note that renamed tests count towards both.
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_connected_isSingleton[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_connecting_isSingleton[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_disconnected_equality[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_disconnected_inequality[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_disconnected_nullReason[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendConnectionState_types[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendEntry_embeddedConstruction[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendEntry_equality_sameFields[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendEntry_inequality_differentId[jvm]
com.linroid.kdown.examples.BackendManagerTest ‑ backendEntry_remoteConstruction[jvm]
…
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_connected_isSingleton[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_connecting_isSingleton[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_disconnected_equality[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_disconnected_inequality[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_disconnected_nullReason[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendConnectionState_types[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendEntry_embeddedConstruction[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendEntry_equality_sameFields[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendEntry_inequality_differentId[jvm]
com.linroid.kdown.app.BackendManagerTest ‑ backendEntry_remoteConstruction[jvm]
…

♻️ This comment has been updated with latest results.

@claude
Copy link

claude bot commented Feb 11, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

linroid and others added 11 commits February 11, 2026 23:13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Required by Compose Multiplatform for ProMotion display support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linroid linroid merged commit baa1167 into main Feb 11, 2026
7 checks passed
@linroid linroid deleted the rename-examples-to-apps branch February 11, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant