Skip to content

chore: disentangle npm listing from the unrelated create-wp-plugin package - #19

Merged
akshat009 merged 1 commit into
mainfrom
chore/disentangle-npm-listing
Sep 2, 2026
Merged

chore: disentangle npm listing from the unrelated create-wp-plugin package#19
akshat009 merged 1 commit into
mainfrom
chore/disentangle-npm-listing

Conversation

@akshat009

Copy link
Copy Markdown
Owner

Why

create-wp-plugin (no -cli) is a separate, unrelated npm package (by David Gwyer / wpgoplugins). Our metadata was helping it and misdescribing us.

Changes

README.md

  • H1# create-wp-plugin# create-wp-plugin-cli — matches the actual package name (the mismatch was just confusing; npm/GitHub render the H1 as the title).
  • Add npm / CI / license badges under the H1.
  • Remove the "the shorter create-wp-plugin name was already taken" blockquote — it was the last bare reference to the other package and framed ours as the runner-up.
  • Section headings left untouched (no anchor-link breakage).

package.json

  • description — dropped the stale v2 wording (SOLID/DI architecture (Container + Service Providers), removed in v3.0.0) → static bootloader with a Services locator, …, matching the current architecture (src/Services.php is literally a "Static service locator"; src/Plugin.php says "Not a service container").
  • bin — removed the create-wp-plugin alias. Installing this no longer drops a create-wp-plugin executable on PATH that shadows the unrelated package. create-wp-plugin-cli is the sole bin; npm create wp-plugin-cli / npx create-wp-plugin-cli unaffected. package-lock.json already only listed the -cli bin, so no lockfile change.
  • keywords — added wordpress-plugin, wp-cli, gutenberg, phpunit.

BACKLOG.md

  • Closed NEW-56 ("add create-wp-plugin bin alias") as rejected — it directly contradicts the disentangling intent.

Done separately (live repo metadata, not in this diff)

  • GitHub About description refreshed.
  • GitHub topics rebuilt (18): dropped nodejs / scaffold / generator / php; added scaffolding, boilerplate-generator, npm-package, wordpress-vip, playwright, php82, wp-env, dev-tooling.

Verification

  • npm test70/70 pass
  • git diff touches exactly these 3 files

…ckage
- README: H1 -> create-wp-plugin-cli (matches the package name; bare
create-wp-plugin is a separate, unrelated package), add npm/CI/license
badges, drop the "name was already taken" blockquote
- package.json: replace the stale v2 description ("Container + Service
Providers", removed in v3.0.0) with the current static-bootloader
wording; remove the create-wp-plugin bin alias so installing this no
longer shadows the other package on PATH; add keywords
(wordpress-plugin, wp-cli, gutenberg, phpunit)
- BACKLOG: close NEW-56 (add create-wp-plugin bin alias) as rejected --
it contradicts the disentangling intent
@akshat009
akshat009 merged commit 215b5d9 into mainSep 2, 2026
6 checks passed
Sign up for freeto 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.

1 participant

@akshat009