Skip to content

Test dependencies placement#80

Closed
cursor[bot] wants to merge 14 commits intomainfrom
cursor/test-dependencies-placement-b62f
Closed

Test dependencies placement#80
cursor[bot] wants to merge 14 commits intomainfrom
cursor/test-dependencies-placement-b62f

Conversation

@cursor
Copy link

@cursor cursor bot commented Feb 22, 2026

Bare minimum self-checks

What do you think of a person who only does the bare minimum?

  • I've updated this PR with the latest code from main
  • I've done a cursory QA pass of my code locally
  • I've ensured all automated status check and tests pass
  • I've connected this PR to an issue

Pieces of flare

  • I've written a unit or functional test for my code
  • I've updated relevant documentation it my code changes it
  • I've updated this repo's README if my code changes it
  • I've updated this repo's CHANGELOG with my change unless its a trivial change (like updating a typo in the docs)

Finally

If you have any issues or need help please join the #contributors channel in the Lando slack and someone will gladly help you out!

You can also check out the coder guide.


Fix: Move test dependencies to devDependencies

This PR addresses a bug where @lando/mariadb and @lando/mysql were incorrectly listed under dependencies in package.json. These packages are exclusively used for testing and examples, not as production dependencies for @lando/phpmyadmin. Moving them to devDependencies prevents unnecessary transitive installations for consumers of this package, reducing its footprint.


AaronFeledy and others added 14 commits February 22, 2026 14:41
The official phpmyadmin Docker image only has 5.x tags. Legacy 4.x
versions (4.9, 4.8, 4.7, 4.6) are only available on the deprecated
phpmyadmin/phpmyadmin image. This change uses the appropriate image
based on version to prevent Docker pull failures for legacy versions.

Applied via @cursor push command
Change version threshold from 5.0.0 to 5.2.0 to ensure versions 5.0 and 5.1 use the deprecated phpmyadmin/phpmyadmin image where these tags exist, since the official phpmyadmin image only supports 5.2.x and higher.

Applied via @cursor push command
- Update all workflow files to use Node 20 instead of Node 18
- Update label-add-to-project.yml to use ubuntu-24.04 instead of ubuntu-latest
- Fix trailing spaces lint errors in builders/phpmyadmin.js

Co-authored-by: Aaron Feledy <[email protected]>
The leia tests use mariadb and mysql services but these plugins
were missing from package.json. CI runs npm install --production
which only installs dependencies, so these need to be regular
deps (matching the pattern used by @lando/lamp and other plugins).
These packages are test dependencies used only in examples/,
not production dependencies. Moving them prevents unnecessary
transitive dependencies for consumers of @lando/phpmyadmin.
@cursor
Copy link
Author

cursor bot commented Feb 22, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@cursor
Copy link
Author

cursor bot commented Feb 23, 2026

Automatically closed this PR because it was created by Bugbot autofix for #74, and that PR was closed.

@cursor cursor bot closed this Feb 23, 2026
Base automatically changed from fix/official-docker-image to main February 23, 2026 00:33
@cursor cursor bot deleted the cursor/test-dependencies-placement-b62f branch February 23, 2026 00:33
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