Use monorepo (ref, ref) via npm/pnpm workspace, so that we can extract code into packages and reuse it across apps (server app, desktop app, across ui/api).
use pnpm instead of yarn to manage pacakges. Apart from gaining in the speed and disk space, Yarn actually isn't "right": it treats dependencies as installed packages, thus there has been a lot of "silent" errors. Fixed in this PR.
Several changes:
Before:
After:
pnpm
instead ofyarn
to manage pacakges. Apart from gaining in the speed and disk space, Yarn actually isn't "right": it treats dependencies as installed packages, thus there has been a lot of "silent" errors. Fixed in this PR.