Skip to content

Conversation

@defunctl
Copy link
Contributor

@defunctl defunctl commented Jun 20, 2025

https://stellarwp.atlassian.net/browse/KAD-4362

Main Changes

📣 Because this uses GitHub private NPM packages, you'll need to change your build process slightly.

  1. Create a GitHub Personal Access Token (classic) at https://github.com/settings/tokens/new with the "read:packages" permissions.
  2. Create a ~/.npmrc file in your home folder.
  3. Add:
@stellarwp:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=ghp_REPLACE_WITH_YOUR_GITHUB_TOKEN_CREATED_ABOVE

This brings in iframe client from the new Performance Analyzer monorepo and hooks it up to a new column in the Post List Table on any public posts/post types.

This loads the URL in an iframe in the background and collects optimization data in both a desktop and mobile viewport and stores it in the post's postmeta.

image

image

Bug Fixes

  • No longer build project twice when generating zip in workflows.
  • No longer try to send slack messages in generate zip workflow when the channel/thread are empty, which was running all the time.
  • Removed a bunch of useless steps from workflows that just added to run times.

Other Changes

  • Added cursor rules for PHP backend development.
  • Added a @kadence-bundled/admin-notices extension to generate legacy WordPress notices on non-gutenberg pages.
  • Added a .npmrc file so --legacy-peer-deps automatically gets added to npm install and you can just run that command without the option.
  • Added a bunfig.toml file, which is used to configure bun.
  • Added a local @kadence/optimizer package, and properly alias it in webpack and eslint.

@defunctl defunctl self-assigned this Jun 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2025

🎉 Zip build complete

Build timestamp

@defunctl defunctl force-pushed the feature/KAD-4362/performance-optimizer branch from 87d4d0b to 328645e Compare June 24, 2025 22:38
@defunctl defunctl requested a review from oakesjosh November 24, 2025 22:13
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.

5 participants