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

Improve monorepo support so it requires less manual configuration #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ethan-Arrowood
Copy link
Contributor

@Ethan-Arrowood Ethan-Arrowood commented Nov 23, 2024

Previously, monorepo support required some configuration workarounds.

With this PR, the configuration is streamlined and it is easier to deploy a Next.js app within a monorepo to HarperDB

Tested manually with both Nx and Turbo

Copy link
Member

@kriszyp kriszyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly, the underlying assumption here is that the component path points to the specific app within the repo that should be run. However, this seems problematic for deployment. I would assume that the whole monorepo needs to be deployed to any HDB server that will be hosting/serving even one app, so any shared sub-repos are accessible. Perhaps an improved monorepo experience would be supporting an indication of which folder(s) of the app within a monorepo that should be started as a next app?
Or alternately is there an improved experience in using the pre-built app?

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

Successfully merging this pull request may close these issues.

2 participants