Skip to content
Merged

canary #5385

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
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ src/

```bash
pnpm start # Expo開発サーバー起動
pnpm android / pnpm ios # ネイティブビルド(Fastlane経由)
pnpm android / pnpm ios # ネイティブビルド
pnpm web # Web版実行
pnpm lint # Biome Lint実行
pnpm format # Biomeフォーマット適用
Expand Down
10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

android/google-play-services-account.json
ios/TrainLCD.app.dSYM.zip
Expand Down
10 changes: 5 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ This handbook defines how automation agents collaborate safely and effectively o
- `assets/`: static media (images, fonts, icons).
- `docs/`: human-facing documentation including changelog and incident notes.
- `utils/`: developer tooling scripts such as GraphQL codegen config.
- `android/`, `ios/`: native projects managed via Fastlane.
- `android/`, `ios/`: native projects.
- `functions/`: Firebase Cloud Functions.

## Tooling & Environment Expectations

- Target **Node.js 20.x** and **pnpm 10.x**; use the globally installed pnpm (Corepack is unnecessary).
- Run `pnpm install` when dependencies shift; avoid re-locking packages unless instructed.
- Metro cache issues: run `expo start --clear` only when debugging build failures and document the action.
- For native builds, rely on project scripts (`pnpm android`, `pnpm ios`) rather than invoking Fastlane directly.
- For native builds, rely on project scripts (`pnpm android`, `pnpm ios`).
- GraphQL codegen requires `GQL_API_URL` in `.env.local`; run `pnpm gql:codegen` after document or schema updates.

## Build, Test & Development Commands

- `pnpm start`: start the Expo Dev Client locally.
- `pnpm android` / `pnpm ios`: build native binaries through Fastlane lanes.
- `pnpm android` / `pnpm ios`: build native binaries.
- `pnpm web`: run the web preview.
- `pnpm lint`: execute Biome linting (`biome ci ./src` in CI).
- `pnpm format`: apply Biome formatting fixes.
Expand Down Expand Up @@ -87,7 +87,7 @@ This handbook defines how automation agents collaborate safely and effectively o

- Store secrets in `.env.local`; treat `.env` as the template, and keep `.env.example` synchronized for onboarding.
- Never commit credentials, access tokens, or production endpoints.
- Protect Expo and Fastlane credentials with 2FA and rotate access when automations change.
- Protect Expo credentials with 2FA and rotate access when automations change.
- After dependency upgrades (`pnpm up --interactive`) or Expo SDK migrations, run `expo-doctor`, `pnpm lint`, `pnpm test`, and `pnpm typecheck`, then capture results in `docs/changelog.md`.

## Automation Checklists
Expand All @@ -108,7 +108,7 @@ This handbook defines how automation agents collaborate safely and effectively o

**For workflow, release, or CI updates**

- [ ] Cross-check `.github/workflows/` and Fastlane lanes for consistency.
- [ ] Cross-check `.github/workflows/` for consistency.
- [ ] Provide dry-run instructions or environment prerequisites.
- [ ] Document required secrets, environment variables, or service accounts.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ src/
├── translation.ts # i18n resources
└── lineSymbolImage.ts # Line symbol metadata

android/ # Native Android project (Fastlane-managed)
ios/ # Native iOS project (Fastlane-managed)
android/ # Native Android project
ios/ # Native iOS project
functions/ # Firebase Cloud Functions
docs/ # Architectural notes and runbooks
assets/ # Static media bundled with the app
Expand All @@ -146,7 +146,7 @@ utils/ # Tooling scripts and codegen helpers
### Available Scripts

- `pnpm start` - Start the Expo development server
- `pnpm android` / `pnpm ios` - Build and launch native binaries through Fastlane
- `pnpm android` / `pnpm ios` - Build and launch native binaries
- `pnpm web` - Serve the Expo web build
- `pnpm lint` - Run Biome linter
- `pnpm format` - Format code with Biome
Expand Down
7 changes: 0 additions & 7 deletions android/Gemfile

This file was deleted.

227 changes: 0 additions & 227 deletions android/Gemfile.lock

This file was deleted.

8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ android {
dimension "environment"
applicationId "me.tinykitten.trainlcd.dev"
versionNameSuffix "-dev"
versionCode 100000259
versionName "10.1.1"
versionCode 100000261
versionName "10.1.2"
}
prod {
dimension "environment"
versionCode 100000259
versionName "10.1.1"
versionCode 100000261
versionName "10.1.2"
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions android/fastlane/.env.default.sample

This file was deleted.

2 changes: 0 additions & 2 deletions android/fastlane/Appfile

This file was deleted.

Loading