alleyinteractive / alleyinteractive/create-wordpress-plugin

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

Open
#298 2 comments 0 reactions 0 assignees View on GitHub
bug shell
Dominant language
PHP
Stars
35
Forks
2
Avg merge
1d 11h
Merged PRs (30d)
3

Description

### 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`
9. When prompted for `Will this plugin be compiling front-end assets (Node)?` answer `yes`
10. Follow the rest of the prompts until the script is complete.
11. Check the `package.json` file for instances of `@vendorname/*`

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.