mcpb/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Joan Xie 184173e342
fix: use correct manifest types for reading vs building
Apply proper type distinction:
- Reading/validating existing manifests: Use McpbManifest (any version)
- Building/creating new manifests: Use McpbManifestLatest (latest only)

Changes:
- src/shared/config.ts: Revert to McpbManifest for config operations
- src/cli/init.ts: Use McpbManifestLatest for new manifest creation
- test/config.test.ts: Use McpbManifest for testing config operations

This ensures backward compatibility when reading existing manifests
while enforcing latest schema for new builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 09:47:08 -07:00
..
cli.test.ts refactor: remove schemas.ts re-export, use explicit imports in tests 2025-09-24 14:28:06 -07:00
config.test.ts fix: use correct manifest types for reading vs building 2025-10-30 09:47:08 -07:00
init.test.ts fix linting 2025-10-27 14:06:11 -07:00
invalid-manifest.json Revert "feat: replace manifest_version with $schema field" 2025-08-27 11:24:18 -07:00
mcpbignore.test.ts rename dxt -> mcpb 2025-08-21 14:56:54 -07:00
schemas.test.ts fix: lint errors - remove unused import and format files 2025-10-29 16:51:27 -07:00
sign.e2e.test.ts lint 2025-08-21 15:28:01 -07:00
valid-manifest-0.2.json fix: lint errors - remove unused import and format files 2025-10-29 16:51:27 -07:00
valid-manifest.json fix: lint errors - remove unused import and format files 2025-10-29 16:51:27 -07:00