Skip to content

feat(ci): add validate-registry script for registry consistency CI - #32

Merged
iamnewton merged 3 commits into
mainfrom
feat/validate-registry-ci
Sep 1, 2026
Merged

feat(ci): add validate-registry script for registry consistency CI#32
iamnewton merged 3 commits into
mainfrom
feat/validate-registry-ci

Conversation

@iamnewton

Copy link
Copy Markdown
Contributor

Adds scripts/validate-registry.mjs which validates internal consistency of @theholocron/registry-doc: no duplicate package names across getters, all required fields present, slug matches key. Runs via the hashFiles() gate in lint.yml.

Validates internal consistency of @theholocron/registry-doc:
- All required fields present (slug, package, docsUrl, npmUrl, githubUrl)
- No duplicate package names across getters
- slug matches the record key

Runs as part of the Lint workflow via the hashFiles() gate in lint.yml.

Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
@iamnewton
iamnewton requested a review from a team as a code owner August 31, 2026 20:06
@github-actions github-actions Bot added the enhancement New feature or request label Aug 31, 2026
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          105       105           
  Branches        18        18           
=========================================
  Hits           105       105           
Components Coverage Δ
components-doc 100.00% <ø> (ø)
registry-doc 100.00% <ø> (ø)

Signed-off-by: Newton <vj2kp2hfh4@privaterelay.appleid.com>
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
The lint.yml step runs 'node scripts/validate-registry.mjs' on a fresh
CI checkout where dist/ doesn't exist. Self-build via pnpm if needed.

Signed-off-by: Newton <vj2kp2hfh4@privaterelay.appleid.com>
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
@iamnewton
iamnewton merged commit 17af427 into main Sep 1, 2026
35 checks passed
@iamnewton
iamnewton deleted the feat/validate-registry-ci branch September 1, 2026 04:14
@iamnewton

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@iamnewton iamnewton added the released Included in a release label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant