ci: add Cap 9 deprecated-API guard
Closed
RI
2mo ago+331+331+012345678901234567890123456789-0-0-0123456789
Summary
Adds the Cap-go reference Cap 9 deprecated native API CI guard (scripts/check-cap9-deprecated.mjs), matching the pattern from capacitor-admob#47.
Changes
scripts/check-cap9-deprecated.mjs— scans android/ios native sources (andpackages/*when present) for Cap 9 removed APIs; strips comments; supports--dir; skips Cordova SPM product lines inPackage.swift; allows Cap 9 replacements (Bridge.saveCall,Bridge.getSavedCall,Bridge.releaseCall,savedCall(withID:)); exits 0 whenpackage.jsonhas nocapacitor.android/capacitor.ios(hook-only packages like this repo).package.json—check:cap9-deprecatedscript..github/workflows/test.yml— runs the check afterbun iin the web job.
Local verify
bun run check:cap9-deprecated
bun run verify


Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.