-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
How about a monorepo 😄 #1044
Comments
@derberg i saw we need to implement the monorepo for this i would like to work on this. Please let know how should i go about this. |
@ayushnau for now it is proposal and a discussion |
ok @derberg |
Sounds good to me 🤙 |
Hey! would like to work on this issue, can i get it assigned? @derberg |
@ayushnau @Aryann15 are you folks still interested with helping here? did you have experience with introducing monorepo in the past? first step would be project refactor and migration of first package from https://github.com/asyncapi/generator-filters if you are interested working on it, please first share your plan before opening a PR |
Hi I would love to work on this issue. |
added to bounty:
any other questions? |
Questions:
|
Bounty Issue's service commentText labels: @asyncapi/bounty_team |
tbh I don't have any preference on what tool we choose. If we do npm workspaces, lerna or turborepo. Afaik you have experience with monorepo, so if you think turborepo is good investment, lets do it.
we still need to release Filters technically are a feature only for generator templates that run on Nunjucks engine. So template developer uses it in the way that they add filters package to dependencies and then adds module name to
afaik workflows from https://github.com/asyncapi/generator-filters can be dropped as they are all anyway pulled from
Not a strong requirement - just lemme know what options we have. Please also work closely with people from asyncapi/parser-js#963 as might be that best would be to have the same solution in both |
@AyushNautiyalDeveloper so, still interested? |
yeah Sure @derberg once you answer those question I will add short development guide. as required. |
I think we have twins here 😄 |
btw, my answers are above |
@ayushnau ok, please go ahead, the issue is yours |
ok thanks will start working on this then. |
Bounty Issue's Timeline
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better.Keep in mind the responsibility for violations of the Timeline. |
Comparison of Repository Management Tools
Adding a single repo will look like this
Question:
|
https://github.com/ayushnau/generator Added the @asyncapi/generator-filters repo And For git history It is possible to maintain the history of every repo merged into one. As i have done with this current repo. @derberg |
can you specify what is the goal of https://github.com/ayushnau/generator ? just for testing?
we keep the name for now, is that a blocker? all additional stuff we will move to
thanks for great comparizon. Turborepo indeed looks interesting. Also notices even nodejs started using it https://github.com/nodejs/nodejs.org |
@ayushnau I noticed you closed the PR, all good? what's the plan? |
@derberg I am getting an issue with running test command. Solution: '^nimma/legacy$': '<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js',
'^nimma/(.*)': '<rootDir>/node_modules/nimma/dist/cjs/$1', to correct directory. |
yup, go ahead 😀 |
@aeworxet adding |
fyi, the implementation of the issue is delayed a bit as I was out for a couple of weeks for conference and holidays - so could not review, and there was noone else who could |
not yet completed, we need new release pipeline and move into project one more app |
@derberg can we mark this issue completed |
@aeworxet bounty scope completed. I'm not closing the issue as there is still a need to move hooks into generator - but that was not part of bounty scope |
After a delay that was beyond the control of the Bounty Program Participant Bounty Issue Completed 🎉@ayushnau, please go to the AsyncAPI page on Open Collective and submit an invoice for |
Current state
This granularity is technically possible so templated development is flexible.
But the fact that we make it possible for others, to easily create private, independent and use case specific templates doesn't mean we should have this level of granularity in asyncapi GH org
Proposal - discussion
How about we turn
generator
into a monorepo?generator-react-sdk
- not a separate npm package, just natively part of generatorgenerator-filters
andgenerator-hooks
also natively a part of generator (we still want to enable people to provide theirs independently)Why
generator-react-sdk
as separate package is kinda confusing and in general my impression is that motivation for having it as a separate package was that then it can be written in TS@asyncapi/*-template
to the monorepo. But I think many would, as having it in our repo, with multiple maintainers/champions (yeah, we would have champion like setup like in modelina) would make it easier and quicker to reuse solutions from other templates, filters, components and other stuff. Under one repo it would be easier to focus or reusability and good standards (like always using modelina for models generation)We would still be flexible, independent templates would be possible, hooks and filters too.
Having all under one umbrella would make generator a more vibrant project, more actively developed and visible.
wdyt?
any disadvantages that I do not see?
The text was updated successfully, but these errors were encountered: