-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feature request: Migrate to NX for multiple applications structure #54
Comments
thank you very much! NX is very good. I don't know how many changes will happen, if time permits, i will try to. |
Yes, it'll be a breaking change for sure. If you intend to integrate NX, can you create another branch so that I can also contribute to? |
it is unlikely that if need releases a breaking change. I have a lot of work to do future, so i can't maintenance extra branches. can supported NX on the bases, maybe your write an inject script is also a pretty good choice. other ways is so hard to implement, i don't have too much energy. |
I'll start experiment with creating a lib called Perhaps we can create another repository called nx.alain? |
Sure, it's the best if you can create a basic project service for NX. and i have a few questions to ask.
|
I'm not sure how to answer the first question correctly. With npm, I suppose we still have multiple app folders, right? And it makes maintenance a little bit harder. |
Hi, I haven't heard about lerna before. Thank you for mentioning it. Just have been checking it out, it serves similar to NX. However, lerna is very general compare to NX, which serves only Angular based development. And it requires a lot of configuration (correct me if I'm wrong). It's not like NX, one command and we have it working nicely. Colmena directory structure is similar to NX, and under active development. NX has reach the stable release at 1.5.x. |
@xgenvn In fact, there's little configuration you have to do with lerna, just try it. Using lerna to manage projects, you can control the package version and quickly publish it to npm, thus you can update your packages in semver. and use packages in other apps, not only current project. It's flexible whereas you have to manage the directory structure by yourself like Colmena. You can use AFAIK, using Nx do save our time to manage directory structure and the time to create some basic files, but you can not control the package version. They are complementary。 I think it may be better if using both of them. |
Hi,
Thank you for the excellent work.
I found out that NX has been open-sourced recently, and we can manage multiple apps within one place.
Do you think it's a good idea to migrate the current structure to a shared convenience way?
I've done some works and try to migrate some from your code base, but I really want to know your opinion.
For example, currently many shared codes are from app
core
,utils
andshared
.We can try move this to a core app in nx, or even global
lib
, so we can reuse it later in many apps.Thanks.
The text was updated successfully, but these errors were encountered: