Skip to content

feat: add package props metadata generation - #242

Open
dlabaj wants to merge 1 commit into
mainfrom
feat/package-props-metadata
Open

feat: add package props metadata generation#242
dlabaj wants to merge 1 commit into
mainfrom
feat/package-props-metadata

Conversation

@dlabaj

@dlabaj dlabaj commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add generate-package-props as an additive CLI command.
  • Generate a package-level schema/props.json artifact with formatVersion, package name, package version, and component metadata.
  • Reuse the existing props extraction logic.
  • Preserve the existing generate-props and documentation build behavior.
  • Add focused regression coverage and CLI documentation.

Metadata contract

The artifact contains formatVersion, package, packageVersion, and components.

Migration

This is the first step toward package-owned metadata artifacts. No changes are made to patternfly-org, patternfly-component-schemas, or the MCP-facing API. The existing flat dist/props.json workflow remains unchanged. Package-specific configuration and schema-repository consumption can be added in a follow-up PR.

Validation

  • npm run build:cli
  • npx jest cli/tests/buildPropsData.test.ts --runInBand

Both pass.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: cac15c68-4ac7-4309-aa71-81a54e4235cf


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dlabaj
dlabaj requested a review from cdcabrera September 10, 2026 03:54
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying patternfly-doc-core with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8d91792
Status: ✅  Deploy successful!
Preview URL: https://05068cc0.patternfly-doc-core.pages.dev
Branch Preview URL: https://feat-package-props-metadata.patternfly-doc-core.pages.dev

View logs

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