Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwp/site-monorepo-example
https://github.com/xwp/site-monorepo-example
xwp-inits
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xwp/site-monorepo-example
- Owner: xwp
- Created: 2022-06-16T13:14:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-29T14:30:50.000Z (about 2 years ago)
- Last Synced: 2023-04-10T18:10:59.178Z (over 1 year ago)
- Topics: xwp-inits
- Language: PHP
- Homepage:
- Size: 1.63 MB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Monorepo Site Example
A prototype of an application source repository that contains source files of multiple plugin and theme dependencies that require their own build steps and tooling for development and release packaging.
Main principles:
- Use [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces) for installing, linting, testing, building and packaging local plugin and theme dependencies.
- Use Composer [local `path` dependencies](https://getcomposer.org/doc/05-repositories.md#path) for adding plugins and themes to the project-level autoload. W
Known issues:
- Composer local `path` dependencies work well for the autoload aspect but doesn't work with development related tooling which requires the `dev` dependencies for linting, running tests, etc.
- The local development environment has to be flexible enough to run the development tooling of every dependency.