fix: updated node and composer packages, made update-dependencies script more reliable - #904
Open
lgersman wants to merge 1 commit into
Open
fix: updated node and composer packages, made update-dependencies script more reliable#904lgersman wants to merge 1 commit into
lgersman wants to merge 1 commit into
Conversation
…ipt more reliable
Contributor
There was a problem hiding this comment.
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
ghauthentication) inscripts/update-dependencies.sh. - Bump versions and Composer-locked dependencies for the
rector-php,potrans, andecs-phpDocker images. - Update root
package.jsondevelopment 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") |
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.
Checklist
Screenshots / Recordings
If the ui was changed by PR please provide a screenshot
manual testing
Please replace this line with instructions on how to test your changes
Reviewer checklist