You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add a dependency to the project today, it needs to be installed in multiple places.
Instead, we should a way to install a protected dependency in one step using cli.
For that we could create a new library for the cli which installs dependencies as development dependency, then registers them as protected inside Strauss and finally launch Composer to install the dependency.
Then that library can be called from a script inside the composer.json file so the user will be able to add a protected dependency in one command.
Another approach we could explore is to add a new parameter into composer so then we can execute the library while still using a Composer command.
The text was updated successfully, but these errors were encountered:
After some reflection on this feature, it looks like reversing the system would be a good idea.
Instead of adding a parameter of a command to protect the library, it would make more sense to protect them by default and add a command to protection them when needed or for dev dependencies.
To add a dependency to the project today, it needs to be installed in multiple places.
Instead, we should a way to install a protected dependency in one step using cli.
For that we could create a new library for the cli which installs dependencies as development dependency, then registers them as protected inside Strauss and finally launch Composer to install the dependency.
Then that library can be called from a script inside the
composer.json
file so the user will be able to add a protected dependency in one command.Another approach we could explore is to add a new parameter into composer so then we can execute the library while still using a Composer command.
The text was updated successfully, but these errors were encountered: