Skip to content
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

Spin out pantheon composer dependencies into their own project #382

Open
aweingarten opened this issue Apr 13, 2021 · 1 comment
Open

Spin out pantheon composer dependencies into their own project #382

aweingarten opened this issue Apr 13, 2021 · 1 comment

Comments

@aweingarten
Copy link
Contributor

Currently when you initialize a new site with terminus build tools, a composer.json is initialized with a LOT of plumbing in place that is pantheon specific. This makes it really hard for clients to maintain these and get future updates. What if pantheon adds or removes packages? Or changes the constraints? As a user I don't have a way to get those changes.

All non-scaffolding dependencies in composer.json should be moved into an independent project that can be included in the user's composer.json. By taking advantage of composer's recursive dependency structure we effectively gain the benefits of upstream workflow inside composer! This way user can opt in to update to the latest and great dev-build tool updates that we have.

@greg-1-anderson
Copy link
Member

This is not a goal of the original Build Tools design; you are intended to adopt the template project. Following the upstream is not always straightfoward.

In contrast, see the Integrated Composer template project, which is intended to be used as an upstream. In the future, the enhancement recommended in this issue will be done by adopting the Integrated Composer template project or a derivative thereof, and using that as the basis for new Build Tools projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants