You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add backwards compatibility for course lookup by dependency name (#952)
The PR #950 changed the provider to store courses by courseId (extracted
from manifest), which broke the docs site that passes dependency names
like '@skuilder/hero-course' to getCourseDB().
This adds a mapping from dependency name to courseId, allowing
getCourseDB() to accept either format:
- Direct courseId lookup (e.g., '2aeb8315...') for scaffolded apps
- Dependency name lookup (e.g., '@skuilder/hero-course') for docs site
The provider now maintains both maps and falls back to dependency name
lookup if direct courseId lookup fails, ensuring backwards
compatibility.
0 commit comments