alleyinteractive / alleyinteractive/create-wordpress-plugin

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

Offen
#298 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug shell
Vorherrschende Sprache
PHP
Sterne
35
Forks
2
Ø Merge
1 T. 11 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.