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

Bit build should build dependency tree #2652

Closed
marcusfroling opened this issue May 7, 2020 · 4 comments
Closed

Bit build should build dependency tree #2652

marcusfroling opened this issue May 7, 2020 · 4 comments

Comments

@marcusfroling
Copy link

Description

Bit build should also build dependency tree. When working on multiple components, it is now necessary to build all components manually. E.g, say you have 3 components A,B and C. When modifying component A which has dependencies A->B->C, it is necessary to also manually build component B in order to have these changes in component C.

Describe the solution you'd like

When working on multiple components, running bit build should also build all components that are depending. This could be done by default or by having a flag, e.g --build-dependencies

@GiladShoham
Copy link
Member

@marcusfroling Thanks.
Right now it's in the compiler writer hand.
There is a flag the compiler can specify to tell bit to do this.
In the upcoming version, this build chain will be much smarter. we call it a network of components and we will provide many APIs to make the proper network build.

@marcusfroling
Copy link
Author

Thanks for the reply @GiladShoham , good to know you are working on improving the build chain.
Is there any date set for this version release? Also, is there any documentation on available flags for compilers?

@GiladShoham
Copy link
Member

GiladShoham commented May 10, 2020

There is no exact date. (I believe it will take few weeks, but can't guarantee)
You can track progress here - #2280
and here - https://github.com/teambit/bit/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22harmony+release+v1.0%22

If you want a sneak peek about the new way you can read more here -
https://github.com/teambit/bit/blob/harmony/main/src/extensions/flows/README.md
keep in mind that this is not yet finalized.

@itaymendel
Copy link
Contributor

We'll start rolling out v15 of Bit this week, please reach out to me privately on the public slack community for a sneak peek and getting early access to it.

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

No branches or pull requests

3 participants