Skip to content

chore: update tooling and config for v6 prefix #3130

@zeroedin

Description

@zeroedin

Phase 0.2: Rename tooling and config for v6 prefix

Part of the v6 migration (#3110). Tooling and config need updating so that pf-v6-* elements are recognized, and pf-v5-* exports are removed since the v6 release will not ship v5 elements.

Tasks

  • Update eslint.config.js ignore globs — currently hardcoded to pf-v5-icon demo path (line 16), needs to include pf-v6-icon (or generalize)
  • Update elements/package.json exports — replace all pf-v5-* export entries with their pf-v6-* equivalents. The v6 release will not contain pf-v5 elements, so these should be updated, not duplicated
  • Audit tsconfig paths for any v5-specific entries
  • Update web-test-runner.config.js and playwright.config.ts globs if needed
  • Verify commitlint.config.js handles both prefixes (currently strips pf-v\d+- dynamically — looks fine already)

Notes

  • commitlint.config.js already normalizes scopes dynamically via regex (pf-(?:v\d+-)?), so no changes needed there
  • tsconfig, web-test-runner, and playwright configs don't appear to have hardcoded v5 globs currently, but should be verified as elements are ported
  • This can be done incrementally as v6 elements land, or as a batch once enough elements exist

Related

Metadata

Metadata

Assignees

Labels

toolsDevelopment and build tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions