Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Change dependency tree structure #65

Open
schickling opened this issue Mar 1, 2018 · 2 comments
Open

Change dependency tree structure #65

schickling opened this issue Mar 1, 2018 · 2 comments

Comments

@schickling
Copy link
Collaborator

The current dependency tree looks similar to this:

     +-------------+
     |             |
     | graphql-cli |
     |             |
     +------+------+
            ^
            |
 +----------+----------+
 |                     |
 | graphql-cli-prepare |
 |                     |
 +----------+----------+
            ^
            |
+-----------+------------+
|                        |
| graphql-binding-static |
|                        |
+------------------------+

This means for every change that's introduced in graphql-binding-static a new version of graphql-cli-prepare and graphql-cli needs to be released and installed in order to use the latest graphql-binding-static changes.

I'd like to change the dependency hierarchy in a way to "colocate" dynamic and static bindings (e.g. put prisma-binding next to the static binding generator for prisma).

Thoughts and idea on this are highly appreciated. 🎉

@danielkcz
Copy link

Just my two cents, but perhaps it could be a good candidate for a monorepo structure (eg. with lerna) and basically auto-deploy all packages when something changes so all of them have the same version and it's easy to track the compatibility. For example the Storybook is setup like that with its numerous addons (see npm).

@kbrandwijk
Copy link
Contributor

I'm not particularly a fan of monorepos, unless it's really, really tightly coupled (like multiple components of the same app), like in graphql-playground.

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

No branches or pull requests

3 participants