Skip to content

fix(registry): migrate Smart Link listing to v2 - #7

Merged
agalwood merged 2 commits into
mainfrom
fix/smart-link-registry-v2
Oct 9, 2026
Merged

agalwood merged 2 commits into
mainfrom
fix/smart-link-registry-v2

Conversation

@agalwood

@agalwood agalwood commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

PR #4 added gricials112.smart-link@1.0.5 using the former root-level name, description, and features fields. The current registry v2 schema rejects those fields and requires listing, so the merged entry prevents registry validation and publishing.

Move the existing English and Chinese copy into listing.localizations (en-US and zh-CN) with defaultLocale: "en-US". Replace the fixed published-entry count assertion with a non-empty catalog check, so adding plugins does not require editing this test. Schema, publisher-policy, default-locale, and ID-order checks still apply to every entry. All original copy, package identity, version, download URL, checksum, size, and permissions are preserved.

Validation: typecheck, all 106 tests, validation of all four entries, aggregation (11,697 UTF-8 bytes), and git diff --check pass. A separate comparison confirms that all source copy and all non-listing fields are unchanged.

Follow-up to #4.

@agalwood
agalwood merged commit b246c78 into main Oct 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant