create-wordpress-plugin icon indicating copy to clipboard operation
create-wordpress-plugin copied to clipboard

Running configure script replaces `@alleyinteractive/*` NPM package namespace with the vendor name

Open stevenslack opened this issue 1 year ago • 2 comments

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

  1. Clone the plugin to a local environment.
  2. Navigate to the root plugin directory in the command line.
  3. run make in the command line
  4. Follow the prompts ...
  5. When prompted for the Author username? enter authorusername
  6. When prompted for the Vendor name (usually the Github Organization)? [alleyinteractive]: enter vendorname
  7. When asked for the Plugin namespace? enter a different string like pluginnamespace
  8. When prompted for Will this plugin be compiling front-end assets (Node)? answer yes
  9. Follow the rest of the prompts until the script is complete.
  10. Check the package.json file for instances of @vendorname/*

Additional Information

No response

stevenslack avatar Dec 13 '23 16:12 stevenslack

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.

kevinfodness avatar Jan 17 '25 15:01 kevinfodness

Ah, I might be wrong, I used alleyinteractive for the vendor name, so I probably didn't trigger the bug. Reopening for investigation.

kevinfodness avatar Jan 17 '25 15:01 kevinfodness