Skip to content

Release(4.2.0): Add WordPress platform adapter#277

Merged
callinmullaney merged 18 commits into
mainfrom
develop
Jul 4, 2026
Merged

Release(4.2.0): Add WordPress platform adapter#277
callinmullaney merged 18 commits into
mainfrom
develop

Conversation

@callinmullaney

@callinmullaney callinmullaney commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a first-class, intentionally neutral wordpress platform adapter for WordPress and Timber projects using Emulsify Core for component authoring, Storybook, and Vite builds.

The new adapter gives WordPress projects an explicit project.platform value without adding WordPress or Timber runtime behavior to Core. WordPress projects continue to emit compiled assets to dist/, use normal Storybook CSS loading, and avoid Drupal-specific behavior such as Drupal shims, Drupal.attachBehaviors(), Drupal Twig filters, and SDC mirroring.

This PR also:

  • Exports platform adapter helpers through @emulsify/core/vite/platforms
  • Adds unit coverage for WordPress adapter resolution and normalized project config
  • Adds a wordpress-src-components release fixture covering Twig, React/JSX, Sass, assets, Vite extension loading, and non-Drupal output behavior
  • Updates README and docs to describe the none, wordpress, and drupal adapter model
  • Clarifies that WordPress runtime integration belongs in emulsify-wordpress-theme
  • Refreshes lockfile dependencies from the current install

Related issue(s)

N/A

Checklist

  • Tests run and results noted
  • Documentation impact considered
  • Migration or backward compatibility impact considered
  • Accessibility impact considered
  • Release fixture impact considered

Notes

CI is passing.

This is not intended to emulate WordPress, Timber, PHP template loading, theme context, or WordPress runtime behavior inside Emulsify Core. The adapter is a named platform target for Core’s existing build and Storybook behavior, while runtime integration remains the responsibility of emulsify-wordpress-theme.

dependabot Bot and others added 9 commits June 26, 2026 08:04
Bumps [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/sapphi-red/vite-plugin-static-copy/releases)
- [Changelog](https://github.com/sapphi-red/vite-plugin-static-copy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/vite-plugin-static-copy@4.1.0...vite-plugin-static-copy@4.1.1)

---
updated-dependencies:
- dependency-name: vite-plugin-static-copy
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [stylelint](https://github.com/stylelint/stylelint) from 17.12.0 to 17.14.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@17.12.0...17.14.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 17.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.11.4 to 4.12.1.
- [Release notes](https://github.com/dequelabs/axe-core/releases)
- [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md)
- [Commits](dequelabs/axe-core@v4.11.4...v4.12.1)

---
updated-dependencies:
- dependency-name: axe-core
  dependency-version: 4.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) from 10.4.1 to 10.4.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-version: 10.4.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…-plugin-static-copy-4.1.1

chore(deps): bump vite-plugin-static-copy from 4.1.0 to 4.1.1
…elint-17.14.0

chore(deps): bump stylelint from 17.12.0 to 17.14.0
…core-4.12.1

chore(deps): bump axe-core from 4.11.4 to 4.12.1
…ybook/addon-links-10.4.6

chore(deps): bump @storybook/addon-links from 10.4.1 to 10.4.6
@callinmullaney callinmullaney changed the title Release: add wordpress platform adapter Release: Add neutral WordPress platform adapter Jun 28, 2026
@callinmullaney callinmullaney changed the title Release: Add neutral WordPress platform adapter Release(7.2.0): Add WordPress platform adapter Jul 4, 2026
@callinmullaney callinmullaney changed the title Release(7.2.0): Add WordPress platform adapter Release(4.2.0): Add WordPress platform adapter Jul 4, 2026
@callinmullaney
callinmullaney merged commit 0106cf8 into main Jul 4, 2026
23 checks passed
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 4.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant