Release: Add WordPress platform support#347
Open
callinmullaney wants to merge 9 commits into
Open
Conversation
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 17.0.7 to 17.0.8. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v17.0.7...v17.0.8) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 17.0.8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…-staged-17.0.8 chore(deps-dev): bump lint-staged from 17.0.7 to 17.0.8
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 21.0.2 to 21.1.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.1.0/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-version: 21.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 21.0.2 to 21.1.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.1.0/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/config-conventional" dependency-version: 21.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.0.0 to 26.0.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.0.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…itlint/cli-21.1.0 chore(deps-dev): bump @commitlint/cli from 21.0.2 to 21.1.0
…itlint/config-conventional-21.1.0 chore(deps-dev): bump @commitlint/config-conventional from 21.0.2 to 21.1.0
…s/node-26.0.1 chore(deps-dev): bump @types/node from 26.0.0 to 26.0.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds WordPress as a first-class platform option in Emulsify CLI.
It allows
emulsify initto create WordPress child themes using the new WordPress starter, supports WordPress platform auto-detection, and updates system variant selection so shared component systems can target multiple platforms with compatibility expressions such asdrupal || wordpress.This PR fixes/implements the following bugs/features
wordpressas a supported concrete project platform alongsidedrupalandnonehttps://github.com/emulsify-ds/emulsify-wordpress-starterwordpressdrupal || wordpressnonevariantswordpressand variant platform expressionsThe motivation for this change is to make WordPress a clear, supported path in the CLI instead of requiring WordPress projects to behave like generic
noneprojects. It also gives shared systems a cleaner compatibility model so the same component library can support Drupal and WordPress without duplicating nearly identical variants.Documentation update (required)
Documentation has been updated across the README and CLI docs to cover:
project.platformconcrete valuessystem installHow to review this pull request
--platform wordpressuses the WordPress starter and hyphenated machine names.wp-content/themes,web/app/themes, andweb/wp-content/themes.drupal || wordpress, genericnonevariants, and ambiguous matches.project.platformstays concrete whilevariant.platformsupports compatibility expressions.Closing issues
Closes #