Skip to content
Merged

canary #7159

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
11 changes: 6 additions & 5 deletions .claude/skills/replay-gpx/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Argent の MCP ツールには位置情報を注入するものが無いため
| `assets/gpx/SampleJY.gpx` | 山手線。実走行ログ |
| `assets/gpx/SampleTohokuShinkansen.gpx` | 東北新幹線 盛岡→仙台。最高 320km/h |
| `assets/gpx/KeioSpecialExpress.gpx` | 京王線 特急 新宿→京王八王子。種別グループから生成 |
| `assets/gpx/KatamachiRapid.gpx` | 片町線 快速 京田辺→木津。駅間 2.3km・最高 95km/h |
| `assets/gpx/SobuRapid.gpx` | 総武快速線 錦糸町→津田沼。最高 120km/h |
| `assets/gpx/KatamachiRapid.gpx` | 片町線 快速 京田辺→木津。駅間 2.3km 前後の全駅停車 |
| `assets/gpx/SobuRapid.gpx` | 総武快速線 錦糸町→津田沼。駅間 3.6〜7.6km の全駅停車 |
| `assets/gpx/FLinerSeibu.gpx` | Fライナー相当 元町・中華街→飯能。地下鉄の電波環境入り |

新しい経路は `npm run gpx:generate` で作る。詳細は `docs/location-simulation.md`。
Expand All @@ -52,7 +52,7 @@ npm run gpx:generate -- --line 1004 --from 100418 --to 100411 --max-speed 320 \
寄せる。詳細と数値の根拠は `docs/location-simulation.md`。

```bash
npm run gpx:generate -- --line-group 152 --max-speed 80 \
npm run gpx:generate -- --line-group 152 \
--signal-profile subway --subway-lines 99310,22003 \
--out assets/gpx/FLinerSeibu.gpx
```
Expand All @@ -62,11 +62,12 @@ npm run gpx:generate -- --line-group 152 --max-speed 80 \

列車種別の停車パターンをそのまま走らせたいときは `--line-group` を使う。通過駅は
`stopCondition` から自動判定されるので `--skip` を手で並べなくてよく、直通で複数
路線にまたがる経路もそのまま扱える。`lineGroupId` は駅から辿る。
路線にまたがる経路もそのまま扱える。`lineGroupId` は駅から辿る。区間の時間は
StationAPI の到着時間推定 (`trainRoute` の `model: Estimated`) に合わせる。

```bash
npm run gpx:generate -- --list-train-types 2400101
npm run gpx:generate -- --line-group 71 --max-speed 110 --out assets/gpx/KeioSpecialExpress.gpx
npm run gpx:generate -- --line-group 71 --out assets/gpx/KeioSpecialExpress.gpx
```

### 2. アプリを対象の路線に入れる
Expand Down
6 changes: 3 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ android {
dimension "environment"
applicationId "me.tinykitten.trainlcd.dev"
versionNameSuffix "-dev"
versionCode 100000831
versionCode 100000833
versionName "10.17.0"
}
prod {
dimension "environment"
versionCode 100000831
versionCode 100000833
versionName "10.17.0"
}
// ストア配信する dev (Canary) と applicationId を分けた、ローカル検証専用のフレーバー。
Expand All @@ -186,7 +186,7 @@ android {
dimension "environment"
applicationId "me.tinykitten.trainlcd.local"
versionNameSuffix "-local"
versionCode 100000831
versionCode 100000833
versionName "10.17.0"
}
}
Expand Down
6 changes: 3 additions & 3 deletions android/wearable/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ android {
dimension = "environment"
applicationIdSuffix = ".dev"
versionNameSuffix = "-dev"
versionCode = 100000832
versionCode = 100000834
versionName = "10.17.0"
}
create("prod") {
dimension = "environment"
versionCode = 100000832
versionCode = 100000834
versionName = "10.17.0"
}
// :app の local フレーバーと対になるローカル検証専用フレーバー。Wear の Data Layer は
Expand All @@ -100,7 +100,7 @@ android {
dimension = "environment"
applicationIdSuffix = ".local"
versionNameSuffix = "-local"
versionCode = 100000832
versionCode = 100000834
versionName = "10.17.0"
}
}
Expand Down
4 changes: 2 additions & 2 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
userInterfaceStyle: 'automatic',
// Expo SDK 57 の各モジュール(expo / expo-modules-core ほか)は podspec で iOS 16.4 以上を要求する
deploymentTarget: '16.4',
buildNumber: '2945',
buildNumber: '2946',
scheme: IS_DEV ? 'CanaryTrainLCD' : 'ProdTrainLCD',
bundleIdentifier: IS_DEV
? 'me.tinykitten.trainlcd.dev'
Expand All @@ -78,7 +78,7 @@ export default {
? 'me.tinykitten.trainlcd.dev'
: 'me.tinykitten.trainlcd',
permissions: [],
versionCode: 100000831,
versionCode: 100000833,
},
owner: 'trainlcd',
experiments: {
Expand Down
Loading
Loading