jstack icon indicating copy to clipboard operation
jstack copied to clipboard

Monorepo compatibility?

Open j-fdion opened this issue 10 months ago • 5 comments

Does jstack supports monorepos? I have multiple apps that needs the same backend, and I'm curious to know if it is something that I could do with jstack.

j-fdion avatar Feb 08 '25 16:02 j-fdion

@joschan21 support for monorepo will be interesting.

im-Kazmi avatar Feb 10 '25 14:02 im-Kazmi

Its not that difficult to implement yourself, but having an official jstack monorepo / boilerplate is not a bad idea.

ishakdeveloper avatar Feb 13 '25 21:02 ishakdeveloper

Its not that difficult to implement yourself, but having an official jstack monorepo / boilerplate is not a bad idea.

Basically, I just need another copy of the app directory right?

j-fdion avatar Feb 16 '25 01:02 j-fdion

Its not that difficult to implement yourself, but having an official jstack monorepo / boilerplate is not a bad idea.

Basically, I just need another copy of the app directory right?

And moving those major packages to packages directory like trpc, ts configs, and hono in case you building a mobile app or just anything you want to work with them.

im-Kazmi avatar Feb 18 '25 15:02 im-Kazmi

This is something I am playing with in my new portfolio project. I want to see if I can make the jstack api part (server folder) its own package/app so that it deploys separately. If I get it working, and it runs smoothly, I will happily create a nice little part of the CLI in a PR for this. It is a bit harder than I anticipated, as it mostly relies on using either nextjs as the thing running said api, or cloudflare workers/wrangler. So I am trying to make sure it works on both before I create anything to help people use it themselves.

jcodog avatar Oct 29 '25 13:10 jcodog