Skip to content

refactor: migrate from wpackagist to wp-composer#71

Open
YvetteNikolov wants to merge 1 commit intomainfrom
feat/migrate-to-wp-composer
Open

refactor: migrate from wpackagist to wp-composer#71
YvetteNikolov wants to merge 1 commit intomainfrom
feat/migrate-to-wp-composer

Conversation

@YvetteNikolov
Copy link
Copy Markdown
Contributor

Voorstel: we kunnen deze stap gemakkelijk integreren in de update guide naar WordPress 6.9

curl -sO https://raw.githubusercontent.com/roots/wp-composer/main/scripts/migrate-from-wpackagist.sh && \
bash migrate-from-wpackagist.sh && \
composer update && \
rm migrate-from-wpackagist.sh

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates WordPress plugin/theme dependency sourcing from WPackagist to the Roots/wp-composer repository, aligning the project’s Composer setup with the suggested WordPress 6.9 update path.

Changes:

  • Switched the Composer repository from https://wpackagist.org to https://repo.wp-composer.com and updated allowed package patterns.
  • Renamed required WP packages from wpackagist-plugin/* to wp-plugin/* and updated the lockfile accordingly.
  • Composer lockfile also includes an incidental dependency bump for sentry/sentry.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
composer.json Updates Composer repository configuration and WP package names to use wp-composer (wp-plugin/*, wp-theme/*).
composer.lock Regenerates lockfile to reflect wp-composer package naming/metadata and updates resolved versions (including sentry/sentry).

You can also share your feedback on Copilot code review. Take the survey.

"prefer-stable": true,
"repositories": [
{
"name": "wp-composer",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Geeft geen problemen:

❯ composer validate
./composer.json is valid

Copy link
Copy Markdown

@mvdhoek1 mvdhoek1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
"wp-plugin/*",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Het 'only' block is niet meer nodig: roots/wp-packages#43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants