Skip to content

chore: staging/pfv6#3134

Open
zeroedin wants to merge 21 commits into
mainfrom
staging/pfv6
Open

chore: staging/pfv6#3134
zeroedin wants to merge 21 commits into
mainfrom
staging/pfv6

Conversation

@zeroedin
Copy link
Copy Markdown
Collaborator

@zeroedin zeroedin commented May 8, 2026

What I did

Testing Instructions

Notes to Reviewers

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

🦋 Changeset detected

Latest commit: 261e220

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@patternfly/pfe-tools Minor
@patternfly/elements Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 43378fe
😎 Deploy Preview https://deploy-preview-3134--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions Bot added the AT passed Automated testing has passed label May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

SSR Test Run for a4a106a: Report

* chore(tools): update tooling config for v6 prefix

- Generalize eslint ignore glob for icon demo path to match both
  pf-v5-icon and pf-v6-icon directories
- Update eslint no-missing-package-exports rule to match only pf-v6-*
  element directories
- Remove all pf-v5-* export entries from elements/package.json since
  v6 release will not ship v5 elements
- Bump elements package version to 6.0.0-next.0

Audited and confirmed no changes needed in:
- tsconfig files (no v5-specific paths)
- web-test-runner.config.js (generic globs)
- playwright.config.ts (generic globs)
- commitlint.config.js (already handles both prefixes dynamically)

Closes #3130

Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: custome-element.json output location

* chore: add settings.local.json to gitignore

* chore: remove extra cem config

* chore: revert package.json version

* chore: revert eslint config

* chore: remove no-missing-package-exports altogether

* chore: splat exports

* docs: delete migration plan

it's now in the issue body for epic #3110

* chore: update cem configs

* chore: update cem

---------

Co-authored-by: Benny Powers <web@bennypowers.com>
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for dd4ee41: Report

bennypowers and others added 2 commits May 11, 2026 20:33
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore(deps): bump @pwrs/cem to 0.10.5
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for ea95c87: Report

* chore: remove v5 element after update

* docs: apply suggestion from @bennypowers

---------

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for d19c3ec: Report

@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 3380d11: Report

@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 2a2e7a2: Report

bennypowers and others added 3 commits May 14, 2026 15:55
Add Phase 8 (README) to create-element and update-element skills,
instructing agents to produce a divergences-from-React document for
each element. Three tables: not implemented, changed API, and added.
Includes accuracy rules to prevent false claims about shadow DOM.

References elements/pf-v6-tooltip/README.md as example.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
docs(create-element): add README phase to element skills
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 8156a2c: Report

@zeroedin zeroedin changed the title staging: pfv6 feat: staging/pfv6 May 14, 2026
@zeroedin zeroedin changed the title feat: staging/pfv6 chore: staging/pfv6 May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "chore: staging/pfv6"
}

…ap (#3144)

The `.js` regex in `liveReloadTsChangesMiddleware` was not end-anchored,
so requests for `.js.map` (source maps) were matched and rewritten
to `.ts.map`, breaking source maps in the dev server.

End-anchor the regex (`\.js$`) and use a regex replacement so only
the final `.js` extension is rewritten to `.ts`.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for d869cee: Report

* fix(tools): support tagPrefix as an array of tags

* chore(tools): add changeset

* refactor(tools): extract getPrefixes/matchPrefix helpers from callsites

Centralizes prefix normalization into two helpers in config.ts:
- `getPrefixes()`: normalizes tagPrefix to non-empty array, throws on empty
- `matchPrefix()`: finds matching prefix for a tag name with trailing dash

All callsites (DocsPage, Manifest, test config, deslugify) updated to use
helpers instead of inline `[].flat()` normalization, addressing Copilot
review feedback about `prefixes[0]` being undefined when tagPrefix is an
empty array.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* refactor(tools): re-export DemoRecord from Manifest instead of duplicating

The DemoRecord interface in 11ty/plugins/types.ts was a separate copy
from the canonical one in Manifest.ts. Re-export it to maintain a single
source of truth. The CJS plugin's JSDoc type annotation still resolves
correctly.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* test(tools): add unit tests for getPrefixes, matchPrefix, deslugify

Covers edge cases: empty array, undefined tagPrefix, empty string
filtering, prefix matching/fallback, trailing dash normalization,
and multi-prefix deslugify behavior.

Uses node:test + node:assert, run via `npx tsx --test`.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(tools): exclude node-only spec files from WTR

config.spec.ts uses node:test and node:assert, which cannot run in
WTR's browser context. Exclude tools/pfe-tools/*.spec.ts from the
WTR file glob.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Benny Powers <web@bennypowers.com>
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 621fc75: Report

…round-image` (#3151)

* feat(background-image): port pf-v5-background-image to pf-v6-background-image

* test(background-image): remove unecessary tests

* fix(background-image): remove reflection on src

* fix(background-image): css tweak

* chore(background-image): add changeset
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 43378fe: Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants