Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Detox monorepo management is outdated

Open noomorph opened this issue 1 year ago • 4 comments

Lerna 6 is not supported, and it's best to upgrade to npm or yarn workspaces + maybe some extra tools.

Besides, after the migration we'd need to update the CONTRIBUTING.md

noomorph avatar Jan 02 '24 12:01 noomorph

So, this will be partially mitigated by: https://github.com/wix/Detox/pull/4325 (updates to lerna 6, the last version which supports workspaces: false).

But the task still needs to be resolved in a full-fledged way.

noomorph avatar Jan 03 '24 18:01 noomorph

@noomorph what's left to be completed here? Could we open this as a different issue / rephrase?

d4vidi avatar Mar 11 '24 12:03 d4vidi

We still use an outdated Lerna (6 vs 8 current) in an extremely legacy fallback mode, and ideally we should move either to the latest Lerna, or to yarn workspaces. Maybe pnpm or something like that could work too.

noomorph avatar Mar 11 '24 12:03 noomorph