create-wordpress-plugin
create-wordpress-plugin copied to clipboard
Running configure script replaces `@alleyinteractive/*` NPM package namespace with the vendor name
Description of the bug
The Make script (./configure.php) is finding and replacing the @alleyinteractive/* NPM package namespace with the when executed.
Steps To Reproduce
- Clone the plugin to a local environment.
- Navigate to the root plugin directory in the command line.
- run
makein the command line - Follow the prompts ...
- When prompted for the
Author username?enterauthorusername - When prompted for the
Vendor name (usually the Github Organization)? [alleyinteractive]:entervendorname - When asked for the
Plugin namespace?enter a different string likepluginnamespace - When prompted for
Will this plugin be compiling front-end assets (Node)?answeryes - Follow the rest of the prompts until the script is complete.
- Check the
package.jsonfile for instances of@vendorname/*
Additional Information
No response
This is no longer reproducible on the latest version. I believe we fixed this at some point along the way but didn't update this issue.
Ah, I might be wrong, I used alleyinteractive for the vendor name, so I probably didn't trigger the bug. Reopening for investigation.