WordPress / WordPress/developer-blog-content
Setup a single source of dependencies and build tools for multiple plugins and themes
@troychaplin is already working on this.
Since Sep 5, 2025.
- Dominant language
- No language data
- Stars
- 50
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Discussed in https://github.com/WordPress/developer-blog-content/discussions/392
Originally posted by troychaplin August 20, 2025
I've been working on a way to setup my tooling at the root of a WordPress project and easier manage dependencies that are, for the most part, shared across all my themes and plugins.
This includes:
- build tools for blocks
- compiling additional assets (css and js)
- lint and format tools for PHP, CSS and JS
- husky pre-commit tests
This is setup in such a way where I can build all my themes and plugins at the same time, or individual depending on what I'm working on. Here's an example of the work I've been doing in this area https://github.com/troychaplin/wp-dependency-manager
I think this could be valuable for folks running enterprise systems where they want to use a monorepo and simplify the build and maintenance of their projects.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.