-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this component only in dev environments? #25
Comments
This is not related to this component directly. Its all about how you setup your project. But I can give you a quick glance what causes this problem:
So what is missing here, is a feature in the mezzio-skeleton, the documentation, the I would first see how to implement that feature in the In mezzio, we have So we could probably agree on the same format in the Feel free to send feature requests to the mezzio skeleton application. To make it work as of now:
(Disclaimer: This is all just written down without too many research) |
Bug Report
The config provider of
mezzio-tooling
installed in development it causes problem during deployment sincemezzio-tooling
is a development dependency.Summary
Since
mezzio-tooling
is mostly a dev dependency when it gets installed configuration is injected intoconfig/config.php
via itsConfigProvider
. Eg. creating a project thecomposer create-project mezzio/mezzio-skeleton <project-path>
way. This injected config provider then gets committed into code and when deploying the project withcomposer install --no-dev
themezzio-tooling
dependency is not installed since it is defined as development dependency.Current behavior
Causes project deployments with
composer install --no-dev
build step to break, sinde\Mezzio\Tooling\ConfigProvider
is not available.How to reproduce
composer create-project mezzio/mezzio-skeleton <project-path>
composer install --no-dev
Expected behavior
Not sure about this, how to resolve. The
ConfigProvider
in injected bylaminas-component-installer
atpost-package-install
. Need input on this.The text was updated successfully, but these errors were encountered: