Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,10 @@ When `WooCommerce Integration` is selected in Question 11, the CLI opens a secon
- [ ] **NEW-55 [P2] Missing `tmp-test*` in Root `.gitignore`**
*Location:* `.gitignore`
Test temp folders created by `generator.test.js` are not ignored, cluttering git working tree when tests fail.
- [ ] **NEW-56 [P2] Missing `create-wp-plugin` Alias in `package.json` `"bin"` Field**
- [x] ~~**NEW-56 [P2] Missing `create-wp-plugin` Alias in `package.json` `"bin"` Field**~~
*Location:* `package.json:6-8`
Only defines `"create-wp-plugin-cli"`. Adding `"create-wp-plugin": "index.js"` ensures standard npm `npm create wp-plugin` alias execution works without error.
Only defines `"create-wp-plugin-cli"`. Adding `"create-wp-plugin": "index.js"` ensures standard npm `npm create wp-plugin` alias execution works without error.
*Rejected:* `create-wp-plugin` is a separate, unrelated npm package. A bin by that name shadows it on `PATH` and blurs the two projects — the opposite of the intent. The alias has been removed; `create-wp-plugin-cli` is the sole bin.

### Iteration 8 Findings
- [ ] **NEW-57 [P1] `phpcs.xml` Skips Sniffing `./templates/` Directory**
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# create-wp-plugin
# create-wp-plugin-cli

[![npm version](https://img.shields.io/npm/v/create-wp-plugin-cli)](https://www.npmjs.com/package/create-wp-plugin-cli)
[![CI](https://github.com/akshat009/create-wp-plugin-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/akshat009/create-wp-plugin-cli/actions)
[![License: GPL-2.0-or-later](https://img.shields.io/badge/license-GPL--2.0--or--later-blue)](LICENSE)

Interactive scaffold generator for modern, production-ready WordPress plugins — a
modular bootloader architecture (one `Plugin` composition root wiring plain
Expand All @@ -19,9 +23,6 @@ npx create-wp-plugin-cli # same thing via npx
npx github:akshat009/create-wp-plugin-cli # latest main, straight from GitHub
```

> Published on npm as [`create-wp-plugin-cli`](https://www.npmjs.com/package/create-wp-plugin-cli)
> — the shorter `create-wp-plugin` name was already taken.

### From a clone

```bash
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "create-wp-plugin-cli",
"version": "3.1.0",
"description": "Interactive scaffold generator for modern WordPress plugins — SOLID/DI architecture (Container + Service Providers), PSR-4, selectable WPCS/VIP standards, PHPUnit unit + integration tests, Jest, Playwright, WP-CLI, WooCommerce, Interactivity API, and CI out of the box",
"description": "Interactive scaffold generator for modern WordPress plugins — static bootloader with a Services locator, PSR-4, selectable WPCS/VIP standards, PHPUnit + Brain Monkey, Jest, Playwright, WP-CLI, WooCommerce, Interactivity API, and CI out of the box",
"main": "index.js",
"bin": {
"create-wp-plugin-cli": "index.js",
"create-wp-plugin": "index.js"
"create-wp-plugin-cli": "index.js"
},
"type": "module",
"engines": {
Expand All @@ -29,7 +28,11 @@
"wpcs",
"psr-4",
"woocommerce",
"interactivity-api"
"interactivity-api",
"wordpress-plugin",
"wp-cli",
"gutenberg",
"phpunit"
],
"author": {
"name": "Akshat Saxena",
Expand Down
Loading