Skip to content

fix: updated node and composer packages, made update-dependencies script more reliable - #904

Open
lgersman wants to merge 1 commit into
developfrom
update-dependencies
Open

fix: updated node and composer packages, made update-dependencies script more reliable#904
lgersman wants to merge 1 commit into
developfrom
update-dependencies

Conversation

@lgersman

Copy link
Copy Markdown
Contributor

Checklist

  • Acceptance Criteria are fulfilled (or there is no ticket)
  • tests added if necessary
  • docs added if necessary

Screenshots / Recordings

If the ui was changed by PR please provide a screenshot

manual testing

  • done / trivial change (docs, ...)
  • requested
    Please replace this line with instructions on how to test your changes

Reviewer checklist

  • if requested manual testing done
  • sufficient tests
  • sufficient docs
  • general Code Review

Copilot AI review requested due to automatic review settings July 31, 2026 12:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates dependency versions across the monorepo (Node tooling and Composer dependencies for Docker images) and improves the update-dependencies helper script’s resilience when checking upstream versions via the GitHub API.

Changes:

  • Add a GitHub API fetch helper for tag lookups (with optional gh authentication) in scripts/update-dependencies.sh.
  • Bump versions and Composer-locked dependencies for the rector-php, potrans, and ecs-php Docker images.
  • Update root package.json development dependencies (Playwright, WordPress tooling, Storybook, ESLint, etc.).

Reviewed changes

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

Show a summary per file
File Description
scripts/update-dependencies.sh Adds a GitHub tag-fetch helper and refactors pnpm/docker version checks to use it.
packages/docker/rector-php/package.json Bumps rector-php image package version.
packages/docker/rector-php/composer.json Updates rector requirement.
packages/docker/rector-php/composer.lock Locks updated rector/phpstan versions and metadata.
packages/docker/potrans/package.json Bumps potrans image package version.
packages/docker/potrans/composer.lock Updates locked Composer dependencies (notably google/* and guzzle*).
packages/docker/ecs-php/package.json Bumps ecs-php image package version.
packages/docker/ecs-php/composer.json Updates ECS and WPCS requirements.
packages/docker/ecs-php/composer.lock Locks updated coding standard toolchain versions and metadata.
package.json Updates root Node dev dependencies (Playwright, WordPress scripts/env, Storybook, ESLint, etc.).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +52 to +54
response=$(gh api "$(sed -e 's#https://api.github.com/##' <<<"$1")" 2>/dev/null)
else
response=$(curl -Ls "$1")
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.

2 participants