diff --git a/.vscode/settings.json b/.vscode/settings.json index f6f3ad56..bd751403 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -67,6 +67,7 @@ "fimber", "Fimber", "flutterreadium", + "gradlew", "imgref", "jsonable", "kotlin", @@ -75,6 +76,7 @@ "Mantano", "mediatype", "microenterprise", + "Notalib", "NYPL", "opds", "Opds", @@ -92,8 +94,10 @@ "subcollections", "syncnarr", "textref", + "tokensave", "Transformability", - "videoref" + "videoref", + "Worktree" ], "java.configuration.updateBuildConfiguration": "interactive", "dart.mcpServer": true, diff --git a/CLAUDE.md b/CLAUDE.md index 8d7e8568..848ebe58 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,7 +24,10 @@ When upgrading a toolkit, move all three platforms together where API surface ov - `bin/doctor` — verify toolchain. `bin/install` — full bootstrap after clone / dependency change. - **Before any PR:** `bin/format` + `bin/analyze` (both cover all three packages); fix everything they report. -- **After editing web TS (`flutter_readium/web/`):** `bin/typecheck`, then `bin/update_web_example`. Never hand-edit built JS. +- **Before declaring any Swift changes done:** run `flutter build ios --no-codesign` in `flutter_readium/example` and fix all errors. +- **Before declaring any Kotlin changes done:** run `./gradlew :flutter_readium:compileDebugKotlin` in `flutter_readium/example/android/` and fix all errors. +- **Before declaring any web TS changes done:** run `bin/typecheck`, then `bin/update_web_example`. Never hand-edit built JS. +- **Before declaring any `bin/` script changes done:** run `bash -n