humanmade / humanmade/altis-dev-tools

altis/dev-tools as a dependency causes unnecessary non-dev dependencies

Open
#101 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
7
Forks
0
Avg merge
1d 9h
Merged PRs (30d)
2

Description

If you follow [the basic Getting Started instructions for an Altis project](https://www.altis-dxp.com/resources/docs/getting-started/) you end up with a bunch of testing libraries in your Composer dependency graph when installing the site for production use with `composer install --non-dev`.

This includes `phpunit/phpunit`, `wp-phpunit/wp-phpunit`, and others.

The reason is that this `altis/altis` meta package has `altis/dev-tools` as a non-dev dependency, which in turn has a non-dev dependency on `phpunit/phpunit` and `wp-phpunit/wp-phpunit`.

I think the problem is that `altis/dev-tools` should be a dev dependency rather than a dependency.

Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.