dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Isolate each app into separate git repositories

Open PaiJi opened this issue 1 year ago • 0 comments

What problem will this feature address?

When i work on https://github.com/Dokploy/dokploy/pull/421 , CI encountered some issues with TypeScript types, which were later found to be due to specific versions of @types/react and @types/react-dom. However, forcing a regeneration of pnpm-lock.yaml would break tests for other applications within the same workspace. In this case, app/dokploy's tests were affected.

I tried to upgrade only this dependency, but due to the nature of the workspace, all sub-project dependencies are intertwined. The CI still refused to work, so I had no choice but to add a resolutions in the package.json at the workspace root to force all dependencies to use specified versions. I feel this approach is quite problematic.

If our various projects are in separate git repositories, we can freely modify the dependencies of less critical projects without worrying about inadvertently breaking our most core and essential product.

Describe the solution you'd like

Isolate each app into separate git repositories

Describe alternatives you've considered

None.

Additional context

No response

PaiJi avatar Sep 09 '24 05:09 PaiJi