Yoast / Yoast/plugin-development-docker

Feature request: Implement Composer and Yarn on the build

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
48
Forks
12
PR merge metrics
No merged PRs in 30d

Description

It would be nice to have the Composer and Yarn come with the build itself. I know that it's not something that everyone would want but I typically try to do everything through Docker containers and I don't have Composer and Yarn installed locally on my machine. So, the build fails when I run ./plugins.sh as expected since I don't have either of them locally installed.

https://github.com/Yoast/plugin-development-docker/blob/385e5370e96caaeecb909d4b179ea543a7b93ed1/plugins.sh#L48
https://github.com/Yoast/plugin-development-docker/blob/385e5370e96caaeecb909d4b179ea543a7b93ed1/plugins.sh#L52

So, it would be really handy to have the Composer and Yarn in the build itself. When there's no local Composer and Yarn installed, it will use the Docker containers instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with plugins.sh at the referenced lines 48 and 52, then inspect the repository's Docker configuration to understand how the build runs. The change is complete when ./plugins.sh can use Docker-provided Composer and Yarn when neither tool is installed locally, while preserving the existing build behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
build-system, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.