alleyinteractive / alleyinteractive/create-wordpress-plugin

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

Đang mở
#298 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug shell
Ngôn ngữ chính
PHP
Star
35
Fork
2
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
3

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.