fix(scaffolds): install the config packages and wp-phpcs from their registries - #78
Merged
Merged
Conversation
…egistries The config packages are on npm at 1.1.0 and rtcamp/wp-phpcs is on Packagist, so the scaffolds and the setup skill ask for @rtcamp/*-config ^1.1.0 instead of the npm/* git branches, and lint/phpcs/core and lint/phpcs/full no longer add a repositories entry for rtCamp/wp-phpcs. The 2.0.0 CHANGELOG entries that described the old behaviour are corrected, since 2.0.0 is not published yet.
AnuragVasanwala
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@rtcamp/eslint-config,@rtcamp/stylelint-configand@rtcamp/tailwind-configare on npm at 1.1.0, andrtcamp/wp-phpcsandrtcamp/wp-phpstanare on Packagist at 1.0.1, so the scaffolds no longer need the workarounds:lint/eslint,lint/stylelint,setup/tailwindand the setup skill ask for the config packages at^1.1.0instead of thenpm/*git branches.lint/phpcs/coreandlint/phpcs/fullno longer add arepositoriesentry forrtCamp/wp-phpcs. Theallow-pluginswiring stays, and the setup skill and the examples doc say so.The
npm/*branches stay, so projects that still install from git keep working. Thertcamp/wp-dev-toolsrepository entries stay too, since that package is not on Packagist.Merge before
@rtcamp/wp-tooling2.0.0 is published, so 2.0.0 ships with these specs.Testing
npm run check: lint clean, 1,407 tests passingwp-tooling addforlint/eslint,lint/stylelint,setup/tailwind,lint/phpcs/fullandlint/phpstanreports^1.1.0for the config packages and only theallow-pluginswiring for PHPCSnpm installof the three config packages at^1.1.0resolves from npmcomposer require --dev rtcamp/wp-phpcs:^1.0 rtcamp/wp-phpstan:^1.0with norepositoriesentry resolves both at v1.0.1 from Packagist, andphpcs -ilistsrtCampWPandrtCampWP-Basic