-
Notifications
You must be signed in to change notification settings - Fork 1
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
Convert to full monorepo setup #459
Convert to full monorepo setup #459
Conversation
- generate:metadata - generate:openapi - generate:types
- Move services/*/scripts to scripts/<service> - Move k6 tests to new app/<service> - Unify Jest config and fix unit tests
Looks like all CI is green (the pending ones I believe are artifacts from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments, but in general looks good.
- Reviewed all changes
- Did NOT run locally
Are we certain we want to move forward with this right now? It doesn’t introduce any new features, and there’s a chance it could lead to disorder or additional bugs and issues. Especially if we put a pause, we might end up leaving things worse off. |
Yes. A lot of the work coming up is hardening, and this reduces the number of updates in multiple places reducing the bug chances for that work. |
Sounds good. Thanks for answering my question. |
Co-authored-by: Wil Wade <wil.wade@amplica.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Read through all files changes
- Tested containers with SAT 🚀
- Nice work! Say goodbye to redundant code soon!
🚢 it!
- make sure all relevant npm scripts are ported to top-level - reorganize repo docs (not published docs) - exclude generated files from lint & formatting - get rid of old 'services' directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Only read the code
Looks good just added some questions.
This PR reconfigures the repo as a true monorepo, instead of a repo of [essentially] sub-repos (which was how it began life). It uses the NestJS monorepo configuration. All apps are first-class citizens under
apps/
and all original libraries for each service are underlibs/<service-name>-lib
. The imports have all been adjusted to compile & run with sources in the new locations.Also included in this PR:
No code refactoring is part of this PR; that will come after this is merged.