mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
fd838a4280
Summary: In client-app/node_modules Lerna symlinks isomorphic-core to '../../'. When we copy everything over to our tmp directory when building, we copy over the relative symlink! Damn you lerna. We get around this by resolving the symlinks BEFORE copying and caching them in the installer task. Then the file copy always works. Also, for some reason the glob {absolute} param doesn't seem to work in the latest version. I'm manually creating an absolute path for the compile target since it's a bit more transparent what's happening anyway. Test Plan: `npm run build-client` Reviewers: spang, jerm, juan, halla Reviewed By: juan, halla Differential Revision: https://phab.nylas.com/D3988 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.js
script,
which in turn, calls lerna bootstrap