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
fix(web): add url and npm plugin source types to marketplace schema (#114)
* fix(web): add url and npm plugin source types to marketplace schema
- Added url and npm source types to Zod validation schemas (marketplace-schema.ts, content.config.ts)
- Added corresponding TypeScript interfaces (marketplace.ts, PluginCard.vue)
- Updated PluginCard.vue to handle url/npm sources for metadata fetch, source URL display, and source text
- Fixed parseGitHubRepo to strip .git suffix from URLs
- Fixed import.meta.env to process.env for GITHUB_TOKEN in server utils
- Installed @iconify-json/simple-icons for icon collection
* chore: apply AI code review suggestions
- Add ref/sha fields to PluginSourceGitHub interface to fix TypeScript error
- Restructure fetchPluginMetadata to ensure loading is always reset via finally block
- Add sourceText computed property and simplify template ternary
- Revert Node engine from 24.x to 22.x to match repo baseline
- Use z.string().url() for stricter URL validation in content.config.ts
0 commit comments